Anonymous user
Template:Template parameter usage: Difference between revisions
Added missing "lc" parameters; added optional "based" parameter to add text "based on this[/its] TemplateData" at end of template
m (17 revisions imported from wikipedia:Template:Template_parameter_usage) |
(Added missing "lc" parameters; added optional "based" parameter to add text "based on this[/its] TemplateData" at end of template) |
||
Line 1:
{{#switch:{{{label|}}}
|=
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}}
|#default=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template={{Urlencode:{{#if:{{{1|}}}|{{ROOTPAGENAME:{{{1|}}}}}|{{ROOTPAGENAME}}}}}} {{{label|}}}]{{#ifeq:{{yesno-no|{{{based}}}}}|yes| based on {{#if:{{{1|}}}|its|this}} TemplateData}}
}}<noinclude>
{{documentation}}
|