Difference between revisions of "Template:High-risk"

From Recidemia
Jump to: navigation, search
m (1 revision: 2)
m (1 revision)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
| type = content
 
| type = content
 
| text =  
 
| text =  
'''This template is used on [[Wikipedia:Database reports/Templates transcluded on the most pages|{{#if:{{{1|}}}|{{{1}}}|a very large number of}} pages]].'''<br />To avoid large-scale disruption and unnecessary server load, any changes should first be tested in this template's [[{{#ifeq:{{SUBPAGENAME}}|doc| {{SUBJECTSPACE}}:{{BASEPAGENAME}} | {{SUBJECTPAGENAME}} }}/sandbox|/sandbox]] or [[{{#ifeq:{{SUBPAGENAME}}|doc| {{SUBJECTSPACE}}:{{BASEPAGENAME}} | {{SUBJECTPAGENAME}} }}/testcases|/testcases]] subpage, or in your own [[Wikipedia:Subpages#How to create user subpages|user space]]. The tested changes can then be added in one single edit to this template. Please consider discussing any changes on {{#if:{{{2|}}}|[[{{{2}}}]]|the [[{{#ifeq:{{SUBPAGENAME}}|doc| {{TALKSPACE}}:{{BASEPAGENAME}} | {{TALKPAGENAME}} }}|talk page]]}} before implementing them.
+
'''This template is used on [[Wikipedia:Database reports/Templates transcluded on the most pages|{{#if:{{{1|}}}|{{{1}}}|a very large number of}} pages]].'''<br />To avoid large-scale disruption and unnecessary [[Load balancing (computing)|server load]], any changes to this template should first be tested in the template's [[{{#ifeq:{{SUBPAGENAME}}|doc| {{SUBJECTSPACE}}:{{BASEPAGENAME}} | {{SUBJECTPAGENAME}} }}/sandbox|/sandbox]] or [[{{#ifeq:{{SUBPAGENAME}}|doc| {{SUBJECTSPACE}}:{{BASEPAGENAME}} | {{SUBJECTPAGENAME}} }}/testcases|/testcases]] subpages, or in your own [[Wikipedia:Subpages#How to create user subpages|user space]]. The tested changes can then be added in one single edit to the template. Please consider discussing any changes on {{#if:{{{2|}}}|[[{{{2}}}]]|the [[{{#ifeq:{{SUBPAGENAME}}|doc| {{TALKSPACE}}:{{BASEPAGENAME}} | {{TALKPAGENAME}} }}|talk page]]}} before implementing them.
 
}}<noinclude>
 
}}<noinclude>
 
 
{{Documentation}}
 
{{Documentation}}
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
<!-- Add categories and interwikis to the /doc subpage, not here! -->
 
</noinclude>
 
</noinclude>

Latest revision as of 17:50, 15 May 2012

[edit] [history] [purge] Documentation icon Template documentation

This is the {{high-risk}} message box.

It is meant to be put at the top of the documentation for the most high-use (high-risk) templates. That is for templates used on 1,000 pages or more.

For templates used on 2000 - 1,000 pages we instead recommend using {{high-use}} which has a softer wording.

Usage

The template can be used as is. But it can also take some parameters:

  • First parameter is the number of pages. See tools:~dispenser/cgi-bin/embeddedincount.py to find out how many pages use a given template.
  • Second parameter is the name of some other talk page if you want discussion to be made there instead. But a better option might be to redirect the talkpage of your template to that other talkpage.

Here are some examples:

{{high-risk| 20,000+ | Wikibooks:Reading room/Technical Assistance }}
{{high-risk| 20,000+ }}
{{high-risk| | Wikibooks:Reading room/Technical Assistance }}

The full code for a /doc page top can look like this:

{{documentation subpage}}
{{high-risk| 20,000+ }}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

See also