Vorlage:Ambox: Unterschied zwischen den Versionen
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.
imported>Davidgothberg (Updating to use "mbox-*" class names instead of "ambox-*". See Template talk:Mbox#Simpler to use class names.) |
imported>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.) |
||
| Zeile 50: | Zeile 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> | ||