Template:Notice: Difference between revisions
added option for shortcuts to be added to the template - tested on Template:Notice/sandbox
 (Per edit request on talk page.)  | 
				 (added option for shortcuts to be added to the template - tested on Template:Notice/sandbox)  | 
				||
| 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]]}}  | ||
| imageright = {{#if:{{{shortcut|{{{shortcut1|}}}}}}|{{Shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}}  | |||
| 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}}}}}}  | | text       = {{#if:{{{header|}}}|<div style="text-align: center">'''{{{header}}}'''</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>  | ||