Template:This is a redirect

From LIMSWiki
Revision as of 15:23, 3 August 2011 by LIMSinstitute (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
[edit] [purge] Template documentation

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:

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:

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