OslTemplate:Property/Quantity: Difference between revisions

From Onterface Dataspace
(use Equivalent URI)
Tag: 2017 source edit
(store HasUnit, HasMainUnit)
Tag: 2017 source edit
Line 14: Line 14:
|with display units {{#arraymap:{{{display_units|}}}|;|x|x}}{{#set: |Display units={{{display_units|}}}|+sep=; }} and input units {{#arraymap:{{{input_units|}}}|;|x|x}}{{#set: |HasInputUnitSymbol={{{input_units|}}}|+sep=; }}, is a subquantity of [[Subproperty of::{{{subquantity_of}}}]]|}}{{#if:{{{base_quantity|}}}
|with display units {{#arraymap:{{{display_units|}}}|;|x|x}}{{#set: |Display units={{{display_units|}}}|+sep=; }} and input units {{#arraymap:{{{input_units|}}}|;|x|x}}{{#set: |HasInputUnitSymbol={{{input_units|}}}|+sep=; }}, is a subquantity of [[Subproperty of::{{{subquantity_of}}}]]|}}{{#if:{{{base_quantity|}}}
|<nowiki> </nowiki> and has base quantity [[HasBaseQuantity::{{{base_quantity}}}]]|}}.  
|<nowiki> </nowiki> and has base quantity [[HasBaseQuantity::{{{base_quantity}}}]]|}}.  
{{#if: {{{main_unit|}}} | {{#subobject:  
{{#if: {{{main_unit|}}} | {{#subobject: {{{main_unit_name|{{{main_unit}}}}}}
|@category=UnitDefinition
|@category=UnitDefinition
|HasUnitSymbol={{{main_unit}}}
|HasUnitSymbol={{{main_unit}}}
Line 28: Line 28:
|HasUnitDefinition=1 {{{main_unit}}}{{#if:{{{alternative_names|}}}|,{{#arraymap:{{{alternative_names|}}}|;|x|x|,}}|}}
|HasUnitDefinition=1 {{{main_unit}}}{{#if:{{{alternative_names|}}}|,{{#arraymap:{{{alternative_names|}}}|;|x|x|,}}|}}
|HasUnitSymbol={{{main_unit}}}
|HasUnitSymbol={{{main_unit}}}
|HasMainUnit={{FULLPAGENAME}}#{{{main_unit_name|{{{main_unit}}}}}}
|HasUnit={{FULLPAGENAME}}#{{{main_unit_name|{{{main_unit}}}}}}
}}
}}
|}}
|}}

Revision as of 06:02, 3 October 2022


Related form: Form:Property/Quantity


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