Statements

From Beta Wikipedia
Jump to navigation Jump to search

This example page demonstrates the differences between the #property and the #statements parser functions. It utilizes the "arbitrary access" feature (via the from= parameter) to pull data from an example item at wikidata.beta.wmflabs.org.

Commons media file[edit | edit source]

#statements:

#property: Douglas adams portrait cropped.jpg

Note that #property can not be used in the image syntax when it returns multiple file names.

Geographic coordinates[edit | edit source]

#statements: 51°34′1″N 0°8′50″W

#property: 51°34'1.2346"N, 0°8'49.8765"W

Monolingual text[edit | edit source]

#statements: Douglas Noël Adams

#property: Douglas Noël Adams

Point in time[edit | edit source]

#statements: 11. Mai 2001

#property: 11. Mai 2001

URL[edit | edit source]

#statements: http://www.douglasadams.com/is more robust.

#property: http://www.douglasadams.com/is less robust.

External identifier[edit | edit source]

#statements: douglas_adams, abcde

#property: douglas_adams, abcde

Item[edit | edit source]

#statements: Cambridge, Erde is already linked.

#property: Cambridge, Erde can not be linked when it returns multiple labels.