Diferencia entre revisiones de «Plantilla:Ambox/core»

De FamilySearch Wiki
(convertir algún texto a español)
(traducir)
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:{{{type|}}}
}} {{#switch:{{{tipo|}}}
| speedy    = ambox-speedy
| serio    = ambox-speedy
| delete     = ambox-delete
| eliminar     = ambox-delete
| content    = ambox-content
| contenido  = ambox-content
| style     = ambox-style
| estilo     = ambox-style
| move      = ambox-move
| fusionar      = ambox-move
| protection = ambox-protection
| protección = ambox-protection
| notice     <!-- notice = default -->
| aviso     <!-- aviso = defecto -->
| #default  = ambox-notice
| #default  = ambox-notice
}} {{{class|}}}" style="{{{style|}}}">
}} {{{class|}}}" style="{{{style|}}}">
Línea 23: Línea 23:
   {{#if:{{{image|}}}
   {{#if:{{{image|}}}
   | {{{image}}}
   | {{{image}}}
   | [[File:{{#switch:{{{type|}}}
   | [[File:{{#switch:{{{tipo|}}}
     | speedy     = Icon-warning.png
     | serio     = Icon-warning.png
     | delete     = Deletion icon.svg.png
     | eliminar     = Deletion icon.svg.png
     | content   = Important.png
     | contenido   = Important.png
     | style     = Broom icon.png
     | estilo     = Broom icon.png
     | move       = Move.png
     | fusionar       = Move.png
     | protection = Ambox protection.png
     | protección = Ambox protection.png
     | notice         <!-- notice = default -->
     | aviso         <!-- aviso = default -->
     | #default  = Information icon.png
     | #default  = Information icon.png
     }} | {{#switch:{{{small|}}}  
     }} | {{#switch:{{{small|}}}  
Línea 55: Línea 55:
</tr>
</tr>
</table><!--  
</table><!--  
Detectar e informar sobre el uso con errónea "type" de parámetros:
Detectar e informar sobre el uso con errónea "tipo" de parámetros:
-->{{#switch:{{{type|}}}
-->{{#switch:{{{tipo|}}}
|  <!-- No "type" parámetro introducido se considera una entrada válida -->
|  <!-- No "tipo" parámetro introducido se considera una entrada válida -->
| speedy
| serio
| delete
| eliminar
| content
| contenido
| style
| estilo
| move
| fusionar
| protection
| protección
| notice     = <!-- parámetro por defecto -->
| aviso     = <!-- parámetro por defecto -->
| #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 -->
| #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 -->
}}<!--  
}}<!--  
Detect and report usage of deprecated "image=blank":
Detect and report usage of deprecated "image=blank":

Revisión del 01:51 20 jun 2012

[crear] Template-info.svg.png Plantilla Documentación