Template:TemplateData header: Difference between revisions

From LPFM Wiki
Jump to navigation Jump to search
en>SUM1
(Added "based" parameter to other transclusion)
(No difference)

Revision as of 21:32, 29 August 2021

{{#if:|{{#switch:
|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CTemplateData+header%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|false
|0        = no
|         = no
|¬        = no
|yes
|y
|true
|1        = yes
|#default = no

}}|no|C|c}}lick here] to see a monthly parameter usage report for {{#if:|[[Template:]]|this template}}{{#ifeq:{{safesubst:#switch: y

|no
|n
|false
|0        = no
|         = no
|¬        = no
|yes
|y
|true
|1        = yes
|#default = no

}}|yes| based on {{#if:|its|this}} TemplateData}}.

|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%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:|its|this}} TemplateData}}

|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%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:|[[Template:]]|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:|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:|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%3A%7C%7CTemplateData+header%7D%7D {{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|false
|0        = no
|         = no
|¬        = no
|yes
|y
|true
|1        = yes
|#default = no

}}|no|C|c}}lick here] to see a monthly parameter usage report for {{#if:|[[Template:]]|this template}}{{#ifeq:{{safesubst:#switch: y

|no
|n
|false
|0        = no
|         = no
|¬        = no
|yes
|y
|true
|1        = yes
|#default = no

}}|yes| based on {{#if:|its|this}} TemplateData}}.

|None|none=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%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:|its|this}} TemplateData}}

|for|For=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%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:|[[Template:]]|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:|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:|its|this}} TemplateData}} }}}}

TemplateData for TemplateData header

Template documentation