Template:R from sort name
(Redirected from Template:R sort)
Jump to navigation
Jump to search
When used with the "Redirect category shell" (Rcat shell) template:
This page is a redirect:
|
- Template {{Redirect category shell}} may be used to add one or more rcat templates, along with their parameters and categories, to a redirect. For more information see the documentation page below.
When used by itself:
- From the sorting name: This is a redirect from the target's sort name; for example, it begins with the surname of a person whose article begins with their given name.
- Two category sortkeys should be added to this rcat. The template page provides detailed information.
- This template tags redirects with a subcategory of Category:Redirects from modifications, so template {{R from modification}} should not be used along with this rcat.
This template is used on approximately 83,000 pages, so changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Please consider discussing changes on the talk page before implementing them. |
This template should not be substituted nor used to tag soft redirects. |
Usage[edit source]
- This redirect category (rcat) template populates subcategories of Category:Redirects from sort names depending on its sortkeys (see below), and it also populates Category:Printworthy redirects by default. In 2003, efforts were begun to support the Wikimedia Foundation's goal of increasing access and availability of Wikipedia articles in printed versions. Redirects from sort names are usually suitable for a printed version. In other words they are printworthy. See below for what to do for those few redirects that are not suitable for a printed version.
- Add this rcat to a redirect page (not a talk-page redirect) in the following manner:
#REDIRECT [[(target article title)]] {{Rcat shell| {{R from sort name|1=(sortkey)|2=(sortkey)}} {{R printworthy}} }}
- 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 sort name|1=(sortkey)|2=(sortkey)}}
- This is in accord with instructions found at SF:REDCAT.
- Use this rcat to tag all mainspace redirects that are used to sort people by surname (family name) first, followed by their given name, such as "Smith, John". Another use is to sort bands by name first, followed by the leading grammatical article, such as Beatles, TheThe Beatles.
- This rcat tags redirects with a subcategory of Category:Redirects from modifications, so template {{R from modification}} should not be used with this rcat.
Parameters[edit source]
- As shown above, two category sortkeys should be added whenever this rcat tags a redirect. The first parameter's sortkey is the first letter of the redirect title. For example, on the redirect Roberts, Julia the first sortkey is "R" (sortkeys are always in uppercase capital letters, please). The second parameter's sortkey is the first letter of the target article, in this case Julia Roberts, so the second sortkey is "J". Please remember to include these sortkeys. This example would appear as follows:
- Roberts, Julia (page title of redirect)
#REDIRECT [[Julia Roberts]] {{Rcat shell| {{R from sort name|R|J}} {{R printworthy}} }}
- In this example, the redirect populates the following categories:
Printability[edit source]
- Use parameter
|printworthy=no
to populate Category:Unprintworthy redirects. Otherwise these redirects will be sorted as printworthy (the default).
Aliases[edit source]
- Also known as... – list of templates that redirect here and may also be used
See also[edit source]
- {{R from ambiguous sort name}}
- {{R from given name}}
- {{R from surname}}
- WikiProject Redirect/Style guide
External links[edit source]
- Template:R from sort name at Wikipedia, the free Terran-based encyclopedia that anyone can edit.
The above documentation is transcluded from Template:R from sort name/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |