Difference between revisions of "Template:Notice"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>SMcCandlish
(enable heading to be styled separately)
imported>SMcCandlish
(make |align= work as it normally does in other templates)
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: {{#if:{{{center|}}}|center|left}};}}}}}}
+
| textstyle  = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}}
 
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 
             -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
 
             -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}

Revision as of 12:18, 4 April 2016

Template documentation[create]