Difference between revisions of "Template:Notice"
Jump to navigation
Jump to search
imported>Steel1943 (TESTED - updated the template so that the user can have the option to use the "imageright" or the "shortcut" parameter, but gave the "imageright" parameter priority over the "shortcut" parameter - better give the editors options, rather than save bits) |
m (1 revision imported) |
||
(17 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
{{Mbox | {{Mbox | ||
| name = Notice | | name = Notice | ||
− | | style = {{{style|}}} | + | | demospace = {{{demospace|}}} |
− | | | + | | style = {{#if:{{{style|}}} |{{#if:{{{small|}}}||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 | + | | imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }} |
− | | text = {{#if:{{{header|{{{heading|}}}}}}|<div style="text-align: center">'''{{{header|{{{heading}}}}}}'''</div>}}{{{text|{{{1}}}}}} | + | | 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>}}<!-- | |
− | }}<noinclude>{{ | + | -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}} |
+ | }}<noinclude> | ||
+ | {{Documentation}} | ||
+ | </noinclude> |