Template:Claim
Creates a formatted claim, including an object, a property, and a value, as well as (optionally) qualifiers and rank.
UsageEdit
The template can be invoked as either Claim or its abbreviation, C.
Simple exampleEdit
Parameters 1-3 are interpreted as object, property, and value, respectively:
{{Claim|Q42|P31|Q5}}
Use identifiers (P<digits>
or Q<digits>
), full URLs, or just the numerical IDs to refer to entities and propertiesEdit
{{Claim|https://www.wikidata.org/wiki/Q42|31|Q5}}
Use any label for propertiesEdit
{{Claim|Q42|instance of|Q5}}
...but only in EnglishEdit
{{Claim|Q42|Bild|File:Douglas adams portrait cropped.jpg}}
QualifiersEdit
Any pair of two additional parameters after the third turns into a qualifier and value:
{{C|Q1001|P27|Q1775277|P580|1869}}
Here, as well, English labels can be used for qualifier properties:
{{C|Q181803|P161|Q81328|character role|Q51802}}
Without parametersEdit
{{C}}
- ⟨ subject ⟩ Wikidata property ⟨ object or value ⟩
Special valuesEdit
no value
and some value
will display in the user's language:
{{C|Q9696|P157|some value}}
{{C|Q1140947|P3373|no value}}
Literal valuesEdit
{{C||0730264152}}
{{C||27/12/|1978}}
RanksEdit
The named parameter rank
can be used to set the statement's rank:
{{C||date of birth|some value|rank=Preferred}}
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 author and humourist (1952–2001)
{{Q'}}
{{Q''}}
{{Q'''}}
{{Q!}}
{{Q*}}
Douglas Adams (Q42): English author and humourist (1952–2001)
{{QP}}
{{QT}}
{{Property}}
{{P}}
{{P'}}
{{PT'}}
{{P+}}
{{Lexeme}}
{{L}}
{{Claim}}
{{C}}
{{Statement}}
{{St}}
{{Statement+}}
{{Qen}}
(displays English label){{Qfr}}
(French){{Qit}}
(Italian){{Qde}}
(German){{Qru}}
(Russian){{Quk}}
(Ukrainian){{Qes}}
(Spanish){{Qzh}}
(Chinese)
The above documentation is transcluded from Template:Claim/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. |