Template:Disambiguation: Difference between revisions

Template page
Allow not adding the page to the disambiguation pages category
Improve disambiguation template
Line 1: Line 1:
<includeonly>
<includeonly>
: ''This is a disambiguation page.''
{{Note|This is a disambiguation page. For more information on disambiguations, see [[Wikipedia:Help:Disambiguation|Wikipedia's help page]]. For more information on how you can use disambiguations in your articles, see [[Help:Disambiguation]].|information}}


<!-- The page will be added to the disambiguation pages category unless `nocat` is specified. -->
<!-- The page will be added to the disambiguation pages category unless `nocat` is specified. -->
Line 7: Line 7:
|[[Category:Disambiguation Pages]]
|[[Category:Disambiguation Pages]]
}}
}}
</includeonly>
</includeonly>
<noinclude>
<noinclude>
Use this template in disambiguation pages.
Use this template in disambiguation pages.


== Usage ==
<pre><nowiki>
<pre><nowiki>
{{Disambiguation}}
{{Disambiguation}}
</nowiki></pre>
</nowiki></pre>
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>
<pre><nowiki>
{{Disambiguation|nocat}}
{{Disambiguation|nocat}}
</nowiki></pre>
</nowiki></pre>
<code>nocat</code> may be specified if you do not wish to put your article into [[:Category:Disambiguation Pages]].


== Example ==
{{Disambiguation|nocat}}
{{Disambiguation|nocat}}
</noinclude>
</noinclude>

Revision as of 17:02, 4 April 2025


Use this template in disambiguation pages.

Usage

{{Disambiguation}}

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

{{Disambiguation|nocat}}

nocat may be specified if you do not wish to put your article into Category:Disambiguation Pages.

Example

This is a disambiguation page. For more information on disambiguations, see Wikipedia's help page. For more information on how you can use disambiguations in your articles, see Help:Disambiguation.