Diferencia entre revisiones de «Plantilla:Ambox/core»
(traducir) |
(regresó al código original con fines de compatibilidad) |
||
| (No se muestran 7 ediciones intermedias del mismo usuario) | |||
| 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:{{{ | }} {{#switch:{{{type|}}} | ||
| | | speedy = ambox-speedy | ||
| | | delete = ambox-delete | ||
| | | content = ambox-content | ||
| | | style = ambox-style | ||
| | | move = ambox-move | ||
| | | protection = ambox-protection | ||
| | | notice <!-- notice = default --> | ||
| #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:{{{ | | [[File:{{#switch:{{{type|}}} | ||
| | | speedy = Icon-warning.png | ||
| | | delete = Deletion icon.svg.png | ||
| | | content = Important.png | ||
| | | style = Broom icon.png | ||
| | | move = Move.png | ||
| | | protection = Ambox protection.png | ||
| | | notice <!-- notice = 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 " | Detectar e informar sobre el uso con errónea "type" de parámetros: | ||
-->{{#switch:{{{ | -->{{#switch:{{{type|}}} | ||
| <!-- No " | | <!-- No "type" parámetro introducido se considera una entrada válida --> | ||
| | | speedy | ||
| | | delete | ||
| | | content | ||
| | | style | ||
| | | move | ||
| | | protection | ||
| | | notice = <!-- parámetro por defecto --> | ||
| #default = <div style="text-align: center;">Esta caja mensaje está utilizando un inválido " | | #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": | ||
Revisión actual - 22:11 28 jun 2012
| {{{text}}} |
[crear]
Plantilla Documentación