Logo Patagonia.png

Diferencia entre revisiones de «Plantilla:Fmbox»

De Wikiexplora
Saltar a: navegación, buscar
m (Texto reemplazado: « » por « »)
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 11: 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 = 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>
 
}}
 
}}
 
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
 
<td class="mbox-text" style="{{{textstyle|}}}"> {{{text}}} </td>
Línea 27: 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 del 13:51 11 nov 2016

[create] 50px Template documentation