Difference between revisions of "Template:Notice"

From annadreambrush.com/wiki
Jump to navigation Jump to search
imported>Solumeiras
(Trying an "if" parser function, if this doesn't work I can revert it - see sandbox)
imported>Solumeiras
(OK, so this doesn't work, reverse this)
Line 1: Line 1:
{| class="{{#if:{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq:{{{small|}}}|yes|small|standard}}-talk}} messagebox"
+
{| class="{{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|{{#if:{{{small|}}}|yes|small|standard}}-talk}} messagebox"
 
| {{#if:{{{header|}}}|rowspan="2"}} align="center" style="width:53px;"|[[Image:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png}}}|{{#ifeq:{{{small|}}}|yes|25px|53px}}|Notice]]
 
| {{#if:{{{header|}}}|rowspan="2"}} align="center" style="width:53px;"|[[Image:{{{image|Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}||non-}}talk.png}}}|{{#ifeq:{{{small|}}}|yes|25px|53px}}|Notice]]
 
{{#if:{{{header|}}}|
 
{{#if:{{{header|}}}|

Revision as of 13:53, 25 January 2008

Notice {{{1}}}


Location

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.

Usage

{{Notice|Include text here.}}
{{Notice|small=yes|Include text here.}} for smaller type
{{Notice|header=Header text|Include text here.}} for an additional header
{{Notice|image=Stop hand nuvola.svg|Include text here.}} for a different image

See also

{{Consensus}}
{{Warning}}
{{Caution}}

ca:Plantilla:Avís ka:თარგი:შეტყობინება hu:Sablon:Comment ml:ഫലകം:Notice ja:Template:Notice zh-yue:Template:告示