Diferencia entre revisiones de «Plantilla:Fmbox»
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 | | warning = fmbox-warning | ||
| editnotice = fmbox-editnotice | | editnotice = fmbox-editnotice | ||
| system | | system <!-- system = default --> | ||
| #default | | #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 | |||
| editnotice = Ejemplo.jpg | |||
| system <!-- system = default --> | |||
| #default = Ejemplo.jpg | |||
}}|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 --> | ||
| warning | | warning | ||
| editnotice | | editnotice | ||
| system | | system = <!-- Do nothing, valid "type" --> | ||
| #default | | #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
|
|
{{{text}}} |
[create] Archivo:Template-info.svg Template documentation
| Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |
