Jump to content

Template:WikidataQueryLink

From mediawiki.org

link={{{wikidataQueryLink}}} [{{{wikidataQueryLink}}} View data on Wikidata]

Template documentation

Example Usage

[edit]

{{WikidataQueryLink|wikidataQueryLink=https://w.wiki/88jn}}

Description

[edit]

This template is a Wikitext link with the Wikidata icon to the left. The main purpose is to make it easier for people to easily and conspicuously link to Wikidata related content. A secondary purpose is to atomize the ImageWithWikidataQueryLink template - a template used to put a link to Wikidata queries and data outputs under Commons images that relate to them. This template by itself could be used to link back to Wikidata queries and data by putting it under wiki content like tables presenting demographic information.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
wikidataQueryLinkwikidataQueryLink

A link to a Wikidata Query Service query or data output

Example
https://w.wiki/88jn
URLrequired
linkDisplayTextlinkDisplayText

The text to display on wiki

Default
View data on Wikidata
Stringoptional