Template:Caution: Difference between revisions

m
1 revision imported
(Remove unnecessary inline styles when |style= parameter is used – mbox already has styles setting it to 80% width)
m (1 revision imported)
Line 1: Line 1:
{{Mbox
{{Mbox
| name = Caution
| name = Caution
| demospace  = {{{demospace|}}}
| small = {{{small|}}}
| style      = {{{style|}}}
| demospace = {{{demospace|}}}
| subst      = <includeonly>{{subst:substcheck}}</includeonly>
| type = style
| type = style
| image = {{#if:{{{image|}}} |[[File:{{{image}}}|{{{imagesize|40px}}}|Caution|link={{{imagelink|}}}]] |[[File:Ambox warning yellow.svg|{{{imagesize|40px}}}|Caution|link={{{imagelink|}}}]]}}
| image = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Caution|link={{{imagelink|}}}]] |[[File:Ambox warning yellow.svg|40px|Caution|link={{{imagelink|}}}]]}}
| small = {{{small|}}}
| style = {{{style|}}}
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|{{{imagesize|40px}}}|Caution|link={{{imagelink|}}}]] |[[File:Ambox warning yellow.svg|30px|Caution|link={{{imagelink|}}}]]}}
| text = {{{1}}}
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| textstyle  = {{{textstyle|{{{align|text-align: {{#if:{{{center|}}}|center|left}};}}}}}}
| text       = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{center|}}}|center|left}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
            -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}<noinclude>{{Documentation}}</noinclude>
}}<noinclude>{{Documentation}}</noinclude>