Diferència entre les revisions de "Plantilla:Avís"
Pàgina nova, en el contingut: «<table style="{{{estilo|}}}" class="noprint plainlinks ambox {{#switch:{{{tipo|}}} | protección | gris = ambox-protection | serio | rojo = amb…» |
(Etiqueta: Desfer) |
||
| (No se mostren 4 edicions intermiges del mateix usuari) | |||
| Llínea 1: | Llínea 1: | ||
<table style="{{{ | <table style="{{{estil|}}}" class="noprint plainlinks ambox {{#switch:{{{tipo|}}} | ||
| | | protecció | gris = ambox-protection | ||
| serio | | | serio | roig = ambox-serious | ||
| | | contingut | taronja = ambox-content | ||
| | | estil | groc = ambox-style | ||
| fusionar | | | fusionar | morat = ambox-merge | ||
| | | desenroll | vert = ambox-growth | ||
| | | avís | blau = ambox-notice | ||
| #default = ambox-notice | | #default = ambox-notice | ||
}} {{{clase|}}}"> | }} {{{clase|}}}"> | ||
<tr> | <tr> | ||
<td class="ambox-image" width="40"> | <td class="ambox-image" width="40"> | ||
{{#ifeq:{{{ | {{#ifeq:{{{image}}}|cap | ||
| <!-- No | | <!-- No hi ha cela en image; cela buida necessària per a que la cela de text tinga amplària 100% --> | ||
| {{#switch:{{{imagen|{{{tipo|}}}}}} | | {{#switch:{{{imagen|{{{tipo|}}}}}} | ||
| | | protecció | gris = [[Archiu:Commons-emblem-padlock.svg|40px|enllaç=|alt=]] | ||
| serio | | | serio | roig = [[Archiu:Commons-emblem-hand.svg|40px|enllaç=|alt=]] | ||
| | | contingut | taronja = [[Archiu:Commons-emblem-issue.svg|40px|enllaç=|alt=]] | ||
| estilo | | | estilo | groc = [[Archiu:Commons-emblem-copyedit.svg|40px|enllaç=|alt=]] | ||
| fusionar | | | fusionar | morat = [[Archiu:Commons-emblem-merge.svg|40px|enllaç=|alt=]] | ||
| desarrollo | | | desarrollo | vert = [[Archiu:Commons-emblem-success.svg|40px|enllaç=|alt=]] | ||
| aviso | | | aviso | blau = [[Archiu:Commons-emblem-notice.svg|40px|enllaç=|alt=]] | ||
| vacío = [[ | | vacío = [[Archiu:No image.svg|enllaç=|alt=]] | ||
| #default = {{#if:{{{ | | #default = {{#if:{{{image|}}}|{{#ifexist:Media:{{{image}}}| | ||
[[ | [[Archiu:{{{image}}}|x40px|enllaç=|alt=]]|{{{image}}}}}| | ||
{{{ | {{{image|[[Archiu:Commons-emblem-notice.svg|40px|enllaç=|alt=]]}}} | ||
}} | }} | ||
}} | }} | ||
}}</td> | }}</td> | ||
<td class="ambox-text"><div class="ambox-text-div">{{#if:{{{encabezado|{{{2|}}}}}}|<strong>{{{encabezado|{{{1}}}}}}</strong> {{#if:{{{contenido|{{{texto|{{{2|}}}}}}}}}|<span class="hide-when-compact">{{{contenido|{{{texto|{{{2}}}}}}}}}</span>}}|{{{contenido|{{{texto|{{{1|No has | <td class="ambox-text"><div class="ambox-text-div">{{#if:{{{encabezado|{{{2|}}}}}}|<strong>{{{encabezado|{{{1}}}}}}</strong> {{#if:{{{contenido|{{{texto|{{{2|}}}}}}}}}|<span class="hide-when-compact">{{{contenido|{{{texto|{{{2}}}}}}}}}</span>}}|{{{contenido|{{{texto|{{{1|No has escrit cap d'avís}}}}}}}}}}}</div>{{#if:{{{pie|}}}|<div class="hide-when-compact"><small>{{{pie}}}</small></div>}}</td>{{#if:{{{imagen derecha|}}}|<td class="hide-when-compact ambox-imageright">{{#ifexist:Media:{{{imagen derecha}}}|[[Archivo:{{{imagen derecha}}}|x40px|enlace=|alt=]]|{{{imagen derecha}}}}}</td>}} | ||
</tr> | </tr> | ||
</table><includeonly>{{#ifeq:{{SUBPAGENAME}}|doc||{{#ifeq:{{NAMESPACE}}|{{ns:10}} | </table><includeonly>{{#ifeq:{{SUBPAGENAME}}|doc||{{#ifeq:{{NAMESPACE}}|{{ns:10}} | ||
| [[{{#switch:{{{tipo|}}} | | [[{{#switch:{{{tipo|}}} | ||
| protección = | | protección = Categoria:Proyecte:Plantilles de protecció | ||
| serio = | | serio = Categoria:Proyecte:Plantilles crítiques de manteniment | ||
| contenido = | | contenido = Categoria:Proyecte:Plantilles de contingut | ||
| estilo = | | estilo = Categoria:Proyecte:Plantilles d'estil | ||
| fusionar = | | fusionar = Categoria:Proyecte:Plantilles de fusions | ||
| desarrollo = | | desarrollo = Categoria:Proyecte:Plantilles de desenroll | ||
| aviso = | | aviso = Categoria:Proyecte:Plantilles d'avisos | ||
| #default = | | #default = Categoria:Proyecte:Plantilles d'avisos | ||
}}]] | }}]] | ||