Template:Data/doc

Retrieves data from Wikidata, and formats it using Module:Wikidata. Same parameters as those in the p.formatStatements property of the module.

Parameters
, will make a add a new line after each statement.
 * item (required): Q + numeric ID
 * property (required) P + numeric ID of the property that the claims should have
 * withqualfier = qualifiers that the statement should have
 * withrank = rank of the statement ; 'preferred', 'normal', 'deprecated' or 'valid' (ie normal and preferred). By default = preferred.
 * sourceproperty = items should have this property in the source
 * withsource = the source that should be provided in the statement (if the sourceproperty parameter is not provided, the property used is p248)
 * excludespecial = set to true if you do not want to get "novalue" and "somevalue".
 * numval = if you want to set a maximum number of values to be returned
 * sorttype = set to "chronological" to get the statements in chronological order using the, and  qualifiers. Set to "inverrted for chronological order. From a Lua module, you can also define your own sorting criteria.
 * showsource = set to "true" if you want the source of the statement to be displayed.
 * lang for the desired language
 * targetvalue the value should of the statement should be this value (only works for item-type properties)
 * displayformat = the format in which the args should be returned. For example, for a string-type property displayformat = "weblink" returns a formatted weblink.
 * conj = the conjunction separating the statements. For example, conj =
 * showqualifier = the qualifiers that should be shown along with the mainsnak value