Difference between revisions of "Template:Climate chart/celsius column i"

From blackwiki
Jump to navigation Jump to search
imported>Cherkash
m (minor tweaks)
imported>Erutuon
(making the red (temperature) bar as wide as the blue (precipitation) bar, as requested on talk page)
Line 4: Line 4:
 
<div style="color:blue;position:absolute;bottom:.5em;left:0;width:1.6em;height:1.5em;text-align:center"><span style="font-size:70%">{{#expr:{{{3|5}}}*25.4 round {{#ifexpr:{{{3|5}}} * 25.4 <10|1|0}}}}</span></div>
 
<div style="color:blue;position:absolute;bottom:.5em;left:0;width:1.6em;height:1.5em;text-align:center"><span style="font-size:70%">{{#expr:{{{3|5}}}*25.4 round {{#ifexpr:{{{3|5}}} * 25.4 <10|1|0}}}}</span></div>
 
<div style="height:0em;bottom:8em;width:1.6em;position:absolute;left:0;border-bottom:dotted 1px #cba;padding:0;margin:0">&nbsp;</div>
 
<div style="height:0em;bottom:8em;width:1.6em;position:absolute;left:0;border-bottom:dotted 1px #cba;padding:0;margin:0">&nbsp;</div>
<div style="overflow:hidden;background:#e44;position:absolute;left:.4em;width:0.8em;bottom:{{#expr:{{{1|10}}}/9+4.44}}em;height:{{#expr:({{{2|20}}}-{{{1|10}}})/9}}em;">&nbsp;</div>
+
<div style="overflow:hidden;background:#e44;position:absolute;left:.2em;width:1.2em;bottom:{{#expr:{{{1|10}}}/9+4.44}}em;height:{{#expr:({{{2|20}}}-{{{1|10}}})/9}}em;">&nbsp;</div>
 
<div style="color:red;position:absolute;bottom:{{#expr:{{{2|20}}}/9+4.44}}em; left:-.4em;width:1.6em;height:1.5em;text-align:right"><span style="font-size:80%">{{#ifexpr:(({{{2|20}}}-32)/1.8 round 0) < 0 |−}}{{#expr:abs (({{{2|20}}}-32)/1.8 round 0)}}</span></div>
 
<div style="color:red;position:absolute;bottom:{{#expr:{{{2|20}}}/9+4.44}}em; left:-.4em;width:1.6em;height:1.5em;text-align:right"><span style="font-size:80%">{{#ifexpr:(({{{2|20}}}-32)/1.8 round 0) < 0 |−}}{{#expr:abs (({{{2|20}}}-32)/1.8 round 0)}}</span></div>
 
<div style="color:red;position:absolute;bottom:{{#expr:{{{1|10}}}/9+2.94}}em; left:-.4em;width:1.6em;height:1.5em;text-align:right"><span style="font-size:80%">{{#ifexpr:(({{{1|10}}}-32)/1.8 round 0) < 0 |−}}{{#expr:abs (({{{1|10}}}-32)/1.8 round 0)}}</span></div>
 
<div style="color:red;position:absolute;bottom:{{#expr:{{{1|10}}}/9+2.94}}em; left:-.4em;width:1.6em;height:1.5em;text-align:right"><span style="font-size:80%">{{#ifexpr:(({{{1|10}}}-32)/1.8 round 0) < 0 |−}}{{#expr:abs (({{{1|10}}}-32)/1.8 round 0)}}</span></div>
 
</div>
 
</div>

Revision as of 01:00, 28 August 2016

 
 
127
 
 
−7
−12