(Created page with "<noinclude>__NOTOC__ This is a universal two-unit converter widget using a single slider. =Usage= {{#widget:ConvertCalc2 | id=cc1 | TopLabel=Years | TopFactor=1.3125 | BottomLabel=Cycles | BottomFactor=1 | SliderMin=1 | SliderMax=100 | SliderStep=0.1 }} {| class="wikitable" |- ! param !! meaning !! default |- | TopLabel || text label at the top || years |- | TopFactor || multiplicative factor for the top value || 1.3125 |- | BottomLabel || text label at the bott...") |
mNo edit summary |
||
| Line 33: | Line 33: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<div class="wh-convertcalc2" style="max-width: | <div class="wh-convertcalc2" style="max-width:768px;margin:1rem 0;"> | ||
<strong><!--{$TopLabel|default:'years'|escape:'html'}--></strong> | <strong><!--{$TopLabel|default:'years'|escape:'html'}--></strong> | ||
Revision as of 22:38, 11 November 2025
This is a universal two-unit converter widget using a single slider.
Usage
years
years
Cycles
Cycles
| param | meaning | default |
|---|---|---|
| TopLabel | text label at the top | years |
| TopFactor | multiplicative factor for the top value | 1.3125 |
| BottomLabel | text label at the bottom | Cycles |
| BottomFactor | multiplicative factor for the bottom value | 1 |
| SliderMin | minimum value N | 1 |
| SliderMax | maximum value N | 100 |
| SliderStep | slider step | 0.1 |