Template:Notice: Difference between revisions

    (added option for shortcuts to be added to the template - tested on Template:Notice/sandbox)
    (Undid revision 601821049 by Steel1943 (talk) Oops - I was beat to it!)
    Line 1: Line 1:
    {{ mbox
    {{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|}}}|[[file:{{{image}}}|40px|Notice]]}}
    | 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|}}}|[[file:{{{image}}}|30px|Notice]]}}
    | smallimage = {{#if:{{{image|}}}|[[File:{{{image}}}|30px|Notice]]}}
    | imageright = {{{imageright|}}}
    | 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>