Template:Statement/sandbox

Documentation icon Template documentation[view · edit · history · purge ]

Usage

edit

The {{Statement}} template is used to generate a linked and localized (item-)property-value(-qualifier-qualifiervalue) sequence.

  1. parameter is the subject of the statement (and may be omitted)
  2. parameter is the predicate of the statement
  3. 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}} 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)  View with Reasonator View with SQID
{{Q''}} Douglas Adams (Q42)  View with Reasonator View with SQID
{{Q'''}} Douglas Adams (Q42)  View with Reasonator View with SQIDView profile on Scholia
{{Q!}} human : any member of Homo sapiens, unique extant species of the genus Homo, from embryo to adultDouglas Adams (Q42)
{{Q*}} human : any member of Homo sapiens, unique extant species of the genus Homo, from embryo to adultDouglas 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 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)


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

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Entity1 Entity

The entity to whom the statement applies

Example
Q42
Stringrequired
Property2 Property

The property applying to the statement

Example
P31
Stringrequired
Value3

The main value of the statement

Example
Q5
Stringrequired
Qualifier4 Qualifier

A qualifier for the statement

Example
P580
Stringsuggested
Qualifier Value5 Qualifier Value

The value of the qualifier statement

Example
25 November 1991
Stringsuggested