Template:R with Wikidata item/doc
This is a documentation subpage for Template:R with Wikidata item. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on many 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. |
Usage
change- This redirect category (rcat) template populates Category:Redirects connected intentionally to a Wikidata item. Add this rcat to a redirect in the following manner:
#REDIRECT [[(target page name)]] {{R with Wikidata item}}
- This is in accord with instructions found at Wikipedia:REDCAT.
- Use this rcat on all redirects in any namespace from titles that are used as connections to other Wikimedia projects. See the category for examples.
Parameter
changeThis rcat takes one unnamed parameter, |1=
, that may be used when a Wikidata "Q" number does not readily fill in, and you know that it exists on Wikidata. An example would be as follows:
#REDIRECT [[Duval (surname)]] {{R with Wikidata item|21491525}}
...where the number on Wikidata is Q21491525.
Usage note
changeThe {{Redirect category shell}} template (Rcat shell) is not meant to be used on soft redirects, so it should not be used to apply this template to soft redirects. It may be used to apply this template to hard redirects in the following manner:
#REDIRECT [[(target page name)]] {{Rcat shell| {{R with Wikidata item} }}
- 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.
Aliases
change- Also known as... – list of templates that redirect here and may also be used
Error detection
changeThis template automatically places redirects that are not linked to Wikidata items in the tracking category Category:Unlinked Wikidata redirects. Please fix these, either by removing {{R with Wikidata item}} or by linking them to Wikidata (temporarily break the redirect, then add as a sitelink on Wikidata, then fix the redirect).
Printworthiness
changePlease do not alter the printworthy settings of any 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, many Wikidata redirects are considered printworthy; however, there are also many 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 to populate those categories are:
{{R printworthy}}
and{{R unprintworthy}}
- Please click on each one for more details and guidance.
- On hard redirects (never on soft redirects), template {{Redirect category shell}} will accept these rcats just like any other.
- Examples:
{{Rcat shell| {{R with Wikidata item}} {{R printworthy}} }} {{Rcat shell| {{R with Wikidata item} {{R unprintworthy}} }}
- Either {{Redirect category shell}} or its alias/shortcut, {{Rcat shell}}, may be used.