Template:Notice: Difference between revisions

    From Nonbinary Wiki
    (partial revert per BRD, previous default was left-aligned)
    (implemented |center= as suggested on talk page (keeps left as default))
    Line 9: Line 9:
    | smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
    | smallimage = {{#if:{{{image|}}} |[[File:{{{image}}}|30px|Notice]]}}
    | imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
    | imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
    | textstyle  = {{{textstyle|{{{align|text-align:left;}}}}}}
    | textstyle  = {{{textstyle|{{{align|text-align: {{#if:{{{center|}}}|center|left}};}}}}}}
    | text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:left;">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
    | text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="text-align:{{#if:{{{center|}}}|center|left}};">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
                 -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
                 -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
    }}<noinclude>
    }}<noinclude>
    {{Documentation}}
    {{Documentation}}
    </noinclude>
    </noinclude>

    Revision as of 10:05, 4 April 2016

    Template documentation[create]