Template:Notice: Difference between revisions

33 bytes removed ,  2 years ago
no edit summary
(update usage)
No edit summary
 
(86 intermediate revisions by 36 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"|[[Image:Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|talk|non-talk}}.png|Info]]
| red = #b22222
{{#if:{{{header|}}}|
| orange = #f28500
<!-- -->! Notice: {{{header}}}
| green = #27c446
<!-- -->{{!-}}
| blue
}}
| #default = #1e90ff}}; min-height: 50px; width: 70%; border-spacing: 0px;">
|align="left" width="100%"|{{{1}}}
<tr>
|}<noinclude>
<td style="background: {{#switch:{{{type|}}}
__NOTOC__
| 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>
{{tl|Consensus}}<br>
<td style="padding-left: 10px; padding-right: 10px;">{{{text}}}</td>
{{tl|Warning}}<br>
</tr>
{{tl|Caution}}
</table><noinclude>
 
This template is used to create notice templates. Please, do not use this template directly on an article.
[[ca:Template:Avís]][[ka:თარგი:შეტყობინება]][[zh-yue:Template:Notice]]</noinclude>
[[Category:Notice templates]]</noinclude>