Template:Xpdn

From TrainzOnline
Revision as of 14:12, 3 July 2013 by Fabartus (talk | contribs) (genesis, port unchanged from WikiMedia+cat w/{{Mediawiki} -- needs ParserFunctions to turn on)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump 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 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 2"