Difference between revisions of "Template:Mbox"

From FIThydrowiki
Jump to navigation Jump to search
what>Davidgothberg
(Updating to use "mbox-*" class names instead of "ambox-*". See Template talk:Mbox#Simpler to use class names.)
what>Davidgothberg
(Adding the printing of an error message when invalid "type" parameter. Thus making it much easier to find which message box on a page is reporting an error.)
Line 50: Line 50:
 
| protection
 
| protection
 
| notice    =    <!-- Do nothing, valid "type" -->
 
| notice    =    <!-- Do nothing, valid "type" -->
| #default  = [[Category:Ambox templates using deprecated types|{{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. ([[:Category:Ambox templates using deprecated types|learn more]])</div>[[Category:Ambox templates using deprecated types|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace -->
 
}}<noinclude>
 
}}<noinclude>
  

Revision as of 22:40, 3 October 2008

Lua error in package.lua at line 80: module 'Module:Arguments' not found. Lua error in package.lua at line 80: module 'Module:Arguments' not found.