Template:Claim

From Wikidata
Jump to navigation Jump to search
Documentation icon Template documentation[view] [edit] [history] [purge]

Creates a formated claims. Its parameters are item number and a property number

Usage[edit]

  • Here is {{C|https://www.wikidata.org/entity/Q1001|31|https://www.wikidata.org/entity/Q5|P19|Q2786019}} an example claim
Here is an example claim
  • :Here is {{C|1|31|1|P580|Q323}} an example claim
Here is an example claim
  • :Here is {{C|1|31|1|P580|Q323}} an example claim
Here is an example claim

Note: there is a bug when the template is used on a page paragraph not wrapped into an indentation ":" in wikitext. A carriage return is inserted after each template.

Without parameters[edit]

  • {{C}}
subject >  Wikidata property  object or value >

Special values[edit]

  • {{C|https://www.wikidata.org/wiki/Q9696|P157|some value}}
< John F. Kennedy (Q9696) View with Reasonator View with SQID > killed by (P157) View with SQID < unknown value Help >
It displayed "unknown value" in your language.
  • {{C|Q1140947|P3373|no value}}
< Rory Gilmore (Q1140947) View with Reasonator View with SQID > sibling (P3373) View with SQID < no value Help >
It displayed "no value" in your language.


Non item values[edit]

  • {{C||number|1}}
subject > quantity (P1114) View with SQID < 1 >
  • {{C||date of birth|1863}}
subject > date of birth (P569) View with SQID < 1863 >
  • {{C||date of birth|some value}}
subject > date of birth (P569) View with SQID unknown value Help

Ranks[edit]

  • {{C||date of birth|some value|rank=Preferred}}
Preferred ranksubject > date of birth (P569) View with SQID unknown value Help

See also[edit]

No description.

Template parameters

ParameterDescriptionTypeStatus
11subject

subject of the claim

Default
empty
Example
empty
Auto value
empty
Pagesuggested
main property2property

main property of the claim, either a Pid, a number id without P, or an english property label

Default
empty
Example
P17 or country
Auto value
empty
Unknownoptional
main value3

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 14

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 1 value5

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 26

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 2 value7

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 38

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 3 value9

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 410

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 4 value11

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 512

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 5 value13

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 614

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 6 value15

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 716

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
qualifier 7 value17

no description

Default
empty
Example
empty
Auto value
empty
Unknownoptional
Rankrank

rank of the statement (normal, preferred or deprecated)

Default
normal
Example
empty
Auto value
empty
Stringsuggested