Template:TemplateData header: Difference between revisions
https://www.mediawiki.org/wiki/>Shirayuki Marked this version for translation |
https://en.wikipedia.org/wiki/>Gonnym fix website link if |1= is used |
||
Line 1: | Line 1: | ||
<div class="templatedata-header">{{#if:{{{noheader|}}}|<!-- | |||
noheader: | |||
-->{{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}|<!-- | |||
+header: | |||
<div class="templatedata-header" | -->This is the {{#if:{{{nolink|}}}|<!-- | ||
+header, nolink TD | |||
-->TemplateData|<!-- | |||
+header, +link [[TD]]; DEFAULT: | |||
-->[[Wikipedia:TemplateData|TemplateData]]}}<!-- | |||
e.o. #if:nolink; DEFAULT: | |||
--> for this template used by [[mw:Extension:TemplateWizard|TemplateWizard]], [[Wikipedia:VisualEditor|VisualEditor]] and other tools. {{Template parameter usage|{{{1|{{BASEPAGENAME}}}}}|based=y}}<!-- | |||
e.o. #if:noheader | |||
-->}} | -->}} | ||
'''{{{1|{{BASEPAGENAME}}}}}''' | '''TemplateData for {{{1|{{BASEPAGENAME}}}}}''' | ||
</div><includeonly> | </div><includeonly><!-- | ||
check parameters | |||
-->{{#invoke:Check for unknown parameters|check | |||
|unknown={{template other|1=[[Category:Pages using TemplateData header with unknown parameters|_VALUE_]]}} | |||
|template=Template:TemplateData header | |||
|1 |nolink |noheader | |||
|preview=<div class="error" style="font-weight:normal">Unknown parameter '_VALUE_' in [[Template:TemplateData header]].</div> | |||
}}<!-- | |||
-->{{template other|{{sandbox other|| | |||
[[Category:Templates using TemplateData]] | |||
< | }}}}</includeonly><!-- | ||
--><noinclude>{{Documentation}}</noinclude> | |||
}} | |||
</noinclude> |
Revision as of 04:27, 1 December 2023
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplateData+header%7CTemplateData+header%7CTemplateData+header%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:TemplateData header|Template:TemplateData header|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes| based on {{#if:TemplateData header|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplateData+header%7CTemplateData+header%7CTemplateData+header%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes| based on {{#if:TemplateData header|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplateData+header%7CTemplateData+header%7CTemplateData+header%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:TemplateData header|Template:TemplateData header|Template:TemplateData header}}{{#ifeq:{{safesubst:#switch: y
|no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes| based on {{#if:TemplateData header|its|this}} TemplateData}}.
|#default=[1]{{#ifeq:{{safesubst:#switch: y |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes| based on {{#if:TemplateData header|its|this}} TemplateData}} }}|This is the {{#if:|TemplateData|TemplateData}} for this template used by TemplateWizard, VisualEditor and other tools. {{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplateData+header%7CTemplateData+header%7CTemplateData+header%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|no|S|s}}ee a monthly parameter usage report] for {{#if:TemplateData header|Template:TemplateData header|this template}} in articles{{#ifeq:{{safesubst:#switch: y
|no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes| based on {{#if:TemplateData header|its|this}} TemplateData}}.
|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplateData+header%7CTemplateData+header%7CTemplateData+header%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|no|P|p}}arameter usage report]{{#ifeq:{{safesubst:#switch: y
|no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes| based on {{#if:TemplateData header|its|this}} TemplateData}}
|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3ATemplateData+header%7CTemplateData+header%7CTemplateData+header%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}} |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|no|P|p}}arameter usage report] for {{#if:TemplateData header|Template:TemplateData header|Template:TemplateData header}}{{#ifeq:{{safesubst:#switch: y
|no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes| based on {{#if:TemplateData header|its|this}} TemplateData}}.
|#default=[2]{{#ifeq:{{safesubst:#switch: y |no |n |false |0 = no | = no |¬ = no |yes |y |true |1 = yes |#default = no
}}|yes| based on {{#if:TemplateData header|its|this}} TemplateData}} }}}}
TemplateData for TemplateData header
Script error: The module returned a nil value. It is supposed to return an export table.{{#if:|
[[Category:Template documentation pages{{#translation:}}]] }}