Template:Statement
{{{2}}} {{{3}}}
UsageEdit
The {{Statement}}
template is used to generate a linked and localized (entity-)property-value(-qualifier-qualifiervalue) sequence. Parameter 1 and the parameters 4 and 5 together are optional. IDs (and sequences of numbers) will be linked automatically. The "Q" prefix is optional and for parameters 2 and 4 the "P" prefix is optional. For example,
{{Statement||P31|Q5}}
gives instance of (P31) human (Q5)
{{Statement|Q42|P31|Q5}}
gives Douglas Adams (Q42) instance of (P31) human (Q5)
{{Statement|42|31|5}}
gives Douglas Adams (Q42) instance of (P31) human (Q5), too
{{Statement|42|26|14623681|580|25 November 1991}}
gives Douglas Adams (Q42) spouse (P26) Jane Belson (Q14623681) / start time (P580) 25 November 1991
{{statement|P3713|P2302|Q21510864|P2306|P1855}}
gives category for value not in Wikidata (P3713) property constraint (P2302) value requires statement constraint (Q21510864) / property (P2306) Wikidata property example (P1855)
ComparisonsEdit
{{Claim|42|31|5}}
→{{Statement|42|31|5}}
→ Douglas Adams (Q42) instance of (P31) human (Q5)
{{Claim|42|569|11 March 1952}}
→{{Statement|42|569|11 March 1952}}
→ Douglas Adams (Q42) date of birth (P569) 11 March 1952
Multiple property values:
{{Claim|Q1001|31|Q5|P19|Q2786019}}
→{{Statement}}
No equivalent.
Qualifiers:
{{Statement|42|26|14623681|580|25 November 1991}}
→ Douglas Adams (Q42) spouse (P26) Jane Belson (Q14623681) / start time (P580) 25 November 1991{{Claim}}
No equivalent.
See alsoEdit
{{Autodescription}}
{{A}}
{{Data}}
{{EntitySchema}}
{{E}}
{{Label}}
- Douglas Adams
{{LinkedLabel}}
{{Label and description}}
{{LD}}
- Douglas Adams (no description)
{{Q}}
{{Q+}}
- Douglas Adams (Q42): English writer and humorist
{{Q'}}
{{Q''}}
{{Q'''}}
TemplateDataEdit
This is the TemplateData documentation for this template used by VisualEditor and other tools
TemplateData for Template:Statement
A template to display a statement
Parameter | Description | Type | Status | |
---|---|---|---|---|
Entity | 1 Entity | The entity to whom the statement applies
| String | required |
Property | 2 Property | The property applying to the statement
| String | required |
Statement | 3 Statement | The statement applying to the property
| String | required |
Qualifier | 4 Qualifier | A qualifier for the statement
| String | suggested |
Qualifier Value | 5 Qualifier Value | The value of the qualifier statement
| String | suggested |
The above documentation is transcluded from Template:Statement/doc (edit | history). Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) page. Please add categories to the /doc subpage. Subpages of this template. |