Template:R from surname/doc
Appearance
![]() | This is a documentation subpage for Template:R from surname. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template is used on approximately 26,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | If you plan to make breaking changes to this template, move it, or nominate it for deletion, please notify Twinkle's users and maintainers at Wikipedia talk:Twinkle as a courtesy, as the standard installation of Twinkle adds and removes this template. Thank you! |
![]() | This template should not be substituted nor used to tag soft redirects. |
Usage
[edit]- This redirect category (rcat) template populates Category:Redirects from surnames and, for administrative purposes, Category:Surnames is also populated 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 surname}}
}}
- 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 surname}}
- This is in accord with instructions found at Wikipedia:REDCAT.
- Use this rcat to tag any mainspace redirect from a surname. These surname redirects are used because Wikipedia has only one article about a person with this surname, or because one individual is the most likely topic sought by this surname (other persons who share this name might be listed at an anthroponymy article or at the end of a disambiguation page).
- The sort to Category:Surnames was asked for by contributors who monitor that category for maintenance needs. If necessary, it can be suppressed by using the unnamed parameter,
|1=
, in the following manner:
{{Rcat shell|
{{R from surname|1=nocat}}
}}
- or the
1=
may be omitted:
{{Rcat shell|
{{R from surname|nocat}}
}}
- and if applied individually:
{{R from surname|nocat}}
- That will suppress the redirect's population of Category:Surnames, and it will still populate the Redirects from surnames category.
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 surname redirects are printworthy; however, there are others that are unprintworthy, 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 surname}}
{{R printworthy}}
}}
{{Rcat shell|
{{R from surname}}
{{R unprintworthy}}
}}
- Either {{Redirect category shell}} or its alias/shortcut, {{Rcat shell}}, may be used.
TemplateData
[edit]This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:R from surname in articles based on its TemplateData.
TemplateData for R from surname
This redirect category (rcat) template is used where there is only one article about a person with this surname, or because one individual is the most likely topic sought by this surname. This rcat populates [[Category:Redirects from surnames]] and, for administrative purposes, [[Category:Surnames]] is also populated by default.
Parameter | Description | Type | Status | |
---|---|---|---|---|
1 | 1 | By default, this rcat will populate [[Category:Surname]]. That can be suppressed using "nocat" in this unnamed parameter. [[Category:Redirects from surnames]] will be unaffected.
| String | optional |