Difference between revisions of "Template:High-use"

From Timelines
Jump to: navigation, search
(change to inherit from {{caution}} (no change to appearance, but will inherit the image alt & link, and any future semantic information, etc associated with the caution template))
m (update)
 
(40 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{caution|1=
+
{{Ombox
'''This template is used on [[Wikipedia:Database reports/Templates with the most transclusions|{{#if:{{{1|}}}|{{{1}}}|many}} pages]]''', and changes to it will be widely noticed. Please test any changes in the template's [[{{#ifeq:{{SUBPAGENAME}}|doc| {{SUBJECTSPACE}}:{{BASEPAGENAME}} | {{SUBJECTPAGENAME}} }}/sandbox|/sandbox]] or [[{{#ifeq:{{SUBPAGENAME}}|doc| {{SUBJECTSPACE}}:{{BASEPAGENAME}} | {{SUBJECTPAGENAME}} }}/testcases|/testcases]] subpages, or in a [[Wikipedia:Subpages#How to create user subpages|user subpage]], and consider discussing changes at {{#if:{{{2|}}}|[[{{{2}}}]]|the [[{{#ifeq:{{SUBPAGENAME}}|doc| {{TALKSPACE}}:{{BASEPAGENAME}} | {{TALKPAGENAME}} }}|talk page]]}} before implementing them.
+
| type  = style
 +
| image = [[File:Ambox warning yellow.svg|40px|alt=|link=]]
 +
| 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:{{
 +
#switch: {{SUBPAGENAME}}
 +
| doc | sandbox = {{BASEPAGENAME}}
 +
| #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}}
 +
    | #default =      {{SUBJECTPAGENAME}}
 +
  }}/sandbox|/sandbox]] or [[{{#switch: {{SUBPAGENAME}}
 +
    | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
 +
    | #default =      {{SUBJECTPAGENAME}}
 +
  }}/testcases|/testcases]] subpages{{#switch:{{NAMESPACE}}|Module=.|#default=, or in your own [[Wikipedia:Subpages#How to create user subpages|user subpage]].}} Please consider discussing changes {{#if:{{{2|}}}|at [[{{{2}}}]]|on the [[{{#switch: {{SUBPAGENAME}}
 +
    | doc | sandbox = {{TALKSPACE}}:{{BASEPAGENAME}}
 +
    | #default =      {{TALKPAGENAME}}
 +
  }}|talk page]]}} before implementing them.
 
}}<noinclude>
 
}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
+
<!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 19:21, 1 December 2016

Template documentation[create]