Template:Xpdn: Difference between revisions

From Bonkipedia
[[mw:]]>Shirayuki
mNo edit summary
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:05, 12 November 2022

{{{{{1}}}{{{{{2}}}}}}} {{{{{1}}}{{{{{2}}}}}}}


Usage:
{{Xpdn|outer-left|inner|outer-right|s=separator}}
The default separator is "", use e.g. s== for "=". The second parameter has to specified and can't be empty, compare m: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}} 34"