Template:Warning: Difference between revisions

    From Nonbinary Wiki
    m (removing <center> in favor of the proper way to do it)
    m (41 revisions imported from wikipedia:Template:Warning: see Topic:Vtixlm0q28eo6jtf)
     
    (27 intermediate revisions by 20 users not shown)
    Line 1: Line 1:
    {| class="messagebox standard-talk" style="border: 1px solid #CC9999; background-color: #FFCCCC;"
    {{Mbox
    |-
    | name      = Warning
    |align="center"|[[Image:Stop hand.svg|50px|Warning]]
    | demospace  = {{{demospace|}}}
    |align="center" width="100%"|{{{1}}}
    | style     = {{#if:{{{style|}}} |{{#if:{{{small|}}}||width:80%;}} {{{style}}} }}
    |}<noinclude>
    | subst      = <includeonly>{{subst:substcheck}}</includeonly>
    __NOTOC__
    | type      = content
     
    | image      = {{#if:{{{image|}}}| [[File:{{{image}}}|{{{imagesize|40px}}}|Warning]] }}
    ==Location==
    | small      = {{{small|}}}
    This template should be used for '''important''' warnings about an article or a user that cannot be shown using a more specific template. Please use it when something is seriously wrong and other people might not otherwise know about it.
    | smallimage = {{#if:{{{image|}}}| [[File:{{{image}}}|30px|Warning]]}}
    ==Usage==
    | imageright = {{#if:{{{imageright|}}} |{{{imageright}}} |{{#if:{{{shortcut|{{{shortcut1|}}}}}} |{{Ombox/shortcut|{{{shortcut|{{{shortcut1|}}}}}}|{{{shortcut2|}}}|{{{shortcut3|}}}|{{{shortcut4|}}}|{{{shortcut5|}}}}}}} }}
    '''<nowiki>{{Warning|Include warning here.}}</nowiki>'''
    | 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>}}<!--
    If you are adding this to a user page for misconduct, please remember to use [[Wikipedia:Subst|subst:]]  
                -->{{{text|{{{content|{{{reason|{{{1}}}}}}}}}}}}
     
    }}<noinclude>
    ==See also==
    <!-- Add categories to the /doc subpage; interwikis go to Wikidata. -->
    {{tl|Notice}}<br>
    {{Documentation}}
    {{tl|Caution}}<br>
    {{tl|Consensus}}
     
    [[ka:თარგი:გაფრთხილება]]
    [[vi:Tiêu bản:Cảnh cáo]]
    </noinclude>
    </noinclude>

    Latest revision as of 11:41, 21 May 2021

    Template documentation[create]