Template:R from ISO 639 code/doc

From English Wikipedia @ Freddythechick

Purpose

This redirect category (rcat) template is added to redirects that are related to ISO 639, the language code developed by the International Organization for Standardization (ISO). The redirect titles have the form ISO 639:xxx, where xxx is a three-letter ISO 639 code. In the category they are automatically sorted by the "xxx" (without the "ISO 639:" prefix).

These redirects are maintained by PotatoBot's Task 2.

Usage

<syntaxhighlight lang="wikitext">

  1. REDIRECT (target article title)

</syntaxhighlight>

Template {{Rcat shell}} is an alias for the Redirect category shell template, which may be used to add as many appropriate rcats as needed, usually from one to seven, along with their parameters, to a redirect. For more information see the documentation on its template page. This rcat may also tag a redirect individually:

<syntaxhighlight lang="wikitext">

  1. REDIRECT (target article title)


</syntaxhighlight>

This is in accord with instructions found at Wikipedia:REDCAT.
  • Use this rcat to tag any mainspace redirect from an ISO 639 language code to an article about the language. An example is ISO 639:zhoChinese language.

Additional parameter

  • An optional unnamed parameter, |1=, may be used to alter the language series and the category in the following manner:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

or the <syntaxhighlight lang="text" class="" style="" inline="1">1=</syntaxhighlight> may be omitted

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

and if used individually:

<syntaxhighlight lang="wikitext">

</syntaxhighlight>

...where <syntaxhighlight lang="text" class="" style="" inline="1">N</syntaxhighlight> is the part number of the ISO 639 standard; currently, <syntaxhighlight lang="text" class="" style="" inline="1">N</syntaxhighlight> may be a <syntaxhighlight lang="text" class="" style="" inline="1">1</syntaxhighlight> or a <syntaxhighlight lang="text" class="" style="" inline="1">5</syntaxhighlight>.
The final number in each of those two category titles corresponds with the part number of the ISO 639 standard.

Aliases

See also