Template:Used in system: Difference between revisions

Jump to navigation Jump to search
imported>Pppery
(Pass to category handler to stop bad categorization)
imported>Pppery
(Not an improvement - there's already a well-established edit request process starting with clicking "view source" and we don't need a duplicative process for the specific set of templates that are used in system messages)
 
(23 intermediate revisions by 13 users not shown)
Line 1: Line 1:
{{ombox
{{#invoke:High-use|main|1=|2={{{2|}}}|system={{#if:{{{1|}}}|{{{1}}}|in system messages}}<noinclude>|nocat=true</noinclude>}}<noinclude>
| type = content
{{documentation}}<!-- Add categories and interwikis to the /doc subpage, not here! -->
| text =
'''This {{lcfirst:{{NAMESPACE}}}} is used {{#if:{{{1|}}}|{{{1}}}|in system messages}}.''' <br> Changes to it can cause immediate changes to the Wikipedia user interface. {{#ifeq:{{NAMESPACENUMBER}}|6||To avoid large-scale disruption, any changes should first be tested in this {{lcfirst:{{NAMESPACE}}}}'s [[{{#switch: {{SUBPAGENAME}}
    | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
    | #default =     {{SUBJECTPAGENAME}}
  }}/sandbox|/sandbox]] or [[{{#switch: {{SUBPAGENAME}}
    | doc | sandbox = {{SUBJECTSPACE}}:{{BASEPAGENAME}}
    | #default =     {{SUBJECTPAGENAME}}
  }}/testcases|/testcases]] subpage, or in your own [[Wikipedia:Subpages#How to create user subpages|user space]]. The tested changes can then be added in one single edit to this {{lcfirst:{{NAMESPACE}}}}.}} Please discuss any changes {{#if:{{{2|}}}|at [[{{{2}}}]]|on the [[{{#switch: {{SUBPAGENAME}}
    | doc | sandbox = {{TALKSPACE}}:{{BASEPAGENAME}}
    | #default =      {{TALKPAGENAME}}
  }}|talk page]]}} before implementing them.
}}<includeonly>{{#switch:{{SUBPAGENAME}}|sandbox|doc=|#default={{#switch:{{#invoke:Effective protection level|edit|{{FULLPAGENAME}}}}|sysop|interfaceadmin=|#default={{category handler|[[Category:Pages used in system messages needing protection]]}}}}}}</includeonly><noinclude>
 
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 15:58, 20 August 2022