Template:Statement
{{{2}}}{{{3}}}
![]() | Uses Lua: |
Usage edit
The {{Statement}}
template is used to generate a linked and localized (item-)property-value(-qualifier-qualifiervalue) sequence.
- parameter is the subject of the statement (and may be omitted)
- parameter is the predicate of the statement
- parameter is the object of the statement
All further parameters are interpreted as qualifiers in pairs, so e.g. #4 and #5 are one qualifier, #6 and #7 are another one, etc.
For things (subjects or objects) the "Q" prefix may be omitted. For predicates the "P" prefix may be omitted as well.
Lexemes may be specified with the "L" prefix.
Syntax edit
{{Statement|<item Qid>|<property>|<value>|<qualif1>|<value1>|<qualif2>|<value2>|<qualif3>|<value3>}}
- 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)
{{Statement|Q255|P40|{{novalue}}}}
gives Ludwig van Beethoven (Q255)child (P40)no value
{{Statement|Q21121474|P6254|L2768}}
gives the (Q21121474)subject lexeme (P6254)the (L2768)
Comparisons with Template:Claim edit
Simple statement:
|
Statement with a string value:
|
Multiple property values:
|
Qualifiers:
|
See also edit
Template | Shorthand | Example |
---|---|---|
{{Autodescription}} |
{{A}} |
|
{{Data}} |
||
{{EntitySchema}} |
{{E}} |
|
{{Label}} |
Douglas Adams | |
{{LinkedLabel}} |
Douglas Adams | |
{{Label and description}} |
{{LD}} |
Douglas Adams (no description) |
{{Q}} |
Douglas Adams (Q42) | |
{{Q+}} |
Douglas Adams (Q42): English author and humourist (1952–2001) | |
{{Q'}} |
Douglas Adams (Q42) ![]() ![]() | |
{{Q''}} |
Douglas Adams (Q42) ![]() ![]() | |
{{Q'''}} |
Douglas Adams (Q42) ![]() ![]() ![]() | |
{{Q!}} |
![]() | |
{{Q*}} |
![]() | |
{{QP}} |
instance of (P31) of Douglas Adams (Q42) | |
{{QT}} |
Douglas Adams (Q42) | |
{{Property}} |
{{P}} |
|
{{P'}} |
||
{{PT'}} |
||
{{P+}} |
||
{{Lexeme}} |
{{L}} |
|
{{Claim}} |
{{C}} |
|
{{Statement}} |
{{St}} |
|
{{Statement+}} |
||
{{EzStatement+}} |
||
(Label in English) | {{Qen}} |
Douglas Adams(42) |
(Label in French) | {{Qfr}} |
Douglas Adams(42) |
(Label in Italian) | {{Qit}} |
Douglas Adams(42) |
(Label in German) | {{Qde}} |
Douglas Adams(42) |
(Label in Polish) | {{Qpl}} |
Douglas Adams(42) |
(Label in Russian) | {{Qru}} |
Дуглас Адамс(42) |
(Label in Ukrainian) | {{Quk}} |
Дуглас Адамс(42) |
(Label in Spanish) | {{Qes}} |
Douglas Adams(42) |
(Label in Chinese) | {{Qzh}} |
道格拉斯·亞當斯(42) |
(Label in Punjabi Shahmukhi) | {{Qpnb}} |
ڈگلس ایڈمس(42) |
(Label in Punjabi Gurmukhi) | {{Qpa}} |
ਡੁਗਲਸ ਐਡਮਸ(42) |
(Label in Saraiki) | {{Qskr}} |
ڈگلس ایڈمس(42) |
TemplateData edit
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 |
Value | 3 | The main value of the statement
| 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. |