en

From Redazione
Jump to navigation Jump to search
m (1 revision imported)
(Updating to match new version of source page)
Line 7: Line 7:
 
| image = [[File:OOjs UI icon alert-warning.svg|40px|alt=]]
 
| image = [[File:OOjs UI icon alert-warning.svg|40px|alt=]]
 
| imageright =
 
| imageright =
| text = '''This {{#switch:{{NAMESPACE}}|Module=Lua module|#default=template}} is used on <span class="plainlinks">[https://tools.wmflabs.org/templatecount/index.php?lang=en&namespace={{NAMESPACENUMBER:{{FULLPAGENAME}}}}&name={{urlencode:{{#switch:{{SUBPAGENAME}}|doc|sandbox={{BASEPAGENAME}}|#default={{PAGENAME}} }}}} {{#if:{{{1|}}}|{{formatnum:{{{1}}}}}|a very large number of}} pages]</span>.'''<br />
+
| text = '''This {{#switch:{{NAMESPACE}}|Module=Lua module|#default=template}} is used on {{#if:{{{1|}}}|approximately {{formatnum:{{{1}}}}}|many}} pages.'''<br />
To avoid large-scale disruption and unnecessary server load, any changes to this {{#switch:{{NAMESPACE}}|Module=module|#default=template}} should first be tested in its [[{{#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=&#32;or in your own [[w:Wikipedia:Subpages#How to create user subpages|user subpage]].}}
+
To avoid large-scale disruption and unnecessary server load, any changes to this {{#switch:{{NAMESPACE}}|Module=module|#default=template}} should first be tested in its [[{{#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=&#32;or in your own [[Special:MyLanguage/Help:Subpages#Use of subpages|user subpage]].}}
 
The tested changes can then be added to this page in one single edit.
 
The tested changes can then be added to this page in one single edit.
 
Please consider discussing any changes {{#if:{{{2|}}}|at [[{{trim|{{{2}}}}}]]|on the [[{{#switch:{{SUBPAGENAME}}|doc|sandbox={{TALKSPACE}}:{{BASEPAGENAME}}|#default={{TALKPAGENAME}}}}|talk page]]}} before implementing them.
 
Please consider discussing any changes {{#if:{{{2|}}}|at [[{{trim|{{{2}}}}}]]|on the [[{{#switch:{{SUBPAGENAME}}|doc|sandbox={{TALKSPACE}}:{{BASEPAGENAME}}|#default={{TALKPAGENAME}}}}|talk page]]}} before implementing them.
Line 17: Line 17:
 
{{Documentation|content=
 
{{Documentation|content=
  
This is the {{tl|high-risk}} message box. It is meant to be put at the top of the documentation page on the most high-use (high-risk) templates and Lua modules (the template detects the name space), i.e., for templates used on 100,000 pages or more. For templates used on 2,000–100,000 pages, it is recommended to use the {{tl|high-use}} template instead, which has a softer wording.
+
This is the {{tl|high-risk}} message box. It is meant to be put at the top of the documentation page on the most high-use (high-risk) templates and Lua modules (the template detects the name space), i.e., for templates used on a large number of pages
  
 
'''''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 23: Line 23:
 
=== Usage ===
 
=== Usage ===
 
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 [[Wikipedia:Database reports/Templates transcluded on the most pages]] (archived) or [[toollabs:templatecount/]] to find out how many pages use the template.
+
* First parameter is the number of pages.  
 
* 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.
 
* 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.
  
 
===Examples===
 
===Examples===
 
<pre>
 
<pre>
{{high-risk| 300,000+ | Wikipedia talk:High-risk templates }}
+
{{high-risk| 30,000+ | Project:Current issues}}
 
</pre>
 
</pre>
  
{{high-risk| 300,000+ | Wikipedia talk:High-risk templates }}
+
{{high-risk| 30,000+ | Project:Current issues}}
  
 
<pre>
 
<pre>
{{high-risk| 300,000+ }}
+
{{high-risk| 30,000+ }}
 
</pre>
 
</pre>
  
{{high-risk| 300,000+ }}
+
{{high-risk| 30,000+ }}
  
 
<pre>
 
<pre>
{{high-risk| | Wikipedia talk:High-risk templates }}
+
{{high-risk| | Project:Current issues}}
 
</pre>
 
</pre>
  
{{high-risk| | Wikipedia talk:High-risk templates }}
+
{{high-risk| | Project:Current issues}}
  
 
The full code for a /doc page top may look like this:
 
The full code for a /doc page top may look like this:
Line 50: Line 50:
 
{{documentation subpage}}
 
{{documentation subpage}}
 
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
 
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
{{high-risk| 300,000+ }}
+
{{high-risk| 30,000+ }}
 
</pre>
 
</pre>
  
Line 57: Line 57:
  
 
=== See also ===
 
=== See also ===
* {{tl|high-risk}} – For the most high-use (high-risk) templates.
 
* {{tl|high-use}} – For the slightly less high-risk templates.
 
 
* {{tl|intricate template}} – For the intricate, i.e., complex templates.
 
* {{tl|intricate template}} – For the intricate, i.e., complex templates.
 
* {{tl|pp-template}} – The protection template that usually is put on high-risk templates.
 
* {{tl|pp-template}} – The protection template that usually is put on high-risk templates.
* {{tl|used in system}} – For templates used in the Wikipedia user interface.
+
* {{tl|used in system}} – For templates used in the user interface.
* [[Wikipedia:High-risk templates]]
 
* [[Wikipedia:Template sandbox and test cases]]
 
  
 
}}
 
}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
 
 
</noinclude>
 
</noinclude>

Revision as of 13:00, 6 May 2020

<languages/>

Lua error in Module:Autotranslate at line 72: No fallback page found for autotranslate (base=i18n, lang=⧼lang⧽).