Template:DateIntervalMapping: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
| {{#if:{{{endDateOntologyProperty|}}}|[[OntologyProperty:{{#replace:{{{endDateOntologyProperty}}}|:|/}}]]|<span style="color:red">please define an end date ontology property</span>}} | | {{#if:{{{endDateOntologyProperty|}}}|[[OntologyProperty:{{#replace:{{{endDateOntologyProperty}}}|:|/}}]]|<span style="color:red">please define an end date ontology property</span>}} | ||
|}</includeonly> | |}</includeonly> | ||
<noinclude> | <noinclude>'''<nowiki>{{DateIntervalMapping}}</nowiki>''' maps a template property containing date intervals to a start date and end date ontology property. | ||
=== Usage === | === Usage === | ||
<pre> | <pre> | ||
{{ | {{DateIntervalMapping | ||
| templateProperty = | |||
| startDateOntologyProperty = | |||
| endDateOntologyProperty = | |||
}} | }} | ||
</pre> | </pre> | ||
=== Meanings === | === Meanings === | ||
* '''templateProperty''' | |||
* '''startDateOntologyProperty''' | |||
* '''endDateOntologyProperty''' | |||
=== Example === | === Example === | ||
<pre> | <pre> | ||
{{ | {{DateIntervalMapping | ||
| templateProperty = | |||
| startDateOntologyProperty = | |||
| endDateOntologyProperty = | |||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Revision as of 16:46, 5 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
{{DateIntervalMapping | templateProperty = | startDateOntologyProperty = | endDateOntologyProperty = }}