{% comment %} Parametrized settings slider — range + numeric entry + caret nudges, wired to the RealtimeSlider store methods (startDrag / drag / release / set). Params (all explicit at every call site — no |default filters, because 0 and '' are falsy to Django templates and several params legitimately carry them): container the state object holding the field, as a JS expression ("$store.atem.state.dsks?.[d]"); the widget reads {{ container }}?.{{ field }}. USK call sites go through the control/_usk_slider.html wrapper, which fixes this and idx idx the store methods' index argument ('k' for USK, 'd' for DSK, '' for the index-free transition sliders) label operator-facing label ("Foreground") field field name on the container ("chroma_foreground") base store method base ("USKChromaForeground") min max wire-unit range bounds (also the caret clamps — replacing the hand-copied Math.max(k, ...) clamp bug this partial retired) step wire-unit range step AND caret nudge delta scale display multiplier (chroma 0..1 shows as % via 100; else 1) fallback wire-unit value when state is absent (?? — 0 must survive) disp_min disp_max numeric-entry bounds in display units disp_step numeric-entry step in display units decimals numeric-entry display precision (toFixed argument) suffix unit glyph after the numeric entry ('%', '°'); empty = none range_style optional inline style for the range track (border-luma black->white gradient); omit for the plain themed track {% endcomment %}
{% if suffix %}{{ suffix }}{% endif %}