[% IF not notext %][% "VOLUME" | string %][% stringCOLON %][% END %] [% IF discreteonly %][% "VOLUME_SOFTER" | string %][%- END %] [%- volume = volume - (volume % 10) -%] [%- FOREACH vol = [0,10,20,30,40,50,60,70,80,90,100] %] [% IF volume != vol || activelink %][% END %][% IF volume == vol %][% activeon || '' %][% END %][% loop.count %][% IF volume == vol %][% activeoff || '' %][% END %][% IF volume != vol || activelink %][% END %] [%- END %] [% IF discreteonly %][% "VOLUME_LOUDER" | string %][%- END %]