(Updated with content from Extension:OpenSemanticLab version 0.0.3) |
Simon Stier (talk | contribs) (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 | ||
| | |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> |