Template:This is a redirect/doc
This is a documentation subpage for Template:This is a redirect. It contains usage information, categories, interlanguage links, and other content that is not part of the original template page. |
This template should not be substituted. |
Usage
Note: This template should not be used on soft redirects.
This template is based on a proposal to standardize redirect templates. Its basic purpose is to simplify the process of tagging redirects.
Used by itself with no parameters ({{This is a redirect}}
), the template will appear as above and automatically categorise the page into Category:Miscellaneous redirects.
Apart from e1 through e6, all other parameters are used as follows: The template transcludes whatever other template begins with "R ", followed by the parameter's text. For example,
{{This is a redirect|from airport code}}
uses a version of {{R from airport code}} and produces:
This page is a redirect:
|
If a template beginning with "R " is not found, the transcluded template is whatever has the same title as the exact text given, so {{This is a redirect|R from airport code}}
produces the same result as the above.
Up to six templates can be transcluded. Parameters e1 through e6 are optional explanations, to clarify why the redirect category applies in each particular case.
Example
{{This is a redirect|from airport code|e1=This airport code is rarely used any more.|from alternative language|e2=The language is English.|from album|e3=OK, this is not really an album.|from Unicode|e4=You get the idea.}}
produces:
This page is a redirect:
This is a redirect from an English name to a name in another language, or vice-versa. It leads to the title in accordance with the naming conventions for titles in other languages and can help writing. However, do not replace these redirected links with a piped link unless the page is updated for another reason. For more information, follow the category link.
|
As the above example currently demonstrates with {{R from alternative language}}, not all the transcluded templates will appear in bullet form – only those to which a specific ifeq sequence has been added.
See also
- Template:R template index, an index of most used Rcats by function
- Template:This is a redirect/code, for original explanations of this template's code
- Wikipedia:Template messages/Redirect pages, an alphabetical index of Rcats
- Wikipedia:WikiProject Redirect/Style guide