Difference between revisions of "Template:Notice"

From Timelines
Jump to: navigation, search
(merging features from Template:Warning; the lack of consistency between these two has been frustrating for a long time.)
m (Changed protection level for "Template:Notice": extensively used in mediawiki message; also is already fprot via cascading ([Edit=Require administrator access] (indefinite) [Move=Require administrator access] (indefinite)))
 
(6 intermediate revisions by 3 users not shown)
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|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
| text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{left|}}}|left|center}};">'''{{{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}}}}}}}}}}}}
 
}}<noinclude>
 
}}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:33, 9 December 2016

Template documentation[create]