Template:Redirect: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
{{Hatnote|"{{{1}}}" redirects here. {{#if: {{{2|}}} | {{Hatnote|"{{{1}}}" redirects here. {{#if: {{{2|}}} | ||
| For {{{2}}}, see {{{3}}}. | | For {{{2}}}, see [[{{{3}}}]]. | ||
| For other uses, see [[{{{1}}}_(disambiguation)]]. | | For other uses, see [[{{{1}}}_(disambiguation)]]. | ||
}}}}<noinclude>{{documentation}}</noinclude> | }}}}<noinclude>{{documentation}}</noinclude> |
Revision as of 19:27, 9 February 2023
Purpose
The purpose of this template is to help disambiguate pages which have an ambiguous redirect. It creates a small note that can have either point to another similar page or a disambiguation page.
Usage
One Parameter
This version should be used when there are at least two other pages that the user may have intended to reach with the redirect. In this case, the template will create a link to the disambiguation page for that redirect.
{{RedirectHeader|<redirect>}}
Example
{{RedirectHeader|Example}}
- "Example" redirects here. For other uses, see Example_(disambiguation).
Three Parameters
This version should be used when there is exactly one other page that the user may have intended to reach with the redirect. In this case, the template will describe the difference between the two pages and will create a link to the other page.
{{RedirectHeader|<source_description>|<target_description>|<target>}}
Example
{{RedirectHeader|Ghost|the NPC|Ghost (Event)}}
- "Ghost" redirects here. For the NPC, see Ghost (Event).