Template:Disambigm/doc: Difference between revisions

From MediaWiki
Jump to navigationJump to search
Abates (talk | contribs)
Created page with "Use this template when a character has two or more names that require disambiguation. This template avoids having multiple disambiguation templates at the top of the page, whi..."
 
Tigerpaw28 (talk | contribs)
New documentation format
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
==Description==
Use this template when a character has two or more names that require disambiguation. This template avoids having multiple disambiguation templates at the top of the page, which can ugly it up something terrible. It can take up to ten names.
Use this template when a character has two or more names that require disambiguation. This template avoids having multiple disambiguation templates at the top of the page, which can ugly it up something terrible. It can take up to ten names.
==Usage==
===Parameters===
This template takes up to ten anonymous parameters for the article names being disambiguated. The first two are required for the template to format correctly.


To use the template, add the list of names separated by the pipe ("|") character when including in an article:
===Code===
<pre>{{Disambig2|name|alternate name 1|alternate name 2|alternate name 3}}</pre>
<pre>{{Disambigm
|name
|alternate name 1
|alternate name 2
|alternate name 3
|alternate name 4
|alternate name 5
|alternate name 6
|alternate name 7
|alternate name 8
|alternate name 9
|alternate name 10
}}</pre>


As an actual example from the [[Jack Tracker]] article:
==Examples==
<pre>{{disambigm|Jack|Bill|Hunter|Blast Off}}</pre>
===Code===
<pre>{{disambigm|Jack (disambiguation)|Matt Trakker|Bill (disambiguation)|Blast Off (disambiguation)|Hunter (disambiguation)}}</pre>
===Result===
{{disambigm|Jack (disambiguation)|Matt Trakker|Bill (disambiguation)|Blast Off (disambiguation)|Hunter (disambiguation)}}


==See also==
==See also==
Line 13: Line 33:
* [[Template:Disambig3.5]]
* [[Template:Disambig3.5]]
* [[Template:Disambigr]]
* [[Template:Disambigr]]
<noinclude>[[Category:Externalized documentation]]</noinclude>
<noinclude>[[Category:Externalized documentation]]</noinclude>

Latest revision as of 01:01, 14 June 2022

Description

[edit]

Use this template when a character has two or more names that require disambiguation. This template avoids having multiple disambiguation templates at the top of the page, which can ugly it up something terrible. It can take up to ten names.

Usage

[edit]

Parameters

[edit]

This template takes up to ten anonymous parameters for the article names being disambiguated. The first two are required for the template to format correctly.

Code

[edit]
{{Disambigm
|name
|alternate name 1
|alternate name 2
|alternate name 3
|alternate name 4
|alternate name 5
|alternate name 6
|alternate name 7
|alternate name 8
|alternate name 9
|alternate name 10
}}

Examples

[edit]

Code

[edit]
{{disambigm|Jack (disambiguation)|Matt Trakker|Bill (disambiguation)|Blast Off (disambiguation)|Hunter (disambiguation)}}

Result

[edit]
This subject of this article goes by multiple names that apply to other articles as well. See Jack (disambiguation), Matt Trakker, Bill (disambiguation), Blast Off (disambiguation), Hunter (disambiguation).

See also

[edit]