Template:Disambiguation: Difference between revisions

From Imagisphere
Jump to navigation Jump to search
(My first template! Should simplify the process of creating disambiguation pages. Original wikitext by Chunky104.)
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><hr>
<includeonly><hr>
{|
{|
|style="vertical-align:middle;"|[[File:Direction_Splitter_Icon.png|48px|link=|top]]
|style="vertical-align:middle;"|[[File:Gadget_Logic_Signal_Direction_Splitter_Icon.png|48px|link=|top]]
|''This '''disambiguation''' page lists articles associated with the title '''{{{pagename|{{FULLPAGENAME}}}}}'''. Please follow one of the links above, or use the [[Special:Search|search]] feature if the page you're looking for isn't listed here.<br>If an internal link lead you here, you might want to go back and change it to point directly to the intended page.''
|''This '''disambiguation''' page lists articles associated with the title '''{{{pagename|{{FULLPAGENAME}}}}}'''. Please follow one of the links above, or use the <span class="plainlinks">[//{{SERVERNAME}}/Special:Search/{{{pagename|{{FULLPAGENAME}}}}}?fulltext=1 search]</span> feature if the page you're looking for isn't listed here.<br>If an internal link lead you here, you might want to go back and change it to point directly to the intended page.''
|}
|}
<hr>
<hr>
Line 8: Line 8:
Use this template to add a disambiguation indicator to the page.
Use this template to add a disambiguation indicator to the page.
== Usage ==
== Usage ==
By default, the displayed name is the page's name, and the page will be categorized under [[:Category:Disambiguation]].
By default, the displayed name and search link's destination is the page's name, and the page will be categorized under [[:Category:Disambiguation]].
*Setting the parameter <code>pagename=</code> to your desired text will change the displayed title.
*Setting the parameter <code>pagename=</code> to your desired text will change the displayed title and the search link's destination.
*Setting the parameter <code>nocat=y</code> will not include the page under the disambiguation category.
*Setting the parameter <code>nocat=y</code> will not include the page under the disambiguation category.
== Example ==
== Example ==
<pre>{{Disambiguation|pagename=Introduction|nocat=y}}</pre>
<pre>{{Disambiguation|pagename=Introduction|nocat=y}}</pre>
The above text will produce the below result:{{Disambiguation|pagename=Introduction|nocat=y}}[[Category:Templates]]</noinclude>
The above text will produce the below result:{{Disambiguation|pagename=Introduction|nocat=y}}[[Category:Templates]]</noinclude>

Latest revision as of 22:21, 27 April 2024


Gadget Logic Signal Direction Splitter Icon.png This disambiguation page lists articles associated with the title Template:Disambiguation. Please follow one of the links above, or use the search feature if the page you're looking for isn't listed here.
If an internal link lead you here, you might want to go back and change it to point directly to the intended page.

Use this template to add a disambiguation indicator to the page.

Usage

By default, the displayed name and search link's destination is the page's name, and the page will be categorized under Category:Disambiguation.

  • Setting the parameter pagename= to your desired text will change the displayed title and the search link's destination.
  • Setting the parameter nocat=y will not include the page under the disambiguation category.

Example

{{Disambiguation|pagename=Introduction|nocat=y}}

The above text will produce the below result:


Gadget Logic Signal Direction Splitter Icon.png This disambiguation page lists articles associated with the title Introduction. Please follow one of the links above, or use the search feature if the page you're looking for isn't listed here.
If an internal link lead you here, you might want to go back and change it to point directly to the intended page.