Template:High Risk: Difference between revisions

From Honkai: Nexus Anima Wiki
Jump to navigation Jump to search
Created page with "<includeonly>{{#vardefine:templatepage|{{#if:{{{1|}}}|{{{1|}}}|{{#switch:{{SUBPAGENAME}} |doc|Draft={{SUBJECTSPACE}}:{{BASEPAGENAME}} |#default={{SUBJECTPAGENAME}} }}}}}}{{#vardefine:namespace|{{#switch:{{NAMESPACE}} |Module=Lua module |#default=template }}}}<!-- -->{{#vardefine:numberofpages|<!-- -->{{formatnum:{{#replace:<!-- -->{{#ifeq:{{{pagetype|-}}}|-<!-- -->|{{NUMBEROFPAGES}}<!-- -->|{{#dpl:|namespace={{#switch:{{{pagetype|}}..."
 
m fixing discord link
 
Line 39: Line 39:
   -->|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.<!--
-->}}
-->}}
|comment = Please consider discussing any changes in the [https://discord.gg/genshinwiki wiki's Discord].
|comment = Please consider discussing any changes in the [https://discord.gg/PuHgw3fuDm wiki's Discord].
}}{{Namespace|template={{#ifeq:{{{nocat}}}|1||{{#if:{{#ifeq:{{SUBPAGENAME}}|Draft|1}}{{#ifeq:{{SUBPAGENAME}}|doc|1}}||[[Category:High-Risk Templates]]}}}}|module={{#ifeq:{{{nocat}}}|1||{{#if:{{#ifeq:{{SUBPAGENAME}}|Draft|1}}{{#ifeq:{{SUBPAGENAME}}|doc|1}}||[[Category:High-Risk Modules]]}}}}}}</includeonly><noinclude>{{Documentation|type=Notice}}</noinclude>
}}{{Namespace|template={{#ifeq:{{{nocat}}}|1||{{#if:{{#ifeq:{{SUBPAGENAME}}|Draft|1}}{{#ifeq:{{SUBPAGENAME}}|doc|1}}||[[Category:High-Risk Templates]]}}}}|module={{#ifeq:{{{nocat}}}|1||{{#if:{{#ifeq:{{SUBPAGENAME}}|Draft|1}}{{#ifeq:{{SUBPAGENAME}}|doc|1}}||[[Category:High-Risk Modules]]}}}}}}</includeonly><noinclude>{{Documentation|type=Notice}}</noinclude>

Latest revision as of 04:57, 16 September 2025

Documentation icon Template documentation
Note: parts of or the entire template might not be visible without values provided.

This template is used to mark templates as high-risk, a template that has a lot of uses and where technically deficient or malicious edits can affect almost every page on the wiki. Templates marked as such will be put in Category:High-Risk Templates, and modules Category:High-Risk Modules.

Syntax

{{High Risk|Template or Module name with specified namespace|pagetype = Namespace the template/module is designed for|nocat = include as "1" to disable categories}}

  • pagetype — Main, Template, File, Module or Category.

Examples

{{High Risk|Template:Card|nocat = 1|pagetype = Main}} yields:
This template is used primarily on pages in the Main namespace. It can be found on pages, or on about Expression error: Unexpected / operator.% of those pages.
Edits to this template will be widely noticed. To avoid large-scale disruption and unnecessary server load, any changes to this template should be tested in its sandbox or testcases subpages, or in your own user space. The tested changes can then be added to this page in one single edit.
Please consider discussing any changes in the wiki's Discord.

Template Data

No description.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Name1

Template or Module full name with specified namespace of which to use for the statistics.

Default
{{NAMESPACE}}:{{ROOTPAGENAME}}
Example
"Module:Round", "Template:Card"
Stringsuggested
Page Typepagetype

Namespace which the template/module is designed for.

Example
"Template", "Category"
Stringsuggested
Disable Categoriesnocat

no description

Booleanoptional