Template:Notice: Difference between revisions

    From Nonbinary Wiki
    (added code to automatically use talk page coloring only on talk pages and display the icon with correct background coloring for most users)
    No edit summary
     
    (91 intermediate revisions by 37 users not shown)
    Line 1: Line 1:
    {| class="{{#switch:{{NAMESPACE}}|Category talk|Help talk|Image talk|MediaWiki talk|Portal talk|Talk|Template talk|User talk|Wikipedia talk=messagebox standard-talk|messagebox}}"
    <table style="margin-left: 15%; border: 2px solid {{#switch:{{{type|}}}
    |-
    | red = #b22222
    |align="center"|[[Image:Info {{#switch:{{NAMESPACE}}|Category talk|Help talk|Image talk|MediaWiki talk|Portal talk|Talk|Template talk|User talk|Wikipedia talk=|non-}}talk.png|Info]]
    | orange = #f28500
    |align="left" width="100%"|{{{1}}}
    | green = #27c446
    |}<noinclude>
    | blue
    __NOTOC__
    | #default = #1e90ff}}; min-height: 50px; width: 70%; border-spacing: 0px;">
     
    <tr>
    ==Location==
    <td style="background: {{#switch:{{{type|}}}
    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.
    | red = #b22222
     
    | orange = #f28500
    ==Usage==
    | green = #27c446
    '''<nowiki>{{Notice|Include text here.}}</nowiki>'''
    | blue
     
    | #default = #1e90ff}}; width: 50px; min-height: 45px; padding-top: 5px; padding-left: 5px; padding-bottom: 5px;"> [[File:{{#switch:{{{type|}}}
    ==See also==
    | red = Caution icon - Noun Project 9556 white.svg
    {{tl|Consensus}}<br>
    | orange = Exclamation mark white icon.svg
    {{tl|Warning}}
    | green = Text_lines_white_icon.svg
     
    | blue
    [[ca:Template:Avís]][[ka:თარგი:შეტყობინება]][[zh-yue:Template:Notice]]</noinclude>
    | #default = VisualEditor_-_Icon_-_Advanced_-_white.svg}}|40px]]</td>
    <td style="padding-left: 10px; padding-right: 10px;">{{{text}}}</td>
    </tr>
    </table><noinclude>
    This template is used to create notice templates. Please, do not use this template directly on an article.
    [[Category:Notice templates]]</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.