Template:Xpdn: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
(New page: <noinclude>{{hh}}</noinclude>{{<code>{{{subst|}}}{{{1}}}</code>{{<small> </small><code>{{{subst|}}}{{{2}}}</code>}}<code>{{{3|}}}</code>}} {{{{{subst|}}}#ifeq: {{{...)
 
No edit summary
Line 10: Line 10:
==See also==
==See also==
*[[Template:Xpd]]
*[[Template:Xpd]]
[[Category:Handbook templates|{{PAGENAME}}]]
Category:Handbook templates|{{PAGENAME}}
</noinclude>
</noinclude>

Revision as of 16:05, 8 March 2013

Template:Hh{{{{{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 40

"

See also

Category:Handbook templates|Xpdn