Difference between revisions of "Template:Notice"
From Timelines
(enable heading to be styled separately) |
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))) |
||
(2 intermediate revisions by 2 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 = {{{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}}}}}}}}}}}} |
Latest revision as of 11:33, 9 December 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. |