Template:Interwiki from Wikidata

From Wikimedia Commons, the free media repository
Jump to: navigation, search
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


{{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

Parameter Description Default Status
Wikidata's item QID starting with "Q". It should not be needed in the pages linked to Wikidata. empty optional

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: