Lecteur Markdown
TEMPERATURE_DOCUMENTATION_EN
Feature: Temperature #
Temperature unit converter. Takes a value and a source unit, calculates and displays equivalents in all other units.
---
Installation and Configuration #
Via FTP: Upload the `temperature/` directory into `/plugins/`.
Via package manager: Select `temperature` from the available plugins list.
Paths:
- Main plugin: `/plugins/temperature/temperature.php`
- Configuration: `/plugins/temperature/conf/temperature.conf.inc.php`
- JavaScript: `/plugins/temperature/js/temperature.js`
- CSS: `/plugins/temperature/css/temperature.css`
- Locales: `/plugins/temperature/locale/`
Configuration parameters:
| Variable | Default | Description |
|---|---|---|
| `$ftype` | `5` | Plugin type (tools) |
---
Usage #
Supported Units #
- Celsius (°C)
- Fahrenheit (°F)
- Kelvin (K)
- Rankine (°R)
- Réaumur (°Ré)
Interface #
1. Enter a numeric value
2. Select the source unit from the dropdown
3. Click "Convert"
4. Equivalents in all other units are displayed below the form
Conversion is performed client-side in JavaScript.
---
Hooks and Entry Points #
?obj=temperature.php — Conversion interface
---
Dependencies #
No external dependencies. Pure JavaScript calculation.