Template:Caution: Difference between revisions
Remove unnecessary inline styles when |style= parameter is used – mbox already has styles setting it to 80% width
>Tomoneill m (1 revision imported: Template:Div col) |
(Remove unnecessary inline styles when |style= parameter is used – mbox already has styles setting it to 80% width) |
||
| Line 1: | Line 1: | ||
{{Mbox | {{Mbox | ||
| name = Caution | | name = Caution | ||
| demospace = {{{demospace|}}} | |||
| style = {{{style|}}} | |||
| subst = <includeonly>{{subst:substcheck}}</includeonly> | |||
| type = style | |||
| image = {{#if:{{{image|}}} |[[File:{{{image}}}|{{{imagesize|40px}}}|Caution|link={{{imagelink|}}}]] |[[File:Ambox warning yellow.svg|{{{imagesize|40px}}}|Caution|link={{{imagelink|}}}]]}} | |||
| small = {{{small|}}} | | small = {{{small|}}} | ||
| | | smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|{{{imagesize|40px}}}|Caution|link={{{imagelink|}}}]] |[[File:Ambox warning yellow.svg|30px|Caution|link={{{imagelink|}}}]]}} | ||
| 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 = {{{1}}} | -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}} | ||
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> | ||