Шаблон:Weather box/samples/temperature

From Традиция
Jump to navigation Jump to search


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