Vorlage:Cmbox: Unterschied zwischen den Versionen
Adding a visible error message when it gets an invalid type parameter, like we do for {{ambox}}.
imported>Davidgothberg (The 31 days CSS caching for the old locked 52px left image "cmbox mbox-image/text" classes has passed. Removing the hard-coded styles and now using the global classes instead.) |
imported>Davidgothberg (Adding a visible error message when it gets an invalid type parameter, like we do for {{ambox}}.) |
||
Zeile 43: | Zeile 43: | ||
| protection | | protection | ||
| 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> | ||