Difference between revisions of "Template:Notice"

From Ava Zinn Wiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(merging features from Template:Warning; the lack of consistency between these two has been frustrating for a long time.)
m (post-merge compat. tweak)
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: center;}}}}}}
+
| textstyle  = {{{textstyle|{{{align|text-align: {{#if:{{{left|}}}|left|center}};}}}}}}
 
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{left|}}}|left|center}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{left|}}}|left|center}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
 
             -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
 
             -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}

Revision as of 19:13, 13 March 2016

Documentation icon Template documentation[create]