Template:Warning: Difference between revisions

Nothing to hide, but nothing to show you either.
Jump to navigation Jump to search
Content added Content deleted
(Updating to use {{mbox}}, use orange major warning "style" (red is for deletion boxes), using an orange warning triangle to match the orange border and to match the yellow triangle in {{caution}}.)
m (44 revisions imported from templatewiki:Template:Warning)
 
(17 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{mbox
{{Mbox
| name = Warning
| demospace = {{{demospace|}}}
| demospace = {{{demospace|}}}
| type = content
| style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }}
| image = [[Image:{{{image|Ambox warning orange.svg}}}|40px|Warning]]
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| textstyle = text-align: center;
| text = {{{1}}}
| type = content
| image = {{#if:{{{image|}}}| [[File:{{{image}}}|{{{imagesize|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|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
| text = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
-->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}<noinclude>
}}<noinclude>
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->

{{Documentation}}
{{pp-template|small=yes}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 17:57, 5 February 2021