Logo Patagonia.png

Diferencia entre revisiones de «Plantilla:Fmbox»

De Wikiexplora
Saltar a: navegación, buscar
m (1 revisión: Plantilla Infobox)
m (Texto reemplazado: « » por « »)
 
(No se muestran 4 ediciones intermedias del mismo usuario)
Línea 1: Línea 1:
 +
 
<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 10: Línea 11:
 
| <!-- No image. -->
 
| <!-- No image. -->
 
| <td class="mbox-image">
 
| <td class="mbox-image">
  {{#if:{{{image|}}}
+
{{#if:{{{image|}}}
  | {{{image}}}
+
| {{{image}}}
  | [[File:{{#switch:{{{type|}}}
+
| [[File:{{#switch:{{{type|}}}
    | warning   = Cmbox deletion.png
+
| warning = Cmbox deletion.png
    | editnotice = Imbox notice.png
+
| editnotice = Ejemplo.jpg
    | system         <!-- system = default -->
+
| system <!-- system = default -->
    | #default   = Imbox notice.png
+
| #default = Ejemplo.jpg
    }}|40x40px|link=|alt=]]
+
}}|40x40px|link=|alt=]]
  }}</td>
+
}}</td>
 
}}
 
}}
 
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
 
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
Línea 26: Línea 27:
 
</tr>
 
</tr>
 
</table><!--
 
</table><!--
  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 del 10:20 15 nov 2016

[create] 50px Template documentation