Template:Wikidata redirect/doc

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
See Phabricator ticket T54564
This rcat should not be converted to the "{{Redirect template}}". In accord with that template's documentation, such a conversion would make this template unstable for use on soft redirects.

Usage

Use this rcat template in any namespace.
A typical soft redirect may appear as:
{{wiktionary redirect|(page name)}}

{{Wikidata redirect}}
  • Use this rcat on all soft redirects in any namespace from titles that are used as connections to other Wikimedia projects. See the category for examples.
  • Note that the {{Redirect category shell}} (Rcat shell) template is not used on soft redirects, so this rcat template should only be used without the Rcat shell template.

Parameter

This 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:

{{wiktionary redirect|Duval (surname)}}

{{Wikidata redirect|21491525}}

...where the number on Wikidata is Q21491525.

This template will automatically enter the item number if the soft redirect title is on Wikidata and is linked from that page. Any editor who is familiar with Wikidata can link to a soft redirect from Wikidata.

Aliases

Error detection

This 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 {{Wikidata redirect}} or by linking them to Wikidata.

Printworthiness

Please 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:
Please click on each one for more details and guidance.
Examples:
{{Wikidata redirect}}
{{R printworthy}}
or
{{Wikidata redirect}}
{{R unprintworthy}}

See also

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Wikidata redirect

Marks a redirect as a soft Wikidata redirect. Populates [[:Category:Soft redirects connected to a Wikidata item]].

Template parameters

ParameterDescriptionTypeStatus
Item number1

Set to 'Q#' or simply '#' to link to the Wikidata item if it is not found automatically by the template.

Stringoptional