Diferencia entre revisiones de «Plantilla:Ambox/core»

No hay cambio en el tamaño ,  23 jun 2012
change tipo back to type again, translating the code may become confusing and make things less compatible
(Deshecha la revisión 29571 de Lotje2 (disc.))
(change tipo back to type again, translating the code may become confusing and make things less compatible)
Línea 1: Línea 1:
<table class="metadata plainlinks ambox {{#switch:{{{small|}}}
<table class="metadata plainlinks ambox {{#switch:{{{small|}}}
| left = mbox-small-left
| left = mbox-small-left
}} {{#switch:{{{tipo|}}}
}} {{#switch:{{{type|}}}
| serio    = ambox-speedy
| serio    = ambox-speedy
| eliminar    = ambox-delete
| eliminar    = ambox-delete
Línea 23: Línea 23:
   {{#if:{{{image|}}}
   {{#if:{{{image|}}}
   | {{{image}}}
   | {{{image}}}
   | [[File:{{#switch:{{{tipo|}}}
   | [[File:{{#switch:{{{type|}}}
     | serio    = Icon-warning.png
     | serio    = Icon-warning.png
     | eliminar    = Deletion icon.svg.png
     | eliminar    = Deletion icon.svg.png
Línea 55: Línea 55:
</tr>
</tr>
</table><!--  
</table><!--  
Detectar e informar sobre el uso con errónea "tipo" de parámetros:
Detectar e informar sobre el uso con errónea "type" de parámetros:
-->{{#switch:{{{tipo|}}}
-->{{#switch:{{{type|}}}
|  <!-- No "tipo" parámetro introducido se considera una entrada válida -->
|  <!-- No "type" parámetro introducido se considera una entrada válida -->
| serio
| serio
| eliminar
| eliminar
Línea 65: Línea 65:
| protección
| protección
| aviso    = <!-- parámetro por defecto -->
| aviso    = <!-- parámetro por defecto -->
| #default  = <div style="text-align: center;">Esta caja mensaje está utilizando un inválido "tipo={{{tipo|}}}" parámetro en el código que necesita ser reparado.</div>[[Categoría:Plantillas de caja mensaje que necesita un parámetro reparado|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
| #default  = <div style="text-align: center;">Esta caja mensaje está utilizando un inválido "type={{{type|}}}" parámetro en el código que necesita ser reparado.</div>[[Categoría:Plantillas de caja mensaje que necesita un parámetro reparado|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<!--  
}}<!--  
Detect and report usage of deprecated "image=blank":
Detect and report usage of deprecated "image=blank":
2432

ediciones