Template:Wikibase statement

From Bonkipedia
Revision as of 18:04, 12 November 2022 by ManfredoDo (talk | contribs) (1 revision imported: Template documentation pages)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


{{{value}}} [no sources]
Template documentation

This template shows an example of how Wikibase might display items. This should give a feeling for what will and what will not be possible to express with Wikibase. References and values are not further detailed yet.

How to use the template

Example:

{{Wikibase statement|item=Berlin|property=Mayor|value=[[Klaus Wowereit]]||qualifier1=since|value1=16 June 2001|numberofsources=0}}

Berlin




Mayor Klaus Wowereit [no sources]
since 16 June 2001

This will create the heading for Berlin and one statement about the Mayor with one qualifier and no source. You can use up to 5 qualifiers with this template.

If not item is given, it will just create the statement without the Heading for Berlin. So you can add several statements to one heading the following way:

 {{Wikibase statement|item=Berlin|property=Mayor|value=[[Klaus Wowereit]]||qualifier1=since|value1=16 June 2001|numberofsources=0}}
 {{Wikibase statement|property=Country|value=Germany|numberofsources=1}}

Berlin




Mayor Klaus Wowereit [no sources]
since 16 June 2001
Country Germany [1 source]

The same is true when leaving out the property. This will create several values for the first property given.

Note that this template does not do anything smart -- it merely displays how statements in Wikibase could look like.