Jump to content

Template:Weather box/samples/temperature

From Wikipedia, the free encyclopedia


Usage

[edit]

Template:Weather box/colt can be used to produce a background color in a table cell, based off a given number. Insert {{Weather box/colt|0}}, with a number from the Celsius table above as the first parameter, into a style statement.

Example
{| class="wikitable"
|-
| style="{{Weather box/colt|0.0}}"|32
| style="{{Weather box/colt|28.9}}"|84
| style="{{Weather box/colt|63.3}}"|146
|}

Will produce

32 84 146