Template:Warning: Difference between revisions

    From Nonbinary Wiki
    (make |align= work as it normally does in other templates)
    m (41 revisions imported from wikipedia:Template:Warning: see Topic:Vtixlm0q28eo6jtf)
     
    (5 intermediate revisions by 5 users not shown)
    Line 2: Line 2:
    | name      = Warning
    | name      = Warning
    | demospace  = {{{demospace|}}}
    | demospace  = {{{demospace|}}}
    | style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||margin:inherit auto;width:80%;}} {{{style}}} }}
    | style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }}
    | subst      = <includeonly>{{subst:substcheck}}</includeonly>
    | subst      = <includeonly>{{subst:substcheck}}</includeonly>
    | type      = content
    | type      = content
    | image      = {{#if:{{{image|}}}| [[File:{{{image}}}|40px|Warning]] }}
    | image      = {{#if:{{{image|}}}| [[File:{{{image}}}|{{{imagesize|40px}}}|Warning]] }}
    | small      = {{{small|}}}
    | small      = {{{small|}}}
    | smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}}
    | smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}}
    | 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|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}}
    | textstyle  = {{{textstyle|text-align: {{#if:{{{center|}}}|center|{{{align|left}}}}};}}}
    | text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
    | text      = {{#if:{{{header|{{{heading|{{{title|}}}}}}}}} |<div style="{{{headstyle|text-align: {{#if:{{{center|}}}|center|left}};}}}">'''{{{header|{{{heading|{{{title|}}}}}}}}}'''</div>}}<!--
                 -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
                 -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}

    Latest revision as of 11:41, 21 May 2021

    Template documentation[create]