Changes

Jump to navigation Jump to search
4,148 bytes added ,  08:17, 14 August 2019
Updating to match new version of source page
<noinclude>
<languages/>
</noinclude>{{#switch:
| =
{{ombox
| type = content
| image = [[File:OOjs UI icon alert-warning.svg|40px|alt=]]
| imageright =
| text = '''この{{#switch:{{NAMESPACE}}|Module=&#32;Lua モジュール|#default=テンプレート}}は、<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}}}}}&#32;|膨大な数の}}ページ]</span>で使用されています。'''<br />
大規模な崩壊や不要なサーバー負荷を回避するため、この{{#switch:{{NAMESPACE}}|Module=モジュール|#default=テンプレート}}のいかなる変更も、前もって下位ページ [[{{#switch:{{SUBPAGENAME}}|doc|sandbox={{SUBJECTSPACE}}:{{BASEPAGENAME}}|#default={{SUBJECTPAGENAME}}}}/sandbox|/サンドボックス]]、[[{{#switch:{{SUBPAGENAME}}|doc|sandbox={{SUBJECTSPACE}}:{{BASEPAGENAME}}|#default={{SUBJECTPAGENAME}}}}/testcases|/テストケース]]{{#switch:{{NAMESPACE}}|Module=、|#default=、ご自身の[[:ja:Help:サブページ|利用者下位ページ]]、}}のいずれかでテストすべきです。
テスト済みの変更であれば、このページに一度の編集で追加できます。
いかなる変更も、実装する前に{{#if:{{{2|}}}|&#32;[[{{trim|{{{2}}}}}]] で|トークページで}}議論することをご検討ください。
}}
| #default=
{{#invoke:Template translation|renderTranslatedTemplate|template=Template:High-risk|noshift=1|uselang={{int:lang}}}}
}}<noinclude>
{{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.

'''''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 [[Wikipedia:Database reports/Templates transcluded on the most pages]] (archived) or [[toollabs:templatecount/]] to find out how many pages use the 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.

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

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

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

{{high-risk| 300,000+ }}

<pre>
{{high-risk| | Wikipedia talk:High-risk templates }}
</pre>

{{high-risk| | Wikipedia talk:High-risk templates }}

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

<pre>
{{documentation subpage}}
<!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). -->
{{high-risk| 300,000+ }}
</pre>

=== Technical details ===
The [[{{translatable}}/sandbox|/sandbox]] and [[{{translatable}}/testcases|/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 ===
* {{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|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.
* [[Wikipedia:High-risk templates]]
* [[Wikipedia:Template sandbox and test cases]]

}}
<!-- Add categories to the /doc subpage; interwikis go to Wikidata, thank you! -->
</noinclude>
Anonymous user

Navigation menu