Template:Claim

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

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

Usage[edit]

  • {{Claim|42|31|5}}
  • 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
< Universe (Q1) View with Reasonator View with SQID > instance of (P31) View with SQID < Universe (Q1) View with Reasonator View with SQID >
start time (P580) View with SQID < Q323 >
an example claim
  • :Here is {{C|1|31|1|P580|Q323}} an example claim
Here is
< Universe (Q1) View with Reasonator View with SQID > instance of (P31) View with SQID < Universe (Q1) View with Reasonator View with SQID >
start time (P580) View with SQID < Q323 >
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

See also[edit]