Template:Notice: Difference between revisions

    From Nonbinary Wiki
    (reducing the size of the image a bit. I see the "small" parameter but as used this doesn't need smaller print, just less vertical space lost to the image.)
    No edit summary
     
    (52 intermediate revisions by 19 users not shown)
    Line 1: Line 1:
    {| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox"
    <table style="margin-left: 15%; border: 2px solid {{#switch:{{{type|}}}
    | {{#if:{{{header|}}}|rowspan="2"}} align="center" style="width:35px;"|[[Image:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png}}}|{{#ifeq:{{{small|}}}|yes|25px|35px}}|Notice]]
    | red = #b22222
    {{#if:{{{header|}}}|
    | orange = #f28500
    <!-- -->! Notice: {{{header}}}
    | green = #27c446
    <!-- -->{{!-}}
    | blue
    }}
    | #default = #1e90ff}}; min-height: 50px; width: 70%; border-spacing: 0px;">
    |align="left"|{{{1}}}
    <tr>
    |}<noinclude>
    <td style="background: {{#switch:{{{type|}}}
     
    | red = #b22222
    {{pp-template}}
    | orange = #f28500
     
    | green = #27c446
    ==Location==
    | blue
    This template should be used for '''important''' comments about an article that cannot be shown using a more specific template. Unimportant comments should use the usual, non-templated method.
    | #default = #1e90ff}}; width: 50px; min-height: 45px; padding-top: 5px; padding-left: 5px; padding-bottom: 5px;"> [[File:{{#switch:{{{type|}}}
     
    | red = Caution icon - Noun Project 9556 white.svg
    ==Usage==
    | orange = Exclamation mark white icon.svg
    :{{tlx|Notice|Include text here.}}
    | green = Text_lines_white_icon.svg
    :{{tlx|Notice|small&#61;yes|Include text here.}} for smaller type
    | blue
    :{{tlx|Notice|header&#61;Header text|Include text here.}} for an additional header
    | #default = VisualEditor_-_Icon_-_Advanced_-_white.svg}}|40px]]</td>
    :{{tlx|Notice|image&#61;Stop hand nuvola.svg|Include text here.}} for a different image
    <td style="padding-left: 10px; padding-right: 10px;">{{{text}}}</td>
    ==See also==
    </tr>
    :{{tlx|Consensus}}
    </table><noinclude>
    :{{tlx|Warning}}
    This template is used to create notice templates. Please, do not use this template directly on an article.
    :{{tlx|Caution}}
    [[Category:Notice templates]]</noinclude>
     
    [[Category:Talk header templates|{{PAGENAME}}]]
     
    [[ca:Plantilla:Avís]]
    [[ka:თარგი:შეტყობინება]]
    [[hu:Sablon:Comment]]
    [[ml:ഫലകം:Notice]]
    [[ja:Template:Notice]]
    [[zh-yue:Template:告示]]
    </noinclude>

    Latest revision as of 13:11, 22 June 2021

    VisualEditor - Icon - Advanced - white.svg {{{text}}}

    This template is used to create notice templates. Please, do not use this template directly on an article.