Vorlage:Imbox: Unterschied zwischen den Versionen

Adding a visible error message when it gets an invalid type parameter, like we do for {{ambox}}.
imported>Davidgothberg
(Oops, the error reporting should know "license" and "featured" too. It was reporting those...)
imported>Davidgothberg
(Adding a visible error message when it gets an invalid type parameter, like we do for {{ambox}}.)
Zeile 52: Zeile 52:
| featured
| featured
| notice    =    <!-- Do nothing, valid "type" -->
| notice    =    <!-- 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>


Anonymer Benutzer