Jump to content

Template:Xpd0/doc

From wikiNonStop
Revision as of 09:40, 17 April 2026 by Majestix (talk | contribs) (Created page with "{{Documentation subpage}} Expanding demo for a template without parameters, or a parser function with colon and part after the colon, or a variable. This is a simplified version of {{tim|xpdoc}}, for the case that there is no wikitext after the closing braces. Examples: *{{xpd0|tc}} *{{xpd0|d=|tc}} *{{xpd0|msgnw:tc}} *{{xpd0|#expr:2*3}} *{{xpd0|CURRENTTIME}} <!-- template categories and interwiki links --> <includeonly> </includeonly>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Expanding demo for a template without parameters, or a parser function with colon and part after the colon, or a variable.

This is a simplified version of m:Template:xpdoc, for the case that there is no wikitext after the closing braces.

Examples:

  • "{{tc}}" gives "in" [1]
  • {{tc}} gives in [2]
  • "{{msgnw:tc}}" gives "in<noinclude>[[Category:Demo templates|{{PAGENAME}}]]</noinclude>" [3]
  • "{{#expr:2*3}}" gives "6" [4]
  • "{{CURRENTTIME}}" gives "10:31" [5]