Template:Notice: Difference between revisions

implemented |center= as suggested on talk page (keeps left as default)
(partial revert per BRD, previous default was left-aligned)
(implemented |center= as suggested on talk page (keeps left as default))
Line 9: Line 9:
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
| smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
| textstyle  = {{{textstyle|{{{align|text-align:left;}}}}}}
| textstyle  = {{{textstyle|{{{align|text-align: {{#if:{{{center|}}}|center|left}};}}}}}}
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:left;">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{center|}}}|center|left}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
             -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
             -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
}}<noinclude>
}}<noinclude>
{{Documentation}}
{{Documentation}}
</noinclude>
</noinclude>
Anonymous user