Difference between revisions of "Template:High-use"

From Timelines
Jump to: navigation, search
(Reverted edits by Gurchzilla to last version by David (me). No, {{ombox}} is not ready for use. And you broke several things, the if-statement is needed so the first parameter can be empty.)
m (update)
 
(58 intermediate revisions by 34 users not shown)
Line 1: Line 1:
<table class="messagebox" style="border: 1px solid #f28500;">
+
{{Ombox
<tr><td>[[Image:Ambox content.png|40x40px]]
+
| type  = style
<td>'''This template is used on [[Special:MostLinkedTemplates|{{#if:{{{1|}}}|{{{1}}}|many}} pages]]''' <br> To avoid any disruptions and to save server load, any changes should first be tested in this template's [[/sandbox]] or [[/testcases]] subpage, or in your own [[Special:Mypage/Test1|user space]]. The tested changes can then be added in one single edit to this template. As a courtesy to other users, please discuss any changes at {{#if:{{{2|}}}|[[{{{2}}}]]|the [[{{TALKPAGENAME}}|talk page]]}} before implementing them.
+
| image = [[File:Ambox warning yellow.svg|40px|alt=|link=]]
</table><noinclude>
+
| 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:{{
<!-- {{pp-template|small=yes}} -->
+
#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>
 
{{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 18:21, 1 December 2016

Template documentation[create]