Template:Template parameter usage: Difference between revisions

From LPFM Wiki
Jump to navigation Jump to search
en>SUM1
(Added missing "lc" parameters; added optional "based" parameter to add text "based on this[/its] TemplateData" at end of template)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 10:56, 30 July 2022

{{#switch:

|=[https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=%7B%7B%23if%3A%7C%7CTemplate+parameter+usage%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: {{{based}}}

|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%7CTemplate+parameter+usage%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: {{{based}}}

|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%7CTemplate+parameter+usage%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:Template parameter usage}}{{#ifeq:{{safesubst:#switch: {{{based}}}

|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: {{{based}}}
|no
|n
|false
|0        = no
|         = no
|¬        = no
|yes
|y
|true
|1        = yes
|#default = no

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

Template documentation