Open main menu

Template:Interwiki from Wikidata

(Redirected from Template:Interwiki from wikidata)
Documentation icon Documentationviewedithistorypurge

This documentation is transcluded from Template:Interwiki from Wikidata/doc.

Template adds interlanguage links (aka. interwiki links) to the categories which are linked to Wikidata category items.

The template automatically sets the following categories: Category:Interwiki from wikidata

Usage

{{Interwiki from wikidata}}

The following logic is used:

  • If the Wikidata category item has some sitelinks to Wikipedia categories those are used
  • If property "category's main topic (P301)" is used then the article item's QID is recovered
  • For Wikipedias without category interlanguage links, interlanguage links to Wikipedia articles are added

Template parameters

ParameterDescriptionDefaultStatus
Wikidata
wikidata
1
Wikidata's item QID starting with "Q". It should not be needed in the pages linked to Wikidata.emptyoptional

Additional information

The template is intended to be used in the following namespaces: the Category namespace

The template is intended to be used by the following user groups: no user group specified

Relies on:

Module:Interwiki