Difference between revisions of "Template:High-use"
From MINR.ORG WIKI
(noinclude must follow "real" template code directly, without intervening spaces or line breaks) |
Rickyboy320 (talk | contribs) m (68 revisions imported: Imported Category TOC from wikipedia) |
||
(5 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Ombox |
− | | type = style | + | | type = style |
− | | image = [[File:Ambox warning yellow.svg|40px|alt=]] | + | | image = [[File:Ambox warning yellow.svg|40px|alt=Warning|link=]] |
− | + | | text = | |
− | | text = | + | '''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:{{ |
− | '''This {{ | ||
− | #switch:{{NAMESPACE}} | ||
− | |Module=Lua module | ||
− | |#default=template | ||
− | }} is used on | ||
#switch: {{SUBPAGENAME}} | #switch: {{SUBPAGENAME}} | ||
| doc | sandbox = {{BASEPAGENAME}} | | doc | sandbox = {{BASEPAGENAME}} | ||
| #default = {{PAGENAME}} | | #default = {{PAGENAME}} | ||
− | }}}} {{# | + | }}}} {{High-use/num|1={{formatnum:{{#ifeq:{{str endswith|{{{1}}}|+}}|yes|{{str crop|{{{1}}}|1}}|{{{1}}}}}|R}}}} 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 24: | Line 19: | ||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
− | <!-- Add categories | + | <!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! --> |
</noinclude> | </noinclude> |
Latest revision as of 18:55, 11 August 2017
This template is used on Template:High-use/num 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. |