This is a stripped-down version of a single section of Grok TiddlyWiki, optimized for fast loading and readability by search engines. Some features are missing.
For the full Grok TiddlyWiki experience, please visit the wiki version of this page.
Rewrite the example in The $macrocall
widget can take variables as parameters to call a macro animalLinkText
to get the value of the linkText
parameter to the wikipediaLink
macro. In other words, replace the <<linktext>>
variable that's currently there with a macro.
The animalLinkText
macro should take a letter as a parameter and output the text An animal which begins with {LETTER}
, where {LETTER}
is the parameter passed. Update the example to display the appropriate link text for each of the three animals.