Template:Warning: Difference between revisions

Content added Content deleted
m (1 revision imported: Templates)
(make |align= work as it normally does in other templates)
Line 1: Line 1:
{{ mbox
{{Mbox
| name = Warning
| demospace = {{{demospace|}}}
| demospace = {{{demospace|}}}
| type = content
| image = {{#if:{{{image|}}}| [[Image:{{{image|}}}|40px|Warning]] }}
| style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
| subst = <includeonly>{{subst:substcheck}}</includeonly>
| textstyle = {{{align|text-align: center;}}}
| type = content
| text = {{#if:{{{header|}}}|<div style="text-align: center">'''{{{header}}}'''</div>}}{{{text|{{{1}}}}}}
| image = {{#if:{{{image|}}}| [[File:{{{image}}}|40px|Warning]] }}

| small = {{{small|}}}
}}<noinclude>{{Documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
| 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>
<!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
{{Documentation}}
</noinclude>

Revision as of 11:19, 4 April 2016