Template:DateIntervalMapping: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
AnjaJentzsch (talk | contribs) |
AnjaJentzsch (talk | contribs) No edit summary |
||
Line 6: | Line 6: | ||
|- | |- | ||
| start date ontology property | | start date ontology property | ||
| {{#if:{{{startDateOntologyProperty|}}}|[[OntologyProperty:{{#replace:{{{startDateOntologyProperty}}}|:| | | {{#if:{{{startDateOntologyProperty|}}}|[[OntologyProperty:{{#replace:{{{startDateOntologyProperty}}}|:|%2F}}|{{{startDateOntologyProperty}}}]]|<span style="color:red">please define a start date ontology property</span>}} | ||
|- | |- | ||
| end date ontology property | | end date ontology property | ||
| {{#if:{{{endDateOntologyProperty|}}}|[[OntologyProperty:{{#replace:{{{endDateOntologyProperty}}}|:| | | {{#if:{{{endDateOntologyProperty|}}}|[[OntologyProperty:{{#replace:{{{endDateOntologyProperty}}}|:|%2F}}|{{{endDateOntologyProperty}}}]]|<span style="color:red">please define an end date ontology property</span>}} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude>'''<nowiki>{{DateIntervalMapping}}</nowiki>''' maps a template property containing date intervals to a start date and end date ontology property. | <noinclude>'''<nowiki>{{DateIntervalMapping}}</nowiki>''' maps a template property containing date intervals to a start date and end date ontology property. |
Revision as of 09:34, 12 March 2010
{{DateIntervalMapping}} maps a template property containing date intervals to a start date and end date ontology property.
Usage
{{DateIntervalMapping | templateProperty = | startDateOntologyProperty = | endDateOntologyProperty = }}
Meanings
- templateProperty
- startDateOntologyProperty
- endDateOntologyProperty
Example
Mapping
{{DateIntervalMapping | templateProperty = active years | startDateOntologyProperty = activeYearsStartYear | endDateOntologyProperty = activeYearsEndYear }}