Difference between revisions of "Template:Redirect"

From Wildermyth Wiki
Line 1: Line 1:
<includeonly>
<includeonly>
: ''"{{{1|{{PAGENAME}}}}}" redirects here.  
: ''"{{{1|{{PAGENAME}}}}}" redirects here. For other uses, see [[{{{2|{{{1|{{PAGENAME}}}}} (disambiguation)}}}]].''
For other uses, see [[{{{2|{{{1|{{PAGENAME}}}}} (disambiguation)}}}]].''
</includeonly><noinclude>
</includeonly><noinclude>
{{Redirect/doc}}
{{Redirect/doc}}
</noinclude>
</noinclude>

Revision as of 16:40, 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}}
"Redirect" redirects here. For other uses, see 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 other uses, see the fruit.
{{Redirect|Orange|the fruit|Orange_(fruit)|the color|Orange_(Color)}}
"Orange" redirects here. For other uses, see the fruit.