Template:Notice: Difference between revisions

    From Nonbinary Wiki
    (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
    {{ 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>

    Revision as of 16:02, 29 March 2014

    Template documentation[create]