Template:Xpd0
From TrainzOnline
|
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 Template:xpdoc, for the case that there is no wikitext after the closing braces.
Examples:
"{{{{#if:|Template:Xpd/wl|tc}}}}"
gives "Template:Tc" {{#ifeq:{{{gives}}}||||||}} [1]{{{{#if:|Template:Xpd/wl|tc}}}}
gives Template:Tc {{#ifeq:{{{gives}}}||||||}} [2]"{{{{#if:x|Template:Xpd/wl|tc}}}}"
gives "Template:Tc" {{#ifeq:{{{gives}}}||||||}} [3]"{{{{#if:|Template:Xpd/wl|msgnw:tc}}}}"
gives "[[:Template:Tc]]" {{#ifeq:{{{gives}}}||||||}} [4]"{{{{#if:|Template:Xpd/wl|#expr:2*3}}}}"
gives "{{#expr:2*3}}" {{#ifeq:{{{gives}}}||||||}} [5]"{{{{#if:|Template:Xpd/wl|CURRENTTIME}}}}"
gives "07:48" {{#ifeq:{{{gives}}}||||||}} [6]
This page has it's origination in the Wikimedia Foundation's development website Meta-wiki or has been exported and is now part of the newer Mediawiki software resources website for assisting new wikis with startup organization and has been copied according to the terms of the (CC-BY-SA-3.0), the GFDL standard GNU pulic license or the source file(s) is/are in the public domain.
|
---|