Display output value easily
When you are building a gizmos sometimes there is a value that is so important that you want to display it on the node itself. For such thing you most likely would use the
node's label and type something like [value <knob_name>].
However, there's a simpler way to do that!​
​
Simply call the user knob "output" or "operation".
It would get automatically displayed in parentheses under the node's name.

You can use it on different kind of user knobs as long as you name them "output" or "operation".

You can even use both "output" and "operation" named knobs and both gets displayed.
The order however doesn't matter as the "operation" value will always be on top.

Is it an autolabel?
Yes, it is.
The function is in your <nuke>/plugins/autolabel.py and it defines how certain nodes display values in a parentheses under their names:


You can also set up autolabel yourself by setting a python code / function as a value to a hidden autolabel knob that every node has and it triggers a useful callback.
Fortunately for us, Andrea Geremia already wrote an excellent tutorial about this so I won't repeat him
( also including an super useful panel! ), so definitely check out his page.
Hope you will find it useful!
