Diferencia entre revisiones de «Plantilla:Fmbox»

De Touhou Wiki
Ir a la navegación Ir a la búsqueda
mSin resumen de edición
m (Voy a arrancarme los pelos.)
Línea 1: Línea 1:
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks fmbox
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks fmbox
{{#switch:{{{tipo|}}}
{{#switch:{{{type|}}}
| advertencia   = fmbox-warning
| warning   = fmbox-advertencia
| editarnota = fmbox-editarnota
| editnotice = fmbox-editarnota
| sistema        <!-- sistema = defecto -->
| system          <!-- sistema = defecto -->
| #default  = fmbox-system
| #default  = fmbox-sistema
}} {{{clase|}}}" style="{{{estilo|}}}">
}} {{{clase|}}}" style="{{{estilo|}}}">
<tr>
<tr>
Línea 13: Línea 13:
   | {{{imagen}}}
   | {{{imagen}}}
   | [[File:{{#switch:{{{tipo|}}}
   | [[File:{{#switch:{{{tipo|}}}
     | archivador   = Cmbox delete.png
     | warning   = Cmbox deletion.png
     | editarnota = Cmbox notice.png
     | editnotice = Imbox notice.png
     | sistema         <!-- sistema = defecto -->
     | system         <!-- system = default -->
     | #default  = Cmbox notice.png
     | #default  = Imbox notice.png
     }}|40x40px|link=|alt=]]
     }}|40x40px|link=|alt=]]
   }}</td>
   }}</td>
}}
}}
<td class="mbox-text" style="{{{textoestilo|}}}"> {{{texto}}} </td>
<td class="mbox-text" style="{{{textoestilo|}}}"> {{{texto}}} </td>
{{#if:{{{imagenderecho|}}}
{{#if:{{{imageright|}}}
| <td class="mbox-imageright"> {{{imagenderecho}}} </td>
| <td class="mbox-imageright"> {{{imagenderecho}}} </td>
}}
}}
Línea 27: Línea 27:
</table><!--
</table><!--
   Detectar e informar sobre el uso con errónea "tipo" de parámetros:
   Detectar e informar sobre el uso con errónea "tipo" de parámetros:
-->{{#switch:{{{tipo|}}}
-->{{#switch:{{{type|}}}
|  <!-- No alimentados tipo, es también de entrada válido -->
|  <!-- No alimentados tipo, es también de entrada válido -->
| advertencia
| warning
| editarnota
| editnotice
| sistema     =    <!-- No hacer nada, válida "tipo" -->
| system     =    <!-- No hacer nada, válida "tipo" -->
| #default  = <div style="text-align: center;">Este buzón de mensajes está utilizando un enfermo "tipo={{{tipo|}}}" los parámetros y necesidades de fijación.</div>[[Categoría:Wikipedia parámetro de cuadro de mensaje necesita ser reparado|{{otro principal|Principal:}}{{FULLPAGENAME}}]]<!-- Ordenar el espacio de nombres -->
| #default  = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
}}<noinclude>
}}<noinclude>
{{documentación}}
{{documentación}}
<!-- Sume categorías y interwikis a la subpágina / doc, no aquí! -->
<!-- ¡Sume categorías y interwikis a la subpágina /doc, no aquí! -->
</noinclude>
</noinclude>

Revisión del 05:03 17 mar 2012

Documentation icon Documentación de la plantilla[crear]