Template:Claim
Creates a formatted claim, including an object, a property, and a value, as well as (optionally) qualifiers and rank.
Usage
editThe template can be invoked as either Claim or its abbreviation, C.
Simple example
editParameters 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 properties
edit
{{Claim|https://www.wikidata.org/wiki/Q42|31|Q5}}
Use any label for properties
edit{{Claim|Q42|instance of|Q5}}
...but only in English
edit{{Claim|Q42|Bild|File:Douglas adams portrait cropped.jpg}}
Qualifiers
editAny 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 parameters
edit{{C}}
- ⟨ subject ⟩ Wikidata property ⟨ object or value ⟩
Special values
editno value
and some value
will display in the user's language:
{{C|Q9696|P157|some value}}
{{C|Q1140947|P3373|no value}}
Literal values
edit{{C||0730264152}}
{{C||27/12/|1978}}
Ranks
editThe named parameter rank
can be used to set the statement's rank:
{{C||date of birth|some value|rank=Preferred}}
See also
editTemplate | Shorthand | Example |
---|---|---|
{{Autodescription}} |
{{A}} |
totality consisting of space, time, matter and energy |
{{Data}} |
||
{{EntitySchema}} |
{{E}} |
|
{{Label}} |
Douglas Adams | |
{{LinkedLabel}} |
Douglas Adams | |
{{Label and description}} |
{{LD}} |
Q42 (English science fiction writer and humorist (1952–2001)) |
{{Q}} |
Douglas Adams (Q42) | |
{{Q+}} |
Douglas Adams (Q42): English science fiction writer and humorist (1952–2001) | |
{{Q'}} |
Douglas Adams (Q42) | |
{{Q''}} |
Douglas Adams (Q42) | |
{{Q'''}} |
Douglas Adams (Q42) | |
{{Q!}} |
Douglas Adams (Q42) | |
{{Q*}} |
Douglas Adams (Q42): English science fiction writer and humorist (1952–2001) | |
{{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 Venetian) | {{Qvec}} |
Douglas Adams(42) |
(Label in Taraškievica) | {{Qbe-tarask}} |
Дуглас Адамз(42) |
(Label in English) | {{Qen}} |
Q42(42) |
(Label in French) | {{Qfr}} |
Q42(42) |
(Label in Italian) | {{Qit}} |
Q42(42) |
(Label in German) | {{Qde}} |
Q42(42) |
(Label in Polish) | {{Qpl}} |
Q42(42) |
(Label in Russian) | {{Qru}} |
Дуглас Адамс(42) |
(Label in Ukrainian) | {{Quk}} |
Дуглас Адамс(42) |
(Label in Spanish) | {{Qes}} |
Q42(42) |
(Label in Chinese) | {{Qzh}} |
道格拉斯·亞當斯(42) |
(Label in Shahmukhi) | {{Qpnb}} |
ڈگلس ایڈمس(42) |
(Label in Gurmukhi) | {{Qpa}} |
ਡਗਲਸ ਐਡਮਸ(42) |
(Label in Saraiki) | {{Qskr}} |
ڈگلس ایڈمس(42) |
(Label in Swedish) | {{Qsv}} |
Q42(42) |
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. |