Vorlage:High-risk/en
<languages/> {{#switch: | =
This {{#switch:Vorlage|Module=Lua module|#default=template}} is used on {{#if:|approximately {{{1}}}|many}} pages. To avoid large-scale disruption and unnecessary server load, any changes to this {{#switch:Vorlage|Module=module|#default=template}} should first be tested in its [[{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/sandbox|/sandbox]] or [[{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/testcases|/testcases]] subpages{{#switch:Vorlage|Module=.|#default= or in your own user subpage.}} The tested changes can then be added to this page in one single edit. Please consider discussing any changes {{#if:|at [[Vorlage:Trim]]|on the [[{{#switch:en|doc|sandbox=Vorlage Diskussion:High-risk|#default=Vorlage Diskussion:High-risk/en}}|talk page]]}} before implementing them. |
| #default=
{{#switch:
| =
This {{#switch:Vorlage|Module=Lua module|#default=template}} is used on {{#if:|approximately {{{1}}}|many}} pages. To avoid large-scale disruption and unnecessary server load, any changes to this {{#switch:Vorlage|Module=module|#default=template}} should first be tested in its [[{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/sandbox|/sandbox]] or [[{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/testcases|/testcases]] subpages{{#switch:Vorlage|Module=.|#default= or in your own user subpage.}} The tested changes can then be added to this page in one single edit. Please consider discussing any changes {{#if:|at [[Vorlage:Trim]]|on the [[{{#switch:en|doc|sandbox=Vorlage Diskussion:High-risk|#default=Vorlage Diskussion:High-risk/en}}|talk page]]}} before implementing them. |
| #default=
Lua-Fehler: expandTemplate: template loop detected
}} }} Lua-Fehler in Modul:TNT, Zeile 159: Missing JsonConfig extension; Cannot load https://commons.wikimedia.org/wiki/Data:I18n/Documentation.tab{{#if:This is the {{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.
Usage
The template can be used as is. But it can also take some parameters:
- 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.
Examples
{{high-risk| 30,000+ | Project:Current issues}}
{{#switch:<translate></translate> | =
<translate> This {{<tvar|1>#switch:Vorlage</>|<tvar|2>Module</>=Lua module|<tvar|3>#default</>=template}} is used on {{<tvar|4>#if: 30,000+ </>|approximately <tvar|5>30.000+</>|many}} pages.</translate> <translate> To avoid large-scale disruption and unnecessary server load, any changes to this {{<tvar|1>#switch:Vorlage</>|<tvar|2>Module</>=module|<tvar|3>#default</>=template}} should first be tested in its [[<tvar|4>{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/sandbox</>|/sandbox]] or [[<tvar|5>{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/testcases</>|/testcases]] subpages{{<tvar|6>#switch:Vorlage</>|<tvar|7>Module</>=.|<tvar|8>#default</>= or in your own [[<tvar|9>Special:MyLanguage/Help:Subpages#Use of subpages</>|user subpage]].}}</translate> <translate> The tested changes can then be added to this page in one single edit.</translate> <translate> Please consider discussing any changes {{<tvar|1>#if: Project:Current issues</>|at <tvar|2>[[Vorlage:Trim]]</>|on the [[<tvar|3>{{#switch:en|doc|sandbox=Vorlage Diskussion:High-risk|#default=Vorlage Diskussion:High-risk/en}}</>|talk page]]}} before implementing them.</translate> |
| #default=
{{#switch:
| =
This {{#switch:Vorlage|Module=Lua module|#default=template}} is used on {{#if: 30,000+ |approximately 30.000+|many}} pages. To avoid large-scale disruption and unnecessary server load, any changes to this {{#switch:Vorlage|Module=module|#default=template}} should first be tested in its [[{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/sandbox|/sandbox]] or [[{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/testcases|/testcases]] subpages{{#switch:Vorlage|Module=.|#default= or in your own user subpage.}} The tested changes can then be added to this page in one single edit. Please consider discussing any changes {{#if: Project:Current issues|at [[Vorlage:Trim]]|on the [[{{#switch:en|doc|sandbox=Vorlage Diskussion:High-risk|#default=Vorlage Diskussion:High-risk/en}}|talk page]]}} before implementing them. |
| #default=
Lua-Fehler: expandTemplate: template loop detected
}} }}
{{high-risk| 30,000+ }}
{{#switch:<translate></translate> | =
<translate> This {{<tvar|1>#switch:Vorlage</>|<tvar|2>Module</>=Lua module|<tvar|3>#default</>=template}} is used on {{<tvar|4>#if: 30,000+ </>|approximately <tvar|5>30.000+</>|many}} pages.</translate> <translate> To avoid large-scale disruption and unnecessary server load, any changes to this {{<tvar|1>#switch:Vorlage</>|<tvar|2>Module</>=module|<tvar|3>#default</>=template}} should first be tested in its [[<tvar|4>{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/sandbox</>|/sandbox]] or [[<tvar|5>{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/testcases</>|/testcases]] subpages{{<tvar|6>#switch:Vorlage</>|<tvar|7>Module</>=.|<tvar|8>#default</>= or in your own [[<tvar|9>Special:MyLanguage/Help:Subpages#Use of subpages</>|user subpage]].}}</translate> <translate> The tested changes can then be added to this page in one single edit.</translate> <translate> Please consider discussing any changes {{<tvar|1>#if:</>|at <tvar|2>[[Vorlage:Trim]]</>|on the [[<tvar|3>{{#switch:en|doc|sandbox=Vorlage Diskussion:High-risk|#default=Vorlage Diskussion:High-risk/en}}</>|talk page]]}} before implementing them.</translate> |
| #default=
{{#switch:
| =
This {{#switch:Vorlage|Module=Lua module|#default=template}} is used on {{#if: 30,000+ |approximately 30.000+|many}} pages. To avoid large-scale disruption and unnecessary server load, any changes to this {{#switch:Vorlage|Module=module|#default=template}} should first be tested in its [[{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/sandbox|/sandbox]] or [[{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/testcases|/testcases]] subpages{{#switch:Vorlage|Module=.|#default= or in your own user subpage.}} The tested changes can then be added to this page in one single edit. Please consider discussing any changes {{#if:|at [[Vorlage:Trim]]|on the [[{{#switch:en|doc|sandbox=Vorlage Diskussion:High-risk|#default=Vorlage Diskussion:High-risk/en}}|talk page]]}} before implementing them. |
| #default=
Lua-Fehler: expandTemplate: template loop detected
}} }}
{{high-risk| | Project:Current issues}}
{{#switch:<translate></translate> | =
<translate> This {{<tvar|1>#switch:Vorlage</>|<tvar|2>Module</>=Lua module|<tvar|3>#default</>=template}} is used on {{<tvar|4>#if: </>|approximately <tvar|5></>|many}} pages.</translate> <translate> To avoid large-scale disruption and unnecessary server load, any changes to this {{<tvar|1>#switch:Vorlage</>|<tvar|2>Module</>=module|<tvar|3>#default</>=template}} should first be tested in its [[<tvar|4>{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/sandbox</>|/sandbox]] or [[<tvar|5>{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/testcases</>|/testcases]] subpages{{<tvar|6>#switch:Vorlage</>|<tvar|7>Module</>=.|<tvar|8>#default</>= or in your own [[<tvar|9>Special:MyLanguage/Help:Subpages#Use of subpages</>|user subpage]].}}</translate> <translate> The tested changes can then be added to this page in one single edit.</translate> <translate> Please consider discussing any changes {{<tvar|1>#if: Project:Current issues</>|at <tvar|2>[[Vorlage:Trim]]</>|on the [[<tvar|3>{{#switch:en|doc|sandbox=Vorlage Diskussion:High-risk|#default=Vorlage Diskussion:High-risk/en}}</>|talk page]]}} before implementing them.</translate> |
| #default=
{{#switch:
| =
This {{#switch:Vorlage|Module=Lua module|#default=template}} is used on {{#if: |approximately |many}} pages. To avoid large-scale disruption and unnecessary server load, any changes to this {{#switch:Vorlage|Module=module|#default=template}} should first be tested in its [[{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/sandbox|/sandbox]] or [[{{#switch:en|doc|sandbox=Vorlage:High-risk|#default=Vorlage:High-risk/en}}/testcases|/testcases]] subpages{{#switch:Vorlage|Module=.|#default= or in your own user subpage.}} The tested changes can then be added to this page in one single edit. Please consider discussing any changes {{#if: Project:Current issues|at [[Vorlage:Trim]]|on the [[{{#switch:en|doc|sandbox=Vorlage Diskussion:High-risk|#default=Vorlage Diskussion:High-risk/en}}|talk page]]}} before implementing them. |
| #default=
Lua-Fehler: expandTemplate: template loop detected
}} }}
The full code for a /doc page top may look like this:
{{documentation subpage}} <!-- Categories go where indicated at the bottom of this page, please; interwikis go to Wikidata (see also: [[Wikipedia:Wikidata]]). --> {{high-risk| 30,000+ }}
Technical details
The [[{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Vorlage:High-risk/en||-1}}|en
|en }}
|en }}| |Vorlage:High-risk/en |Skriptfehler: Ein solches Modul „String“ ist nicht vorhanden. }}/sandbox|/sandbox]] and [[{{#ifeq:{{#ifeq:en|en |{{#ifeq:{{#titleparts:Vorlage:High-risk/en||-1}}|en
|en }}
|en }}| |Vorlage:High-risk/en |Skriptfehler: Ein solches Modul „String“ ist nicht vorhanden. }}/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
- {{intricate template}} – For the intricate, i.e., complex templates.
- {{pp-template}} – The protection template that usually is put on high-risk templates.
- {{used in system}} – For templates used in the user interface.|
[[Category:Template documentation pages{{#translation:}}]] }}