Diferencia entre revisiones de «Plantilla:Notice»

De Familia Sanchez Arjona
Saltar a: navegación, buscar
(added code to automatically use talk page coloring only on talk pages and display the icon with correct background coloring for most users)
(update; added small parameter, changed switch to ifeq, added optional parameter header)
Línea 1: Línea 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}}"
+
{| class="{{#ifeq|{{NAMESPACE}}|{{TALKSPACE}}|{{#ifeq|{{{small|}}}|yes|small|standard}}-talk}} messagebox"
|-
+
| {{#if:{{{header|}}}|rowspan="2"}} align="center"|[[Image:Info {{#ifeq:{{NAMESPACE}}|{{TALKSPACE}}|talk|non-talk}}.png|Info]]
|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]]
+
{{#if:{{{header|}}}|
 +
<!-- -->! {{{header}}}
 +
<!-- -->{{!-}}
 +
}}
 
|align="left" width="100%"|{{{1}}}
 
|align="left" width="100%"|{{{1}}}
 
|}<noinclude>
 
|}<noinclude>

Revisión del 22:53 10 ene 2007

Info {{{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.}}

See also

{{Consensus}}
{{Warning}}

ca:Template:Avíska:თარგი:შეტყობინებაzh-yue:Template:Notice