Template:Soft redirect with Wikidata item
From Wikipedia, the free encyclopedia
From a cross-project redirect: This is a soft redirect that is used as a connection to other Wikimedia projects. A Wikidata element is linked to this page:
|
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.
![]() | This template should not be substituted and yet, unlike other rcats, this template is used only to tag and categorize soft Wikidata redirects. |
- {{Wikidata redirect}}
- {{Wdr}}
Usage
Use this rcat template in any namespace.
- This special redirect category (rcat) template populates Category:Soft redirects connected to a Wikidata item. It is "special" because it is used only to tag soft redirects that are connected to Wikidata items. To tag hard redirects that are connected to Wikidata, use the {{R with Wikidata item}} rcat template.
- A typical soft redirect may appear as:
{{wiktionary redirect|(page name)}}
{{Soft redirect with Wikidata item}}
- 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)}}
{{Soft redirect with Wikidata item|21491525}}
...where the number on Wikidata is Q21491525.
![]() | Technical note 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
- Also known as... – list of templates that redirect here and may also be used
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 {{Soft redirect with Wikidata item}} or by linking them to Wikidata.
See also
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Soft redirect with Wikidata item in articles based on its TemplateData.
TemplateData for Soft redirect with Wikidata item
More information Parameter, Description ...
Parameter | Description | Type | Status | |
---|---|---|---|---|
Item number | 1 | Set to 'Q#' or simply '#' to link to the Wikidata item if it is not found automatically by the template. | String | optional |
Close
The above documentation is transcluded from Template:Soft redirect with Wikidata item/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.