Template:List of properties with sources
Uses Lua: |
This template allow the creation of properties list in a similar way to Template:List of properties/Row but adding a "Described by" column.
This is usefull when it is needed to ensure that properties names and descriptions on Wikidata are coherent with official sources.
In example for the materials project it is usefull to list the ISO and ASTM standards that define the property.
The "Described by" columns gather data from :
- described by source (P1343)
- described at URL (P973)
- Wikidata item of this property (P1629) with Wikipedia link
- name (P2561) + named by (P3938)
- describedby = "free text"
Other sources of content may be added if usefull for other projects.
Some efforts are still needed to support a full internationalization.
Usage
editDone to be used together :
- Template:List of properties with sources/Header
- Template:List of properties with sources/Row
- Template:List of properties with sources/Footer
Main use could be for Wikidata projects that need to document them properties sources.
Examples
editFor properties
edit{{List of properties with sources/Header}}
{{List of properties with sources/Row
| id = 22
| description = the subject has the object as their father
| describedby = [https://www.britannica.com/topic/parent-kinship Encyclopedia Britannica]
| example-subject = Q9682
| example-object = Q280856
| pair = 40
}}
{{List of properties with sources/Footer}}
Title |
ID | Data type | Description | Described by | Examples | Inverse |
---|---|---|---|---|---|---|
father | P22 | Item | father: the subject has the object as their father | Elizabeth II <father> George VI | child |
For qualifiers
edit{{List of properties with sources/Header}}
{{List of properties with sources/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 with sources/Footer}}
Title |
ID | Data type | Description | Described by | Examples | Inverse |
---|---|---|---|---|---|---|
imported from Wikimedia project | P143 | Item | Wikimedia projects: source of this claim's value | Elizabeth II <father> George VI <imported from Wikimedia project> English Wikipedia | - |
For qualifiers in the context of a specific property
edit{{List of properties with sources/Header}}
{{List of properties with sources/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 with sources/Footer}}
Title |
ID | Data type | Description | Described by | Examples | Inverse |
---|---|---|---|---|---|---|
father with qualifier imported from Wikimedia project | P143 | Item | Wikimedia projects: source of this claim's value | Elizabeth II <father> George VI <imported from Wikimedia project> English Wikipedia | - |
Copy and Paste
editNew and empty
{{List of properties with sources/Row|id=new|title=tensile modulus of elasticity}}
Inline new with basic info:
{{List of properties with sources/Row|id=new|type=item|title=TITLE|description=DESCRIPTION|describedby=SOURCE|example=EXAMPLE}}
Empty:
{{List of properties with sources/Row|id=5480}}
Quite empty :
{{List of properties with sources/Row
| id =
| type = item/string
| example-subject =
| example-object =
}}
With title, description, property, predicate and pair:
{{List of properties with sources/Row
| id =
| title =
| type = item/string
| description =
| describedby =
| example-subject =
| example-property =
| example-object =
| example-predicate =
| pair =
| pair2 =
}}
The above documentation is transcluded from Template:List of properties with sources/doc (edit | history). Editors can experiment in this template's sandbox (create | mirror) and testcases (create) page. Please add categories to the /doc subpage. Subpages of this template. |