Bản mẫu:R with Wikidata item/doc

== Usage**
 This a special redirect (rcat) template. It is "special" because it tags hard redirects that are connected to items on Wikidata. Use the Soft redirect with Wikidata item rcat template to tag soft redirects that connect to Wikidata items. Add this rcat to a redirect page (not a talk-page redirect) in the following manner: 
#REDIRECT (target article title)
 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)#(target list entry section/anchor)
 This is in accord with instructions found at Wikipedia:REDCAT.- Use this rcat on all hard redirects in any namespace from titles that are used as connections to other Wikimedia projects. See the category for examples.

**Parameter**
This rcat takes one unnamed parameter, (Wikidata item #), that may be used when a Wikidata "Q" number does not readily fill in, and you know that it exists on Wikidata. Examples follow:
#REDIRECT (target article title)
 where the item number on Wikidata is Q21491525 – the "Q" prefix is optional:
#REDIRECT (target article title)

**Aliases**
 Template:R wikidata - Template:R with wikidata- Template:R Wikidata - Template:R with Wikidata - Template:Redirect wikidata - Template:Soft redirect with Wikidata item/hard - Template:Rwikidata - Template:Wikidata redirect/hard - Template:R with wikidata item
A live list of redirects is hidetrans=1&hidelinks=1&limit=500 here.

**Error detection**
This template automatically places redirects that are not linked to Wikidata items in the tracking category :Thể loại:Trang đổi hướng chưa được liên kết với khoản mục Wikidata. Please fix these, either by removing R with Wikidata item or by linking them to Wikidata (using the 70894304 badge to avoid running into an error).

**Printworthiness**
 In main-article namespace, many redirects with Wikidata items 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 rcat templates automatically populate either Printworthy redirects or Unprintworthy redirects by default. Others, like this rcat template, 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.
: Examples:
 Either Redirect category shell or its alias/shortcut, Rcat shell, may be used.

**See also**
 WikiProject Redirect/Style guide

**TemplateData == 
{ "description": "Marks a redirect as a hard Wikidata redirect.",
"params": { "1":
{ "label":       "Item number",
"description": "Set to 'Q#' or simply '#' to link to the Wikidata item if it is not found automatically by the template.",
"type":        "string",
"required":    false
}
}
}
Wikidata item