Template:High-use/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Tlustulimu
m interwiki
meta>Davidgothberg
Updating the doc since the most high-use template should now use {{high-risk}} instead.
Line 4: Line 4:
This is the {{tl|high-use}} message box.
This is the {{tl|high-use}} message box.


It is meant to be put at the top of the documentation for the most high-use (high-risk) templates.
It is meant to be put at the top of the documentation for templates used on 2000 - 100,000 pages.
 
For templates used on 100,000 pages or more we instead recommend using {{tl|high-risk}} which has a stronger wording.


'''Note!''' It is normal that some of the links in the message box are red.  
'''Note!''' It is normal that some of the links in the message box are red.  
Line 11: Line 13:


The template can be used as is. But it can also take some parameters:  
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.
* First parameter is the number of pages. See [[Special:MostLinkedTemplates]] to find out how many pages use your template.
* 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.
* 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:
Here are some examples:


<pre>
<pre>
{{high-use| 300,000+ | Wikipedia talk:High-risk templates }}
{{high-use| 40,000+ | Wikipedia talk:High-risk templates }}
</pre>
</pre>


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


<pre>
<pre>
{{high-use| 300,000+ }}
{{high-use| 40,000+ }}
</pre>
</pre>


{{high-use| 300,000+ }}
{{high-use| 40,000+ }}


<pre>
<pre>
Line 38: Line 40:
<pre>
<pre>
{{Documentation subpage}}
{{Documentation subpage}}
<includeonly>{{high-use| 300,000+ }}</includeonly>
<includeonly>{{high-use| 40,000+ }}</includeonly>
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
</pre>
</pre>
Line 48: Line 50:
=== See also ===
=== See also ===


* {{tl|high-risk}} – For the most high-use (high-risk) templates.
* {{tl|intricate template}}
* {{tl|intricate template}}
* [[Wikipedia:Template test cases]]
* [[Wikipedia:Template test cases]]
Line 57: Line 60:
[[Category:Template namespace templates|{{PAGENAME}}]]
[[Category:Template namespace templates|{{PAGENAME}}]]


[[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:СИШ]]
</includeonly>
</includeonly>

Revision as of 22:54, 11 February 2009

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

It is meant to be put at the top of the documentation for templates used on 2000 - 100,000 pages.

For templates used on 100,000 pages or more we instead recommend using {{high-risk}} which has a stronger wording.

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.
  • 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-use| 40,000+ | Wikipedia talk:High-risk templates }}
{{high-use| 40,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| 40,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