Test cases make it MUCH easier to provide help!
Here's the problem:
1) Your macro handler function incorrectly declares only 5 arguments
rather than 6, omitting the 'tiddler' argument:
function(place,macroName,params,wikifier,paramString,tiddler)
2) wikify() has *four* parameters:
wikify(content,place,highlight,tiddler)
where:
'content' is the wiki text to be rendered
'place' is the DOM element in which to render the output
'highlight' is a regular expression pattern (used to highlight
search terms)
'tiddler' is the current tiddler (i.e., the one in which the
macro is embedded)
For most simple uses of wikify(), you can omit the highlight and
tiddler parameters. However... if the content you are rendering
includes any macros that rely upon the current tiddler context (e.g.,
the <<edit fieldname>> macro that you have embedded in the
"WorkHeader" content), then the tiddler param is NEEDED in order to
resolve the fieldname reference properly.
Thus... to fix your problem:
A) add the "tiddler" param to the handler declaration
and
B) use wikify(text,place,null,tiddler) when rendering your macro's
output.