Difference between revisions of "Template:Dmbox"
(attempt to implement functions of "category handler" with "includeAt".) |
m (lost noinclude; __DISAMBIG__ seems to be not working, commenting out) |
||
Line 35: | Line 35: | ||
| #default = <div style="text-align: center;">This message box is using an invalid "type={{{type|}}}" parameter and needs fixing.</div>[[Category:Message box that 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:Message box that needs fixing|{{main other|Main:}}{{FULLPAGENAME}}]]<!-- Sort on namespace --> | ||
}}<!-- | }}<!-- | ||
− | Magic word for disambiguation pages | + | Magic word for disambiguation pages seems to be not working, commenting out |
− | {{#ifeq:{{{type|}}}|disambig|__DISAMBIG__|}}<!-- | + | {{#ifeq:{{{type|}}}|disambig|__DISAMBIG__|}}--><!-- |
− | Categorization --> | + | Categorization |
− | {{#switch:{{{type|}}} | + | -->{{#switch:{{{type|}}} |
| setindex = | | setindex = | ||
{{IncludeAt | {{IncludeAt | ||
Line 61: | Line 61: | ||
}} | }} | ||
}} | }} | ||
+ | <noinclude> | ||
{{documentation}} | {{documentation}} | ||
<!-- Add categories and interwikis to the /doc subpage, not here! --> | <!-- Add categories and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |