Template:Warning: Difference between revisions

    From Nonbinary Wiki
    (add support for a heading; other tweaks)
    m (41 revisions imported from wikipedia:Template:Warning: see Topic:Vtixlm0q28eo6jtf)
     
    (11 intermediate revisions by 8 users not shown)
    Line 1: Line 1:
    {{ mbox
    {{Mbox
    | demospace = {{{demospace|}}}
    | name      = Warning
    | type     = content
    | demospace = {{{demospace|}}}
    | image     = {{#if:{{{image|}}}| [[Image:{{{image|}}}|40px|Warning]] }}
    | style      = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }}
    | textstyle = {{{align|text-align: center;}}}
    | subst      = <includeonly>{{subst:substcheck}}</includeonly>
    | text     = {{#if:{{{header|}}}|<div style="text-align: center">'''{{{header}}}'''</div>}}{{{text|{{{1}}}}}}
    | type       = content
     
    | image     = {{#if:{{{image|}}}| [[File:{{{image}}}|{{{imagesize|40px}}}|Warning]] }}
    }}<noinclude>{{Documentation}}<!-- Add categories and interwikis to the /doc sub-page --></noinclude>
    | small      = {{{small|}}}
    | smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}}
    | imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
    | 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|{{{content|{{{reason|{{{1}}}}}}}}}}}}
    }}<noinclude>
    <!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
    {{Documentation}}
    </noinclude>

    Latest revision as of 11:41, 21 May 2021

    Template documentation[create]