Difference between revisions of "Template:Notice"
From Timelines
(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> |
Revision as of 02:05, 4 April 2016
{{{1}}} |
Template documentation[create]
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |