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 (Fix)
 
(No se muestran 6 ediciones intermedias de 2 usuarios)
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-warning
| editarnota = fmbox-editarnota
| editnotice = fmbox-editnotice
| sistema        <!-- sistema = defecto -->
| system          <!-- sistema = defecto -->
| #default  = fmbox-system
| #default  = fmbox-system
}} {{{clase|}}}" style="{{{estilo|}}}">
}} {{{class|}}}" style="{{{style|}}}">
<tr>
<tr>
{{#ifeq:{{{imagen|}}}|nada
{{#ifeq:{{{image|}}}|none
| <!-- No imagen. -->
| <!-- No imagen. -->
| <td class="mbox-image">
| <td class="mbox-image">
   {{#if:{{{imagen|}}}
   {{#if:{{{image|}}}
   | {{{imagen}}}
   | {{{image}}}
   | [[File:{{#switch:{{{tipo|}}}
   | [[Archivo:{{#switch:{{{type|}}}
     | archivador   = Cmbox delete.png
     | warning   = Cmbox deletion.png
     | editarnota = Cmbox notice.png
     | editnotice = Imbox notice.png
     | sistema         <!-- sistema = defecto -->
     | system         <!-- sistema = defecto -->
     | #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="{{{textstyle|}}}"> {{{text}}} </td>
{{#if:{{{imagenderecho|}}}
{{#if:{{{imageright|}}}
| <td class="mbox-imageright"> {{{imagenderecho}}} </td>
| <td class="mbox-imageright"> {{{imageright}}} </td>
}}
}}
</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 "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;">Este buzón de mensajes está utilizando un inválido "type={{{type|}}}" los parámetros y necesidades de fijación.</div>[[Categoría:El parámetro de cuadro de mensaje necesita ser reparado|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Ordenar el espacio de nombres -->
}}<noinclude>
}}<noinclude>
{{documentación}}
{{documentation}}
<!-- Sume categorías y interwikis a la subpágina / doc, no aquí! -->
<!-- ¡Añadir categorías y interwikis a la subpágina /doc, no aquí! -->
</noinclude>
</noinclude>

Revisión actual - 04:09 30 mar 2012

[crear] Documentación de plantilla