Vorlage:Fmbox: 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 global "mbox-image" and "mbox-text" classes has passed, so removing the hard-coded styles.) |
imported>Davidgothberg (Adding a visible error message when it gets an invalid type parameter, like we do for {{ambox}}.) |
||
Zeile 37: | Zeile 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> | ||