Simple macro:

(Check to make sure that links contain employee number)

${name} update delete

Using dojoAttachEvent, dojoAttachPoint

XXXXXX

Extending another widget

HideButton2 extends HideButton (above) and changes the template (but keeps the onclick handler).

YYYYYY

Something more complicated:

thinger blah stuff ${foo}

baz thud