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:
(no entity). Error: no Wikidata item linked! Either link a Wikidata item or remove this template.
|
This is the template sandbox page for Template:Soft redirect with Wikidata item (diff). See also the companion subpage for test cases. |
This template should not be substituted and yet, unlike other rcats, this template is used only to tag and categorize soft Wikidata redirects. |
{{wiktionary redirect|(page name)}}
{{Soft redirect with Wikidata item}}
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. |
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.
TemplateData for Soft redirect with Wikidata item
Marks a redirect as a soft Wikidata redirect. Populates [[:Category:Soft redirects connected to a Wikidata item]].
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 |