Assume you have a macro with few input parameters, and you want to display a message (passed as parameter) inside macro. What is the best practice to do this?
Example
\define myMacro(a, b, msg)
some wikitext script
...
..
You need to display the message here: $msg$
...
some more wikitext script
\end
You have different options
- use text substitution
$msg$
- wikifying uaing
<<__msg__>>
- using text widget
<$text text=<<__msg__>> />
- using transclude widget
<$transclude tiddler=<<__msg__>> field=title />
- …
How do you display the message inside macro, passes as input parameter?