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