Template:High-use: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
add option so notice can be used as an edit notice |
||
Line 1: | Line 1: | ||
{{ | {{#switch:{{{form|}}} | ||
| | |editnotice = {{editnotice | ||
| image = [[File:Ambox warning yellow.svg|40px|alt=Warning|link=]] | | image = {{#ifeq:{{high-use/risk|{{{1|}}}}}|risk|[[File:Ambox warning orange.svg|40px|alt=Warning|link=]]|[[File:Ambox warning yellow.svg|40px|alt=Warning|link=]]}} | ||
| text = | | text = {{High-use/text|1={{{1|}}}|2={{{2|}}}|all-pages={{{all-pages|}}}|info={{{info|}}}}} | ||
| expiry= {{{expiry|}}} | |||
}} | |||
| | |#default = {{Ombox | ||
| #default | | type = {{#ifeq:{{high-use/risk|{{{1|}}}}}|risk|content|style}} | ||
| image = {{#ifeq:{{high-use/risk|{{{1|}}}}}|risk|[[File:Ambox warning orange.svg|40px|alt=Warning|link=]]|[[File:Ambox warning yellow.svg|40px|alt=Warning|link=]]}} | |||
| text = {{High-use/text|1={{{1|}}}|2={{{2|}}}|all-pages={{{all-pages|}}}|info={{{info|}}}}} | |||
}} | |||
}}<noinclude> | }}<noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
<!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! --> | <!-- Add categories to the /doc subpage; interwiki links go to Wikidata, thank you! --> | ||
</noinclude> | </noinclude> |
Revision as of 07:39, 9 May 2019
This template is used on many pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |