Template:Soft redirect with Wikidata item
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 template should not be substituted and yet, unlike other rcats, this template is used only to tag and categorize soft Wikidata redirects. |
Usage
- 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
- REDIRECT Template:Template link
This page is a redirect. The following categories are used to track and monitor this redirect:
|
- A typical soft redirect may appear as:
<syntaxhighlight lang="wikitext">
Wikipedia does not currently have an article on "(page name)", but our sister project Wiktionary does: You can also:
|
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:
|
</syntaxhighlight>
- 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:
<syntaxhighlight lang="wikitext">
Wikipedia does not currently have an article on "Duval (surname)", but our sister project Wiktionary does: You can also:
|
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:
|
</syntaxhighlight> ...where the number on Wikidata is Q21491525.
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
TemplateData for Soft redirect with Wikidata item
<templatedata> { "description": "Marks a redirect as a soft Wikidata redirect. Populates Category:Soft redirects connected to a Wikidata item.",
"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 } }
} </templatedata>
The above documentation is transcluded from Template:Soft redirect with Wikidata item/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |