Vorlage:Dmbox: Unterschied zwischen den Versionen
Made so it prints an error message if it is fed an invalid "type" parameter. And changed the template-space detection code to instead use {{template other}}.
imported>Davidgothberg (The newly added categories caused extra line breaks after this template, fixed that. And did some code prettifying.) |
imported>Davidgothberg (Made so it prints an error message if it is fed an invalid "type" parameter. And changed the template-space detection code to instead use {{template other}}.) |
||
Zeile 29: | Zeile 29: | ||
| disambig | | disambig | ||
| setindex = <!-- Do nothing, valid "type" --> | | setindex = <!-- 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 --> | ||
}}{{ | }}{{template other | ||
| <!-- Do not categorise on template pages. --> | | <!-- Do not categorise on template pages. --> | ||
| [[Category:All disambiguation pages]] | | [[Category:All disambiguation pages]] |