Difference between revisions of "Template:Fmbox"

From Simulace.info
Jump to: navigation, search
(remove {{pp-template}})
 
m (1 revision)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<table {{#if:{{{id|}}}|id="{{{id|}}}"}} class="plainlinks fmbox
+
<table id="{{{id|}}}" class="mbox mbox-wide
 
{{#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 25: 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|}}}

Latest revision as of 23:37, 4 December 2012

40x40px {{{text}}}
[create] 50px 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.