Difference between revisions of "Template:High-use"

From Chevy Wiki
Jump to navigation Jump to search
m (1 revision)
 
m (1 revision)
 
Line 1: Line 1:
<span title="Representation in the International Phonetic Alphabet (IPA)" class="IPA">{{{1}}}</span><noinclude>
{{ombox
{{documentation}}
| type = content
| text = '''This template is used on [[Special:MostLinkedTemplates|{{#if:{{{1|}}}|{{{1}}}|many}} pages]].''' <br> To avoid any disruptions and to save some server load, any changes should first be tested in this template's [[{{NAMESPACE}}:{{BASEPAGENAME}}/sandbox|/sandbox]] or [[{{NAMESPACE}}:{{BASEPAGENAME}}/testcases|/testcases]] subpage, or in your own [[Wikipedia:Sub-pages#How to create user subpages|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.
}}<noinclude>
 
{{Documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 14:55, 3 February 2009

[edit] Template-info.svg Template documentation

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

It is meant to be put at the top of the documentation for the most high-use (high-risk) templates.

Note! It is normal that some of the links in the message box are red.

Usage

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

  • First parameter is the number of pages. See Special:MostLinkedTemplates to find out how many pages use your template. If your template is not listed on the first or second page there, then you probably should not use this message box.
  • Second parameter is the name of some other talk page if you want discussion to be made there instead. A better option might be to redirect the talkpage of your template to that other talkpage.

Here are some examples:

{{high-use| 300,000+ | Wikipedia talk:High-risk templates }}
{{high-use| 300,000+ }}
{{high-use| | Wikipedia talk:High-risk templates }}

When this template is placed on a template's /doc page it can be nice to put it within <includeonly> tags so it only gets visible on the template page. The full code for a /doc page top then can look like this:

{{Documentation subpage}}
<includeonly>{{high-use| 300,000+ }}</includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

Technical details

The /sandbox and /testcases links are the standard names for such subpages. If those pages are created then the green /doc box for the template will detect them and link to them in its heading. For instance see the top of this documentation.

See also

cs:Šablona:Tisíckrát dsb:Pśedłoga:Cesto wužywana eo:Ŝablono:Ofte uzata hsb:Předłoha:Často wužiwana ja:Template:使用箇所の多いテンプレート ru:Template:СИШ