Template:High-use: Difference between revisions
From Guild of Archivists
m (make the switch statement actually do something) |
m (1 revision imported) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{ | {{Ombox | ||
| type = style | | type = style | ||
| image = [[ | | image = [[Image:Ambox warning yellow.svg|40px|alt=|link=]] | ||
| text = | | text = | ||
'''This {{#switch:{{NAMESPACE}}|Module=Lua module|#default=template}} is used on [ | '''This {{#switch:{{NAMESPACE}}|Module=Lua module|#default=template}} is used on [https://tools.wmflabs.org/templatecount/index.php?lang=en&namespace={{NAMESPACENUMBER:{{FULLPAGENAME}}}}&name={{urlencode:{{ | ||
#switch: {{SUBPAGENAME}} | |||
| doc | sandbox = {{BASEPAGENAME}} | |||
| #default = {{PAGENAME}} | |||
}}}} {{#if:{{{1|}}}|{{formatnum:{{{1}}}}}|many}} pages]''', so changes to it will be widely noticed. Please test any changes in the {{#switch:{{NAMESPACE}}|Module=module's|#default=template's}} [[{{#switch: {{SUBPAGENAME}} | |||
| doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}} | | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}} | ||
| #default = {{SUBJECTPAGENAME}} | | #default = {{SUBJECTPAGENAME}} | ||
Line 9: | Line 13: | ||
| doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}} | | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}} | ||
| #default = {{SUBJECTPAGENAME}} | | #default = {{SUBJECTPAGENAME}} | ||
}}/testcases|/testcases]] subpages, or in | }}/testcases|/testcases]] subpages{{#switch:{{NAMESPACE}}|Module=.|#default=, or in your own [[Wikipedia:Subpages#How to create user subpages|user subpage]].}} Please consider discussing changes on {{#if:{{{2|}}}|[[{{{2}}}]]|the [[{{#switch: {{SUBPAGENAME}} | ||
| doc | sandbox = {{TALKSPACE}}:{{BASEPAGENAME}} | | doc | sandbox = {{TALKSPACE}}:{{BASEPAGENAME}} | ||
| #default = {{TALKPAGENAME}} | | #default = {{TALKPAGENAME}} |
Latest revision as of 19:25, 28 January 2016
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |