Template:CalculateMapping: Difference between revisions
From Mediawiki1
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 27: | Line 27: | ||
</tr>}} | </tr>}} | ||
</table></includeonly> | </table></includeonly> | ||
<noinclude>'''<nowiki>{{CalculateMapping}}</nowiki>''' | <noinclude>'''<nowiki>{{CalculateMapping}}</nowiki>''' maps two template properties to one ontology property by calculating one value from both template property values using a given operation. | ||
=== Usage === | === Usage === | ||
Line 41: | Line 41: | ||
}} | }} | ||
</pre> | </pre> | ||
=== Meanings === | |||
* '''operation''': mathematical operation. Currently supported operation: add. | |||
* '''templateProperty1''' | |||
* '''unit1''' | |||
* ''templateProperty2''' | |||
* '''unit2''' | |||
* '''ontologyProperty''' | |||
=== Example === | === Example === |
Revision as of 16:49, 5 March 2010
{{CalculateMapping}} maps two template properties to one ontology property by calculating one value from both template property values using a given operation.
Usage
{{CalculateMapping | operation = | templateProperty1 = | unit1 = | templateProperty2 = | unit2 = | ontologyProperty = }}
Meanings
- operation: mathematical operation. Currently supported operation: add.
- templateProperty1
- unit1
- templateProperty2'
- unit2
- ontologyProperty
Example
{{CalculateMapping | operation = | templateProperty1 = | unit1 = | templateProperty2 = | unit2 = | ontologyProperty = }}