Jump to content

Template:Wikibase statement

From mediawiki.org
This page is a translated version of the page Template:Wikibase statement and the translation is 100% complete.
{{{value}}} [tanpa sumber]
Dokumentasi templat

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 [tanpa sumber]
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 [tanpa sumber]
since 16 June 2001
Country Germany [1 sumber]

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.