Difference between revisions of "Template:Redirect/doc"

From Wildermyth Wiki
(documentation)
 
Line 1: Line 1:
This is a standardized message for redirect pages, and links to other pages that are ambiguous with the name of that redirect.
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 =
= Syntax =

Latest revision as of 19:05, 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/doc redirects here. For other uses, see Template:Redirect/doc (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).