"ढाँचा:Dmbox" का संशोधनहरू बिचको अन्तर
Content deleted Content added
changing id to disambigbox per talk page - hopefully this won't break too many things... |
Updating the category handling by adding {{cat handler}}, so we get automatic category suppression in some places, and so we can use "nocat=true" when needed. No change in what categories used where. |
||
पङ्क्ति २८:
}}
</tr>
</table><!--
Detect and report usage with faulty "type" parameter: -->{{#switch:{{{type|}}}
| <!-- No type fed, is also valid input -->
Line ३४ ⟶ ३५:
| setindex = <!-- Do nothing, valid "type" -->
| #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 -->
}}<!--
Categorization:
| main
| nocat = {{{nocat|}}} <!--So "nocat=true" works-->
| page = {{{page|}}} <!--For testing-->
{{cat handler
| <!-- Do not categorise on template pages. -->▼
| main
| other
| nocat = {{{nocat|}}} <!--So "nocat=true" works-->
| page = {{{page|}}} <!--For testing-->
}}
}}<!-- Categorize templates that use this meta-template:
--><includeonly>{{cat handler
| subpage = no <!--Don't categorize on /doc, /sandbox, /testcases etc-->
| template = [[Category:Disambiguation message boxes]]
--><noinclude>▼
| nocat = {{{nocat|}}} <!--So "nocat=true" works-->
| page = {{{page|}}} <!--For testing-->
{{pp-template}}
|