Difference between revisions of "Template:Notice"
Jump to navigation
Jump to search
imported>MSGJ (partial revert per BRD, previous default was left-aligned) |
imported>SMcCandlish (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> |