Template:Disambigr: Difference between revisions
From MediaWiki
Jump to navigationJump to search
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. | |||
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. | |||
< | ====Optional==== | ||
the other article | <ol> | ||
<li value="4">Custom text to display for the link to the other article.</li> | |||
</ol> | |||
===Code=== | |||
<pre>{{Disambigr | |||
|The title of the redirect page | |||
|The other article's topic | |||
|Other article name | |||
|Alternate link text | |||
}}</pre> | |||
<pre>{{ | ==Examples== | ||
===Code=== | |||
<pre>{{disambigr|Armada|other uses of the word Armada|Armada (disambiguation)}}</pre> | |||
===Result=== | |||
{{disambigr|Armada|other uses of the word Armada|Armada (disambiguation)}} | |||
==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
- The redirect term.
- The topic of the other article.
- The name of the other article.
Optional
- 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). |

