Widget:ConvertCalc2: Difference between revisions

From WyrdeWiki
No edit summary
No edit summary
Line 3: Line 3:


=Usage=
=Usage=
{{#widget:ConvertCalc
{{#widget:ConvertCalc2
  | id=cc1
  | id=cc1
  | TopLabel=years
  | TopLabel=years

Revision as of 23:06, 11 November 2025

This widget converts with one neutral slider N and two editable fields.

Usage

years
years
Cycles
Cycles

param meaning default
TopLabel label for the top unit years
TopFactor multiplier for top value (Top = N * TopFactor) 1.3125
BottomLabel label for the bottom unit Cycles
BottomFactor multiplier for bottom value (Bottom = N * BottomFactor) 1
SliderMin / SliderMax / SliderStep slider range & step for N 1 / 100 / 0.1
Decimals fixed decimals to display 1
NumStep step on the number inputs 0.1