Template:Wikipedia

From Wikidata
Jump to navigation Jump to search
Documentation icon Template documentation[view · edit · history · purge ]

Usage[edit]

Template to link the Wikipedia article for a data item by its identifier, e.g:

The link label can be changed with the second parameter, e.g:

Note that the template automatically links the right Wikipedia article for the current page language (via the sitelinks of the data item). If there is no sitelink to a Wikipedia article of the current page language, the English Wikipedia article is linked instead.

This allows the usage of the template within <translate> tags, as follows:

<translate>
Have you read about {{wikipedia|<tvar name=1>Q5</tvar>|humans}}?
</translate>

See also[edit]

  • {{Ll}} can be used to link the right language version for pages within this wiki
  • Wikidata Hub (Q63379538) the service that powers this template