Template:CombineDateMapping: Difference between revisions
From DBpedia Mappings
Jump to navigationJump to search
AnjaJentzsch (talk | contribs) No edit summary |
No edit summary |
||
Line 51: | Line 51: | ||
<pre> | <pre> | ||
{{CombineDateMapping | {{CombineDateMapping | ||
| templateProperty1 = | | templateProperty1 = debutdate | ||
| unit1 = | | unit1 = xsd:gMonthDay | ||
| templateProperty2 = | | templateProperty2 = debutyear | ||
| unit2 = | | unit2 = xsd:gYear | ||
| templateProperty3 = | | templateProperty3 = | ||
| unit3 = | | unit3 = | ||
| ontologyProperty = | | ontologyProperty = activeYearsStartDate | ||
}} | }} | ||
</pre> | </pre> |
Latest revision as of 17:16, 6 August 2015
{{CombineDateMapping}} maps up to three template properties containing date values to ontology properties. It can combine several values to one date value.
Usage
{{CombineDateMapping | templateProperty1 = | unit1 = | templateProperty2 = | unit2 = | templateProperty3 = | unit3 = | ontologyProperty = }}
Example
{{CombineDateMapping | templateProperty1 = debutdate | unit1 = xsd:gMonthDay | templateProperty2 = debutyear | unit2 = xsd:gYear | templateProperty3 = | unit3 = | ontologyProperty = activeYearsStartDate }}