Template:Xpdn

From AerialWiki
Revision as of 14:51, 6 September 2012 by Kwickert (talk | contribs) (Created page with "{{<code>{{{subst|}}}{{{1}}}</code>{{<code>{{{subst|}}}{{{2}}}</code>}}<code>{{{3|}}}</code>}} {{{{{subst|}}}#ifeq: {{{s|+}}}|{{{s|-}}}|{{{s}}}|{{{4|gives}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{{{{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 metawikipedia: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 53"