Template:Warning: Difference between revisions
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 | ||
| demospace = {{{demospace|}}} | | name = Warning | ||
| type | | demospace = {{{demospace|}}} | ||
| image | | style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }} | ||
| textstyle = {{{align|text-align: center;}}} | | subst = <includeonly>{{subst:substcheck}}</includeonly> | ||
| text | | 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> |
Revision as of 22:56, 13 March 2016
{{{1}}} |
Template documentation[create]