Template:R from code/doc
Appearance
![]() | This is a documentation subpage for Template:R from code. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template should not be substituted nor used to tag soft redirects. |
Usage
[edit]- This redirect category (rcat) template populates Category:Redirects from codes by default. Add this rcat to a redirect page (not a talk-page redirect) in the following manner:
#REDIRECT [[(target article title)]]
{{Rcat shell|
{{R from code}}
}}
- 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:
#REDIRECT [[(target article title)]]
{{R from code}}
- This is in accord with instructions found at Wikipedia:REDCAT.
- Use this rcat to tag any mainspace redirect from a code (not covered by the specific rcats below) to a related article. Examples are DOCTYPE, U+2864 and redirects from HTML and hexadecimal codes.
- Other more specific rcats are used to tag redirects from various types of code, and those are to be used instead of this template when appropriate as follows:
- For ASCII codes use {{R from ASCII code}}.
- For airport codes use {{R from airport code}}.
- For ATC (Anatomical Therapeutic Chemical) codes, use {{R from ATC code}} or {{R from ATCvet code}} depending on the code.
- For citations of legal cases use {{R from case citation}}.
- For ISO codes, use:
- {{R from ISO 4}} for serial abbreviations
- {{R from ISO 639 code}} for language codes
- {{R from ISO 3166 code}} for geographic codes
- {{R from ISO 4217 code}} for currency codes
- {{R from ISO 15924 code}} for script codes
- For postal abbreviations, use {{R from postal abbreviation}}.
- For United States postal abbreviations specifically, use {{R from US postal abbreviation}}.
- For postal codes such as ZIP codes, use {{R from postal code}}.
- For United Kingdom postal codes specifically, use {{R from UK postcode}}.
- For telephone calling codes use {{R from calling code}}.
- For Unicode U+ codes use {{R from Unicode code}}.
Aliases
[edit]- Also known as... – list of templates that redirect here and may also be used
Printworthiness
[edit]![]() | Please do not alter the printworthy settings of this rcat without first notifying the Version 1.0 Editorial Team, who are responsible for any and all materials, including redirects, that go into a printed version of Wikipedia. |
- In main-article namespace, some code redirects are unprintworthy; however, there are others that are printworthy, so there is no default sort for printworthiness. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Some rcats automatically populate either Category:Printworthy redirects or Category:Unprintworthy redirects by default. Others, like this rcat, do not, and that means it is up to editors to choose which of those categories, Printworthy or Unprintworthy, is appropriate and should be populated. The rcats that are used separately to populate those categories are:
{{R printworthy}}
and{{R unprintworthy}}
- Please click on each one for more details and guidance.
- Template {{Redirect category shell}} will accept these rcats just like any other.
- Examples:
{{Rcat shell|
{{R from code}}
{{R printworthy}}
}}
{{Rcat shell|
{{R from code}}
{{R unprintworthy}}
}}
- Either {{Redirect category shell}} or its alias/shortcut, {{Rcat shell}}, may be used.