Difference between revisions of "Template:Notice"
Jump to navigation
Jump to search
imported>SMcCandlish (typo) |
imported>SMcCandlish (merging features from Template:Warning; the lack of consistency between these two has been frustrating for a long time.) |
||
Line 1: | Line 1: | ||
{{Mbox | {{Mbox | ||
| name = Notice | | name = Notice | ||
+ | | demospace = {{{demospace|}}} | ||
| style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }} | | style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }} | ||
− | |||
| subst = <includeonly>{{subst:substcheck}}</includeonly> | | subst = <includeonly>{{subst:substcheck}}</includeonly> | ||
− | | | + | | type = notice |
| image = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}} | | image = {{#if:{{{image|}}} |[[File:{{{image}}}|40px|Notice]]}} | ||
| small = {{{small|}}} | | small = {{{small|}}} | ||
| 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;}}}}}} | ||
| 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}}}}}}}}}}}} |