Template:Warning: Difference between revisions

merging features from Template:Notice; the lack of consistency between these two has been driving me nuts for years.
m (Changed protection level of Template:Warning: Highly visible template: request at RFPP ([Edit=Allow only template editors and admins] (indefinite) [Move=Allow only administrators] (indefinite)))
(merging features from Template:Notice; the lack of consistency between these two has been driving me nuts for years.)
Line 1: Line 1:
{{ mbox
{{Mbox
| demospace = {{{demospace|}}}
| name      = Warning
| type     = content
| demospace = {{{demospace|}}}
| image     = {{#if:{{{image|}}}| [[Image:{{{image|}}}|40px|Warning]] }}
| style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
| textstyle = {{{align|text-align: center;}}}
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
| text     = {{#if:{{{header|}}}|<div style="text-align: center">'''{{{header}}}'''</div>}}{{{text|{{{1}}}}}}
| type       = content
 
| image     = {{#if:{{{image|}}}| [[File:{{{image}}}|40px|Warning]] }}
| small      = {{{small|}}}
| smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}}
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| textstyle = {{{textstyle|{{{align|text-align: center;}}}}}}
| text       = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{left|}}}|left|center}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}<noinclude>
}}<noinclude>
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>
Anonymous user