Difference between revisions of "Template:Notice"
From The Crowdsourced Resource-Based Economy Knowledgebase
m (1 revision) |
(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) |
||
Line 1: | Line 1: | ||
− | {{ | + | {{Mbox |
| name = Notice | | name = Notice | ||
| style = {{{style|}}} | | style = {{{style|}}} | ||
Line 5: | Line 5: | ||
| subst = <includeonly>{{subst:substcheck}}</includeonly> | | subst = <includeonly>{{subst:substcheck}}</includeonly> | ||
| demospace = {{{demospace|}}} | | demospace = {{{demospace|}}} | ||
− | | image = {{#if:{{{image|}}}|[[ | + | | image = {{#if:{{{image|}}}|[[File:{{{image}}}|40px|Notice]]}} |
| small = {{{small|}}} | | small = {{{small|}}} | ||
− | | smallimage = {{#if:{{{image|}}}|[[ | + | | smallimage = {{#if:{{{image|}}}|[[File:{{{image}}}|30px|Notice]]}} |
− | | text = {{#if:{{{header|}}}|<div style="text-align: center">'''{{{header}}}'''</div>}}{{{text|{{{1}}}}}} | + | | 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}}}}}} | ||
}}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude> | }}<noinclude>{{documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude> |
Revision as of 02:03, 13 April 2014
Script errorScript error