Template:Xpdn: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 11: Line 11:
*[[Template:Xpd]]
*[[Template:Xpd]]
Category:Handbook templates|{{PAGENAME}}
Category:Handbook templates|{{PAGENAME}}
</noinclude>
<noinclude>
[[Category:X]]
</noinclude>
</noinclude>

Latest revision as of 15:23, 16 June 2014

{{{{{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 (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 9

"

See also

Category:Handbook templates|Xpdn