OslTemplate:Property/Quantity/Unit: Difference between revisions

From Onterface Dataspace
(Updated with content from Extension:OpenSemanticLab version 0.0.3)
 
(use Equivalent URI, store HasUnit)
Tag: 2017 source edit
Line 4: Line 4:
-->{{#ifeq: {{{use_as_input_unit}}}|Yes|{{#set:|HasInputUnitSymbol={{{unit}}}}}|}}<!--
-->{{#ifeq: {{{use_as_input_unit}}}|Yes|{{#set:|HasInputUnitSymbol={{{unit}}}}}|}}<!--
-->{{#set:|HasUnitSymbol={{{unit}}}}}<!--
-->{{#set:|HasUnitSymbol={{{unit}}}}}<!--
-->{{#subobject:  
-->{{#subobject: {{{name|{{{unit}}}}}}
|@category=UnitDefinition
|@category=UnitDefinition
|HasUnitSymbol={{{unit}}}
|HasUnitSymbol={{{unit}}}
Line 12: Line 12:
|IsInputUnit={{{use_as_input_unit|Yes}}}
|IsInputUnit={{{use_as_input_unit|Yes}}}
|IsMainUnit=False
|IsMainUnit=False
|HasOntologyIri={{{ontology_iri|}}}|+sep=;
|Equivalent URI={{{ontology_iri|}}}|+sep=;
}}{{#set: |HasUnitDefinition={{{factor}}} {{{unit}}}{{#if:{{{alternative_names|}}}|,{{#arraymap:{{{alternative_names|}}}|;|x|x|,}}|}}}}</includeonly>
}}{{#set: |HasUnit={{FULLPAGENAME}}#{{{name|{{{unit}}}}}} |HasUnitDefinition={{{factor}}} {{{unit}}}{{#if:{{{alternative_names|}}}|,{{#arraymap:{{{alternative_names|}}}|;|x|x|,}}|}}}}</includeonly>

Revision as of 06:00, 3 October 2022

Cookies help us deliver our services. By using our services, you agree to our use of cookies.