Template:Disambig2: Difference between revisions
Tigerpaw28 (talk | contribs) New documentation format |
|||
| (18 intermediate revisions by 9 users not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly>{| style="" cellpadding="0" cellspacing="0" class="tt1_disambig" | ||
<noinclude> | |- | ||
Use this template when there are ''only two uses'' for the term in question in order to refer to the other article. This avoids the | |''This article is about {{{1}}}. For {{{2}}}, see [[{{{3}}}|{{{4|{{{3}}}}}}]]{{#switch:{{#sub:{{{3}}}|-1}} | ||
|!= | |||
|.= | |||
|?= | |||
|. | |||
}}'' | |||
|}</includeonly><noinclude> | |||
__NOTOC__ | |||
==Description== | |||
Use this template when there are ''only two uses'' for the term in question in order to refer to the other article. This avoids the necessity of creating a dedicated disambiguation page. If there are more than two uses, a disambiguation page will be needed. | |||
For example, if the term in question is "Foo", the article named Foo should be about the more common usage of the term. At the top of the article, place this template to refer to the other article, which would be called something like "Foo (bar)". The template should also be placed at the top of the secondary article. | For example, if the term in question is "Foo", the article named Foo should be about the more common usage of the term. At the top of the article, place this template to refer to the other article, which would be called something like "Foo (bar)". The template should also be placed at the top of the secondary article. | ||
Depending on how you phrase your arguments, you will quite likely need to include the word "the" at the beginning of each of them in order to make the sentence proper. The template is written without "the" included to make it more flexible. Please remember to use the "preview" button and check your work before saving any page you modify. | |||
==Usage== | |||
===Parameters=== | |||
This template accepts four parameters, all anonymous. | |||
====Required==== | |||
# The topic of this article. | |||
# The topic of the other article. | |||
# The other article's name. | |||
====Optional==== | |||
<ol> | |||
<li value="4">The custom text to display for the link to the other article, if desired.</li> | |||
</ol> | |||
<pre>{{ | ===Code=== | ||
the | <pre>{{Disambig2|this article's topic| | ||
the other article's topic|Other article name|Custom text}}</pre> | |||
==Examples== | |||
===Code=== | |||
<pre>{{Disambig2|the Autobot Pretender helicopter| | |||
the Autobot Micromaster jet|Sky High (Micromaster)}}</pre> | |||
===Result=== | |||
{{disambig2|the Autobot Pretender helicopter|the Autobot Micromaster jet|Sky High (Micromaster)}} | |||
===Code=== | |||
<pre>{{Disambig2|the Autobot Pretender helicopter| | |||
the Autobot Micromaster jet|Sky High (Micromaster)}}</pre> | |||
===Result=== | |||
{{Disambig2|the Autobot Pretender helicopter|the Autobot Micromaster jet|Sky High (Micromaster)|Sky High}} | |||
==See also== | ==See also== | ||
* [[Template:Disambig]] | * [[Template:Disambig]] | ||
* [[Template:Disambig3]] | * [[Template:Disambig3]] | ||
* [[Template:Disambig3.5]] | |||
* [[Template:Disambigr]] | * [[Template:Disambigr]] | ||
* [[Template:Disambigm]] | |||
[[Category:Disambiguation templates]]</noinclude> | [[Category:Disambiguation templates|2]]</noinclude> | ||
Latest revision as of 01:05, 13 June 2022
Description
Use this template when there are only two uses for the term in question in order to refer to the other article. This avoids the necessity of creating a dedicated disambiguation page. If there are more than two uses, a disambiguation page will be needed.
For example, if the term in question is "Foo", the article named Foo should be about the more common usage of the term. At the top of the article, place this template to refer to the other article, which would be called something like "Foo (bar)". The template should also be placed at the top of the secondary article.
Depending on how you phrase your arguments, you will quite likely need to include the word "the" at the beginning of each of them in order to make the sentence proper. The template is written without "the" included to make it more flexible. Please remember to use the "preview" button and check your work before saving any page you modify.
Usage
Parameters
This template accepts four parameters, all anonymous.
Required
- The topic of this article.
- The topic of the other article.
- The other article's name.
Optional
- The custom text to display for the link to the other article, if desired.
Code
{{Disambig2|this article's topic|
the other article's topic|Other article name|Custom text}}
Examples
Code
{{Disambig2|the Autobot Pretender helicopter|
the Autobot Micromaster jet|Sky High (Micromaster)}}
Result
| This article is about the Autobot Pretender helicopter. For the Autobot Micromaster jet, see Sky High (Micromaster). |
Code
{{Disambig2|the Autobot Pretender helicopter|
the Autobot Micromaster jet|Sky High (Micromaster)}}
Result
| This article is about the Autobot Pretender helicopter. For the Autobot Micromaster jet, see Sky High. |

