Vorlage:Dmbox: Unterschied zwischen den Versionen
The newly added categories caused extra line breaks after this template, fixed that. And did some code prettifying.
imported>Davidgothberg (Making so it reports invalid type parameter by adding itself to Category:Wikipedia message box parameter needs fixing, so we can find and fix such cases.) |
imported>Davidgothberg (The newly added categories caused extra line breaks after this template, fixed that. And did some code prettifying.) |
||
Zeile 30: | Zeile 30: | ||
| 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 = [[Category:Wikipedia message box parameter needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> | ||
}} | }}{{#ifeq:{{NAMESPACE}}|Template | ||
{{#ifeq:{{NAMESPACE}}|Template||[[Category:All disambiguation pages]]}} | | <!-- Do not categorise on template pages. --> | ||
{{ | | [[Category:All disambiguation pages]] | ||
}}{{main other | |||
| [[Category:All article disambiguation pages]] | |||
| <!-- Do not categorise when on non article pages. --> | |||
}}<noinclude> | |||
{{pp-template|small=yes}} | {{pp-template|small=yes}} |