Template:Disambigr: Difference between revisions

From MediaWiki
Jump to navigationJump to search
TX55 (talk | contribs)
m update
Tigerpaw28 (talk | contribs)
New documentation format
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| style="" cellpadding="0" cellspacing="0" class="tt1_disambig"
<includeonly>{| style="" cellpadding="0" cellspacing="0" class="tt1_disambig"
|-
|-
|''{{{1}}} redirects here. For {{{2}}}, see [[{{{3}}}]].''
|''"{{{1}}}" redirects here. For {{{2}}}, see [[{{{3}}}|{{{4|{{{3}}}}}}]].''
|}<noinclude>
|}</includeonly><noinclude>
<!-- -->
__NOTOC__
==Description==
Use this template when you need to disambiguate between a redirect and a regular article (different from where the redirect points to). This template should be place on the article that the redirect points to.


This template accepts three arguments. To use the arguments, place pipes after you include the template, like:
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 redirect term.
# The topic of the other article.
# The name of the other article.


<pre>{{Disambigr|the title of the redirect page|
====Optional====
the other article's topic|Other article name}}</pre>
<ol>
<li value="4">Custom text to display for the link to the other article.</li>
</ol>


As a concrete example, on the page [[Computron (G1)]]:
===Code===
<pre>{{Disambigr
|The title of the redirect page
|The other article's topic
|Other article name
|Alternate link text
}}</pre>


<pre>{{Disambigr|Computron|
==Examples==
his evil mirror-universe counterpart|Computron (SG)}}</pre>
===Code===
<pre>{{disambigr|Armada|other uses of the word Armada|Armada (disambiguation)}}</pre>
===Result===
{{disambigr|Armada|other uses of the word Armada|Armada (disambiguation)}}


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.


==See also==
==See also==
Line 22: Line 43:
* [[Template:Disambig3]]
* [[Template:Disambig3]]
* [[Template:Disambig3.5]]
* [[Template:Disambig3.5]]
* [[Template:Disambigm]]


[[Category:Disambiguation templates]]</noinclude>
[[Category:Disambiguation templates|R]]</noinclude>

Latest revision as of 01:26, 14 June 2022


Description

Use this template when you need to disambiguate between a redirect and a regular article (different from where the redirect points to). This template should be place on the article that the redirect points to.

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

  1. The redirect term.
  2. The topic of the other article.
  3. The name of the other article.

Optional

  1. Custom text to display for the link to the other article.

Code

{{Disambigr
|The title of the redirect page
|The other article's topic
|Other article name
|Alternate link text
}}

Examples

Code

{{disambigr|Armada|other uses of the word Armada|Armada (disambiguation)}}

Result

"Armada" redirects here. For other uses of the word Armada, see Armada (disambiguation).


See also