Basic-Widgets

basic.button basic.checkbox basic.colordisc basic.dual basic.flip basic.float basic.formula basic.glue basic.multistate basic.rgb basic.shifter basic.shutter basic.slider basic.switch basic.symbol basic.tank basic.text basic.trigger basic.value


basic.float

Displays a value as float

Parameters
{{ basic.float(id, item, unit, tag) }}
id
unique id for this widget
item
a item
unit
a unit, tries to get the format for that unit from the language-file (optional)
tag
the parent html-tag for the value (optional, default 'span')
Examples
{{ basic.float('float1', 'bath.p1') }}
-.-
{{ basic.float('float2', 'bath.p1', '°') }}
-.- °

Author: Martin Gleiß and others

Widgets

Design

Misc