Template:List of properties/Row

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

Usage

[edit]

Done to be used in Wikidata:List of properties with Template:List of properties/Header and Template:List of properties/Footer

It can also be used on Wikidata:Property proposal for series of Infobox parameters.

Examples

[edit]

For properties

[edit]
{{List of properties/Header}}
{{List of properties/Row
 | id              = 22
 | description     = the subject has the object as their father
 | example-subject = Q9682
 | example-object  = Q280856
 | pair = 40 }}
{{List of properties/Footer}}
Title ID Data type Description Examples Inverse
fatherP22Itemfather: the subject has the object as their fatherElizabeth II <father> George VIchild

For a property with a qualifier

[edit]
{{List of properties/Header}}
{{List of properties/Row
 | id                = 22
 | qualifier = 143
 | example-subject   = Q9682
 | example-object    = Q280856
 | example-predicate = Q328
}}
{{List of properties/Footer}}
Title ID Data type Description Examples Inverse
father with qualifier imported from Wikimedia projectP22Itemfather: male parent of the subject. For stepfather, use "stepparent" (P3448)Elizabeth II <father> George VI
<imported from Wikimedia project> English Wikipedia
child

For qualifiers

[edit]
{{List of properties/Header}}
{{List of properties/Row
 | id                = 143
 | description       = source of this claim's value
 | example-subject   = Q9682
 | example-property  = P22
 | example-object    = Q280856
 | example-predicate = Q328
}}
{{List of properties/Footer}}
Title ID Data type Description Examples Inverse
imported from Wikimedia projectP143ItemWikimedia project: source of this claim's valueElizabeth II <father> George VI
<imported from Wikimedia project> English Wikipedia
-

For qualifiers in the context of a specific property

[edit]
{{List of properties/Header}}
{{List of properties/Row
 | id                = 143
 | contextualized-qualifier = true
 | description       = source of this claim's value
 | example-subject   = Q9682
 | example-property  = P22
 | example-object    = Q280856
 | example-predicate = Q328
}}
{{List of properties/Footer}}
Title ID Data type Description Examples Inverse
father with qualifier imported from Wikimedia projectP143ItemWikimedia project: source of this claim's valueElizabeth II <father> George VI
<imported from Wikimedia project> English Wikipedia
-

Copy and Paste

[edit]

Empty:

{{List of properties/Row
 | id              = 
 | type            = item/string
 | example-subject = 
 | example-object  = 
}}

With title, description, property, predicate and pair:

{{List of properties/Row
 | id                = 
 | title             = 
 | type              = item/string
 | subjectitem       = item/string
 | description       = 
 | example-subject   = 
 | example-property  = 
 | example-object    = 
 | example-predicate = 
 | pair              = 
 | pair2             = 
}}

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Property IDid

no description

Numberrequired
Qualifier Property Idqualifier

no description

Unknownoptional
titletitle

no description

Unknownoptional
Subject itemsubjectitem

wikitext or a single QID

Example
Q5
Auto value
value of P1629
Unknownoptional
Descriptiondescription

Description text

Stringoptional
commentcomment

no description

Unknownoptional
typetype

no description

Unknownoptional
example-subjectexample-subject

no description

Unknownoptional
example-propertyexample-property

no description

Unknownoptional
example-objectexample-object

no description

Unknownoptional
example-predicateexample-predicate

no description

Unknownoptional
pairpair

no description

Unknownoptional
pair2pair2

no description

Unknownoptional
contextualized-qualifiercontextualized-qualifier

no description

Booleanoptional