Template:Fmbox: Difference between revisions

From base48
imported>Evilissimo
No edit summary
imported>Evilissimo
No edit summary
 
Line 1: Line 1:
<includeonly>
<table id="{{{id|}}}" class="mbox mbox-wide
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks fmbox
{{#switch:{{{type|}}}
{{#switch:{{{type|}}}
| warning    = fmbox-warning
| warning    = mbox-warning
| editnotice = fmbox-editnotice
| editnotice =  
| system          <!-- system = default -->
| system          <!-- system = default -->
| #default  = fmbox-system
| #default  = mbox-notice
}} {{{class|}}}" style="{{{style|}}}">
}} {{{class|}}}" style="{{{style|}}}">
<tr>
<tr>
{{#ifeq:{{{image|}}}|none
{{#ifeq:{{{image|}}}|none
| <!-- No image. -->
| <td class="mbox-empty-cell"><!-- No image. --></td>
| <td class="mbox-image">
| <td class="mbox-image">
   {{#if:{{{image|}}}
   {{#if:{{{image|}}}
Line 26: Line 25:
}}
}}
</tr>
</tr>
</table><!--
</table><!--  
   Detect and report usage with faulty "type" parameter:
   Detect and report usage with faulty "type" parameter:
-->{{#switch:{{{type|}}}
-->{{#switch:{{{type|}}}
Line 34: Line 33:
| 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>
</includeonly>
<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>

Latest revision as of 22:05, 12 March 2012

File:Imbox notice.png {{{text}}}
[edit] [history] [purge] Documentation icon Template documentation
The above documentation is transcluded from Template:Fmbox/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Please add categories and interwikis to the /doc subpage. Subpages of this template.