OslTemplate:Property/Quantity: Difference between revisions

From Onterface Dataspace
mNo edit summary
Tag: 2017 source edit
(allow special chars in unit values)
Tag: 2017 source edit
Line 11: Line 11:
}}
}}
This is a property of type [[Has type::Quantity]] {{#if: {{{main_unit|}}}  
This is a property of type [[Has type::Quantity]] {{#if: {{{main_unit|}}}  
|with main unit 1 {{{main_unit}}}{{#if:{{{alternative_names|}}}|,{{#arraymap:{{{alternative_names|}}}|;|x|x|,}}|}} and main display unit [[Display units::{{{main_unit}}}]]|}} {{#if:{{{subquantity_of|}}}
|with main unit 1 {{{main_unit}}}{{#if:{{{alternative_names|}}}|,{{#arraymap:{{{alternative_names|}}}|;|x|x|,}}|}} and main display unit [[Display units::<nowiki>{{{main_unit}}}</nowiki>]]|}} {{#if:{{{subquantity_of|}}}
|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}}}]]|}}.  
Line 21: Line 21:
|IsDisplayUnit=True
|IsDisplayUnit=True
|IsInputUnit=True
|IsInputUnit=True
|IsMainUnit=True
|IsMainUnit=True   main_unit_ontology_iri
|Equivalent URI={{{main_unit_ontology_iri|}}}|+sep=;
|Equivalent URI={{{main_unit_ontology_iri|}}}|+sep=;
}}<!--
}}<!--

Revision as of 09:24, 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.