Template:Xpdn

From FORwiki

(Difference between revisions)
Jump to: navigation, search

Admin (Talk | contribs)
(Created page with '{{<code>{{{subst|}}}{{{1}}}</code>{{<small> </small><code>{{{subst|}}}{{{2}}}</code>}}<code>{{{3|}}}</code>}} {{{{{subst|}}}#ifeq: {{{s|+}}}|{{{s|-}}}|{{...')
Newer edit →

Revision as of 13:29, 7 October 2009

{{{{{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 (backlinks, edit)

. 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 30"
Personal tools