Module:Weather/doc
Appearance
![]() | This is a documentation subpage for Module:Weather. It may contain usage information, categories and other content that is not part of the original module page. |
This module can be used to display temperatures in a table. It is under development and is intended to be efficient so a page can hold many tables.
- Input numbers must use a hyphen if negative (Unicode minus "−" would give an error).
- All displayed numbers (including inputs) use Unicode minus if negative.
- The input consists of 13 values, separated by any number of spaces.
- Each of the 13 values must be a number. Any invalid value results in the corresponding cell being blank with no error message or tracking category.
The following functions are available:
Function Input Output ------------------------- CtoF °C °C (°F) FfromC °C °F (°C) CfromF °F °C (°F) FtoC °F °F (°C)
The following templates use the module:
An example using the above templates and therefore the module is at:
The output can be examined by entering the following example at Special:ExpandTemplates. The output from each of the following lines is identical.
{{#invoke:weather|CtoF|-10 -5 0 5 10 15 20 25 30 35 40 45 50}} ---- {{#invoke:weather|CfromF|14 23 32 41 50 59 68 77 86 95 104 113 122}}