Template:SpecificProperty: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
(add id="{{{templateProperty|}}}" to allow direct #property links. '''NOTE''': call pages using this template with &action=purge) |
||
Line 1: | Line 1: | ||
<includeonly><table class="wikitable"> | <includeonly><table class="wikitable" id="{{{ontologyProperty|}}}"> | ||
<tr><th style="text-align:left" colspan="2">Specific Property <small>([[Template:SpecificProperty|<span style="cursor:help;">help</span>]])</small> | <tr><th style="text-align:left" colspan="2">Specific Property <small>([[Template:SpecificProperty|<span style="cursor:help;">help</span>]])</small> | ||
</th></tr> | </th></tr> |
Revision as of 21:34, 24 March 2012
{{SpecificProperty}} is used to create a new refined property based on the general property.
Usage
{{SpecificProperty | ontologyProperty = | unit = }}
Meanings
- ontologyProperty: A template property to ontology property mapping should list one ontology property.
- unit: If a template property containing a numerical value and a unit is mapped, the unit has to be defined. If a template property has no default unit defined, e.g. its values can contain different units of the same dimension, the dimension has to be defined for usability as well as validation reasons. Possible dimensions are Length or Mass.
Example
The general property height's range is the SI length unit metre. For the ontology class Person one can refine the property using the range centimetre.
{{SpecificProperty | ontologyProperty = height | unit = centimetre }}