Template:Warning: Difference between revisions

From TestWiki
Content added Content deleted
(Changing to the default major warning "content" image. It looks better in large warning boxes, and it has received consensus repeatedly for all the mboxes and has been tweaked in several ways etc.)
m (1 revision imported from wikipedia:Template:Warning)
 
(16 intermediate revisions by 12 users not shown)
Line 1: Line 1:
{{mbox
{{Mbox
| name = Warning
| demospace = {{{demospace|}}}
| demospace = {{{demospace|}}}
| type = content
| image = {{#if:{{{image|}}}| [[Image:{{{image|}}}|40px|Warning]] }}
| style = {{#if:{{{style|}}} |{{{style}}} }}
| 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 09:08, 11 April 2024