Difference between revisions of "Template:Dmbox"
From Self-sufficiency
(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.) |
(The newly added categories caused extra line breaks after this template, fixed that. And did some code prettifying.) |
||
Line 30: | Line 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}} |
Revision as of 05:00, 6 February 2009
30px | {{{text}}} |
[edit]
Documentation