Template:Disambiguation: Difference between revisions

Template page
Add disambiguation template
 
Allow not adding the page to the disambiguation pages category
Line 1: Line 1:
<includeonly>
<includeonly>
: ''This is a disambiguation page.''
: ''This is a disambiguation page.''
[[Category:Disambiguation Pages]]
 
<!-- The page will be added to the disambiguation pages category unless `nocat` is specified. -->
{{#ifeq: {{{1|}}} | nocat
|
|[[Category:Disambiguation Pages]]
}}
 
</includeonly>
</includeonly>


<noinclude>
<noinclude>


Put this template below disambiguation pages, like this:
Use this template in disambiguation pages.
 
<pre><nowiki>
<pre><nowiki>
{{Disambiguation}}
{{Disambiguation}}
Line 12: Line 19:


This will add a footer and put the page into [[:Category:Disambiguation Pages]].
This will add a footer and put the page into [[:Category:Disambiguation Pages]].
If you do not wish to put this page into [[:Category:Disambiguation Pages]], specify <code>nocat</code>.
<pre><nowiki>
{{Disambiguation|nocat}}
</nowiki></pre>
{{Disambiguation|nocat}}


</noinclude>
</noinclude>

Revision as of 16:32, 4 April 2025



Use this template in disambiguation pages.

{{Disambiguation}}

This will add a footer and put the page into Category:Disambiguation Pages.

If you do not wish to put this page into Category:Disambiguation Pages, specify nocat.

{{Disambiguation|nocat}}


This is a disambiguation page.