Template:High Risk Template/doc

From RosieSoCrossing
Revision as of 12:59, 8 September 2025 by Rosie (talk | contribs) (Created page with "==Usage== <pre> {{High Risk Template|protection=}} </pre> This template is to be used for documentation pages for templates that are considered "high-risk" for disruptive changes. These are templates that are widely used or transcluded across many pages on the wiki and as such changes have the potential to be highly disruptive. The notice can be set to display text reflecting the protection level of the template by using the <code>protection</code> parameter and setting...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Usage

{{High Risk Template|protection=}}

This template is to be used for documentation pages for templates that are considered "high-risk" for disruptive changes. These are templates that are widely used or transcluded across many pages on the wiki and as such changes have the potential to be highly disruptive. The notice can be set to display text reflecting the protection level of the template by using the protection parameter and setting it to semi or full. All pages containing this template will be added to Category:High risk templates.

This notice should not be confused with Template:Edit Notice, which is intended to be viewable only on the editing screen.


Example

{{High Risk Template}}
{{#if:Emotion Surprise NH Icon.png|{{#switch: | center | centre =
}}
{{#if:|
}}
[[File:Emotion Surprise NH Icon.png{{#if:40||40px}}|alt=Emotion Surprise NH Icon.png{{#if:||link=}}]]
{{#if:|
[[:{{#if:|{{{magnify-link}}}|File:Emotion Surprise NH Icon.png}}| ]]
{{{Description}}}
}}
{{#switch: | center | centre =
}}}}
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, {{#switch:| full = it has been fully protected to prevent large-scale disruption from untested changes.| semi = it has been semi-protected to prevent large-scale disruption from untested changes by inexperienced users.| #default = caution is advised before editing.}} Any changes {{#switch:| full = made by staff| #default = }} should first be tested in a sandbox. Please consider discussing before implementing them.
{{High Risk Template|protection=semi}}
{{#if:Emotion Surprise NH Icon.png|{{#switch: | center | centre =
}}
{{#if:|
}}
[[File:Emotion Surprise NH Icon.png{{#if:40||40px}}|alt=Emotion Surprise NH Icon.png{{#if:||link=}}]]
{{#if:|
[[:{{#if:|{{{magnify-link}}}|File:Emotion Surprise NH Icon.png}}| ]]
{{{Description}}}
}}
{{#switch: | center | centre =
}}}}
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, {{#switch:semi| full = it has been fully protected to prevent large-scale disruption from untested changes.| semi = it has been semi-protected to prevent large-scale disruption from untested changes by inexperienced users.| #default = caution is advised before editing.}} Any changes {{#switch:semi| full = made by staff| #default = }} should first be tested in a sandbox. Please consider discussing before implementing them.
{{High Risk Template|protection=full}}
{{#if:Emotion Surprise NH Icon.png|{{#switch: | center | centre =
}}
{{#if:|
}}
[[File:Emotion Surprise NH Icon.png{{#if:40||40px}}|alt=Emotion Surprise NH Icon.png{{#if:||link=}}]]
{{#if:|
[[:{{#if:|{{{magnify-link}}}|File:Emotion Surprise NH Icon.png}}| ]]
{{{Description}}}
}}
{{#switch: | center | centre =
}}}}
This template is complex or is transcluded on a large number of pages.
Due to the sensitive nature of this template, {{#switch:full| full = it has been fully protected to prevent large-scale disruption from untested changes.| semi = it has been semi-protected to prevent large-scale disruption from untested changes by inexperienced users.| #default = caution is advised before editing.}} Any changes {{#switch:full| full = made by staff| #default = }} should first be tested in a sandbox. Please consider discussing before implementing them.