Template:Wq

Africa

Template documentation

Inserts a localized Wikipedia link from a given Wikidata entity.

[Edit template data]

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Entity ID1

Wikidata item identifier

Example
Q15
Stringrequired
Link label2

Link text, if you don’t want to use localized entity label from Wikidata.

Example
cradle of humanity
Stringoptional
Target language codelang

Short language code identifying the Wikipedia to which the link should lead. Defaults to the language of the current page.

Example
fr
Stringoptional

Example

{{wq|Q15}} will render as “Africa” in English page, and as “Afrique in French page.