Template:Soft redirect with Wikidata item/doc

< Template:Soft redirect with Wikidata item


Usage

  1. REDIRECT Template:Template link

rcat template.

A typical soft redirect may appear as:

<syntaxhighlight lang="wikitext">

</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">

</syntaxhighlight> ...where the number on Wikidata is Q21491525.

 Info:

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

See also

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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>