Mòdul:Convert/ús
Aquesta és la pàgina de documentació per a Mòdul:Convert
Aquest mòdul converteix un valor d'una unitat de mesura a una altra. per exemple:
{{convert|123|lb|kg}}
→ 123 lliures (56 kg)
The module is called using a template—parameters passed to the template are used by this module to control how a conversion is performed. For example, units can be abbreviated (like kg
), or displayed as names (like kilogram
), and the output value can be rounded to a specified precision. For usage information, see en:Help:Convert.
The template that invokes this module is:
The following modules are required:
- Module:Convert – (this module) code to convert units
- Module:Convert/data – unit definitions
- Module:Convert/text – text messages, and parameter names and values
The following modules are optional and are used only if required and if the module exists:
- Module:Convert/extra – extra (temporary) unit definitions; used if a unit is not found in Module:Convert/data
- Module:ConvertNumeric – code to spell an input value in words (only English is supported)
Per a més explicacions continueu a en:Module:Convert