Question
I am still a beginner in Twiki stuff, and i am just wondering is there a way to create our own variable in the topic which can have some parameters like:
* Set BOLD{sometext} = *%sometext%*
%BOLD{text}%
in order to give a bold version of sometext
Many thanks
Environment
--
TommyMartin - 13 Jul 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
At this time, TWiki does not support macro type of use for variables. You can however achieve this with
ParameterizedIncludes, where you can do stuff like
%INCLUDE{ "BOLD" value="some text"}%. See
VarINCLUDE.
--
PeterThoeny - 13 Jul 2007