Citakan:Weather box/samples/sunshine
Pidangan
Usage
[édit sumber]Template:Weather box/cols can be used to produce a background color in a table cell, based off a given number. Insert {{Weather box/cols|0}}, with a number from the hours in a 30-day month table above as the first parameter, into a style statement.
- Example
{| class="wikitable" |- | style="{{Weather box/cols|37}}"|450 | style="{{Weather box/cols|279}}"|3,400 | style="{{Weather box/cols|522}}"|6,350 |}
Will produce
450 | 3,400 | 6,350 |