Difference between revisions of "Template:Redirect"
Gamebuster (talk | contribs) |
Gamebuster (talk | contribs) (Fix not working for mod pages) |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
: '' | :'''{{{1|{{FULLPAGENAME}}}}}''' redirects here. {{#if:{{{3|}}} | ||
</includeonly><noinclude> | |For {{{2}}}, see [[{{{3}}}]].{{#if:{{{5|}}}| For {{{4}}}, see [[{{{5}}}]].}}{{#if:{{{7|}}}| For {{{6}}}, see [[{{{7}}}]].}} | ||
| | |||
{{#if:{{{2|}}} | |||
|For other uses, see [[{{{2}}}]]. | |||
|For other uses, see [[{{{1|{{FULLPAGENAME}}}}} (disambiguation)]]. | |||
}} | |||
}} | |||
</includeonly> | |||
<noinclude> | |||
{{Redirect/doc}} | {{Redirect/doc}} | ||
</noinclude> | </noinclude> | ||
Latest revision as of 21:41, 17 September 2025
This is a standardized message for redirect pages, and links to other pages that are ambiguous with the name of that redirect.
Template documentation: Template:Redirect/doc
Syntax
No Parameters (Invalid)
If no parameters are supplied, simply shows a redirect to the disambiguation page. This should never be used because a page never redirects to itself.
{{Redirect}}- Template:Redirect redirects here. For other uses, see Template:Redirect (disambiguation).
1 Parameter
If only one parameter is supplied, the disambiguation page of the supplied parameter will be used.
{{Redirect|REDIRECT}}
{{Redirect|Foo}}- Foo redirects here. For other uses, see Foo (disambiguation).
2 Parameters
{{Redirect|FooThing|Foo}}If two parameters are supplied, the first parameter is the name of the page that redirects here, and the second parameter is the 'other uses' page (Typically a disambiguation page).
- FooThing redirects here. For other uses, see Foo.
3 or 5 Parameters
If three parameters are supplied, the first parameter is the name of the page that redirects here. The second parameter is a use case, and the third parameter is the page for that usage. The same goes for params 4 and 5.
{{Redirect|Orange|the fruit|Orange_(fruit)}}- Orange redirects here. For the fruit, see Orange_(fruit).
{{Redirect|Orange|the fruit|Orange_(fruit)|the color|Orange_(Color)}}- Orange redirects here. For the fruit, see Orange_(fruit). For the color, see Orange_(color).