قالب:Weather box/colt/sandbox/شرح
من أرابيكا، الموسوعة العربية الحرة
المزيد من اللغات
المزيد من الإجراءات
| هذه صفحة توثيق قالب:Weather box/colt/sandbox الفرعية، لشرح القالب وتصنيفه، وهي لا تدخل في استخدامه. |
استعمال
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.
مثال
{| class="wikitable"
|-
| style="{{</nowiki>{{{1|<includeonly>{{PAGENAME}}</includeonly><noinclude>Weather box/colt</noinclude>}}}|0.0}}"|32
| style="{{{{{1|<includeonly>{{PAGENAME}}</includeonly><noinclude>Weather box/colt</noinclude>}}}|28.9}}"|84
| style="{{{{{1|<includeonly>{{PAGENAME}}</includeonly><noinclude>Weather box/colt</noinclude>}}}<nowiki>|63.3}}"|146
|}
يعطي:
| 32 | 84 | 146 |