Template:Notice: Difference between revisions

    From Nonbinary Wiki
    (Width does not validate in HTML Strict mode, replaced with CSS value, removed "Example Text" from the box)
    No edit summary
     
    (67 intermediate revisions by 28 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:53px;"|[[Image:Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png|{{#ifeq:{{{small|}}}|yes|25px|53px}}|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
     
    | orange = #f28500
    ==Location==
    | green = #27c446
    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.
    | blue
     
    | #default = #1e90ff}}; width: 50px; min-height: 45px; padding-top: 5px; padding-left: 5px; padding-bottom: 5px;"> [[File:{{#switch:{{{type|}}}
    ==Usage==
    | red = Caution icon - Noun Project 9556 white.svg
    :{{tlx|Notice|Include text here.}}
    | orange = Exclamation mark white icon.svg
    :{{tlx|Notice|small&#61;yes|Include text here.}} for smaller type
    | green = Text_lines_white_icon.svg
    :{{tlx|Notice|header&#61;Header text|Include text here.}} for an aditional header
    | blue
    ==See also==
    | #default = VisualEditor_-_Icon_-_Advanced_-_white.svg}}|40px]]</td>
    :{{tlx|Consensus}}
    <td style="padding-left: 10px; padding-right: 10px;">{{{text}}}</td>
    :{{tlx|Warning}}
    </tr>
    :{{tlx|Caution}}
    </table><noinclude>
     
    This template is used to create notice templates. Please, do not use this template directly on an article.
    [[Category:Talk header templates]]
    [[Category:Notice templates]]</noinclude>
     
    [[ca:Plantilla:Avís]]
    [[ka:თარგი:შეტყობინება]]
    [[hu:Sablon:Comment]]
    [[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.