Typecraft v2.5
Jump to: navigation, search

Difference between revisions of "Template:Fmbox"

(The 31 days CSS caching for the global "mbox-image" and "mbox-text" classes has passed, so removing the hard-coded styles.)
(Adding a visible error message when it gets an invalid type parameter, like we do for {{ambox}}.)
Line 37: Line 37:
 
| editnotice
 
| editnotice
 
| system    =    <!-- Do nothing, valid "type" -->
 
| system    =    <!-- Do nothing, valid "type" -->
| #default  = [[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>
  

Revision as of 09:34, 5 February 2009

[create] 50px Template documentation