Difference between revisions of "Template:Xpdn"
From Kalypso
(Die Seite wurde neu angelegt: „{{<code>{{{subst|}}}{{{1}}}</code>{{<code>{{{subst|}}}{{{2}}}</code>}}<code>{{{3|}}}</code>}} {{{{{subst|}}}#ifeq: {{{s|+}}}|{{{s|-}}}|{{{s…“) |
Latest revision as of 10:41, 22 June 2012
{{{{{1}}}
{{{{{2}}}
}}}} gives {{{{{1}}}{{{{{2}}}}}}}
- Usage:
{{Xpdn|outer-left|inner|outer-right|s=separator}}
- The default separator is "gives", use e.g. s== for "=". The second parameter has to specified and can't be empty, compare m:Template:evaldemo. With optional substitution subst=subst: the first parameter also can't be empty.
- Example:
{{Xpdn|#expr:|CURRENTTIMESTAMP| mod 100}}
gives- "{{
#expr:
{{CURRENTTIMESTAMP
}}mod 100
}} gives 20"