Template:Wikibase statement

From MediaWiki.org
Jump to navigation Jump to search

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[edit]

Example:

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

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

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.