Template:Mbox: Difference between revisions

From TestWiki
Content added Content deleted
(Updating to use "mbox-*" class names instead of "ambox-*". See Template talk:Mbox#Simpler to use class names.)
(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

Template:Pp-template