Template:Disambig2/doc: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
 
(the Adventure Mode page had disambig2 removed two years ago)
 
(One intermediate revision by one other user not shown)
Line 7: Line 7:
<pre>{{Disambig2 | this article's topic | the other article's topic |  Other article name}}</pre>
<pre>{{Disambig2 | this article's topic | the other article's topic |  Other article name}}</pre>


As a concrete example, on the [[Adventure Mode]] page:
As a concrete example, on the [[Priority]] page:


<pre>{{disambig2 | the ''Melee'' single player mode |
<pre>{{disambig2 | priority in relation to attacks |
the ''[[Super Smash Bros. Brawl]]'' single player mode | Adventure Mode: The Subspace Emissary}}</pre>
controller slot priority | Port priority}}</pre>


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.
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.
[[Category:Template documentation]]
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 18:23, November 15, 2021

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.

This template accepts three arguments. To use the arguments, place pipes after you include the template, like:

{{Disambig2 | this article's topic | the other article's topic |  Other article name}}

As a concrete example, on the Priority page:

{{disambig2 | priority in relation to attacks |
controller slot priority | Port priority}}

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.