Template:CombineDateMapping: Difference between revisions

From DBpedia Mappings
Jump to navigationJump to search
No edit summary
No edit summary
Line 28: Line 28:
{{#if:{{{ontologyProperty|}}}|<tr>
{{#if:{{{ontologyProperty|}}}|<tr>
<td> ontology property</td>
<td> ontology property</td>
<td>[[OntologyProperty:{{#replace:{{{ontologyProperty}}}|:|/}}]]</td>
<td>[[OntologyProperty:{{#replace:{{{ontologyProperty}}}|:|%2F}}|{{{ontologyProperty}}}]]</td>
</tr>}}
</tr>}}
</table></includeonly>
</table></includeonly>

Revision as of 10:44, 12 March 2010

{{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 = 
| unit1             = 
| templateProperty2 = 
| unit2             = 
| templateProperty3 = 
| unit3             = 
| ontologyProperty  = 
}}