Diferencia entre revisiones de «Plantilla:Fmbox»

De Wikiexplora
Ir a la navegación Ir a la búsqueda
m Texto reemplazado: « » por « »
m Texto reemplazado: « » por « »
 
(No se muestra una edición intermedia del mismo usuario)
Línea 2: Línea 2:
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks fmbox
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks fmbox
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
| warning = fmbox-warning
| warning = fmbox-warning
| editnotice = fmbox-editnotice
| editnotice = fmbox-editnotice
| system     <!-- system = default -->
| system <!-- system = default -->
| #default = fmbox-system
| #default = fmbox-system
}} {{{class|}}}" style="{{{style|}}}">
}} {{{class|}}}" style="{{{style|}}}">
<tr>
<tr>
Línea 14: Línea 14:
  | {{{image}}}
  | {{{image}}}
  | [[File:{{#switch:{{{type|}}}
  | [[File:{{#switch:{{{type|}}}
  | warning = Cmbox deletion.png
| warning = Cmbox deletion.png
  | editnotice = Ejemplo.jpg
| editnotice = Ejemplo.jpg
  | system     <!-- system = default -->
| system <!-- system = default -->
  | #default = Ejemplo.jpg
| #default = Ejemplo.jpg
  }}|40x40px|link=|alt=]]
}}|40x40px|link=|alt=]]
  }}</td>
  }}</td>
}}
}}
Línea 29: Línea 29:
  Detect and report usage with faulty "type" parameter:
  Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
-->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
| <!-- No type fed, is also valid input -->
| warning
| warning
| editnotice
| editnotice
| system   = <!-- Do nothing, valid "type" -->
| system = <!-- Do nothing, valid "type" -->
| #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 -->
| #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>
{{documentation}}
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here!-->
<!-- Add categories and interwikis to the /doc subpage, not here!-->
</noinclude>
</noinclude>

Revisión actual - 10:20 15 nov 2016

[create] Archivo:Template-info.svg Template documentation