සැකිල්ල:කාලගුණකොටුව/samples/sunshine
Appearance
Usage
[සංස්කරණය]Template:කාලගුණකොටුව/cols can be used to produce a background color in a table cell, based off a given number. Insert {{කාලගුණකොටුව/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="{{කාලගුණකොටුව/cols|37}}"|450 | style="{{කාලගුණකොටුව/cols|279}}"|3,400 | style="{{කාලගුණකොටුව/cols|522}}"|6,350 |}
Will produce
450 | 3,400 | 6,350 |