Difference between revisions of "Template:Climate chart/fahrenheit column"
Jump to navigation
Jump to search
imported>Cherkash (precipitation bar can now re-scale by using {{{4}}} as max precip for an array of these templates; other minor changes) |
imported>Cherkash m (minor tweaks) |
||
| Line 5: | Line 5: | ||
<div style="height:0em;bottom:8em;width:1.6em;position:absolute;left:0;border-bottom:dotted 1px #cba;padding:0;margin:0"> </div> | <div style="height:0em;bottom:8em;width:1.6em;position:absolute;left:0;border-bottom:dotted 1px #cba;padding:0;margin:0"> </div> | ||
<div style="overflow:hidden;background:#e44;position:absolute;left:.4em;width:0.8em;bottom:{{#expr:{{{1|10}}}/5+8}}em;height:{{#expr:({{{2|20}}}-{{{1|10}}})/5}}em;"> </div> | <div style="overflow:hidden;background:#e44;position:absolute;left:.4em;width:0.8em;bottom:{{#expr:{{{1|10}}}/5+8}}em;height:{{#expr:({{{2|20}}}-{{{1|10}}})/5}}em;"> </div> | ||
| − | <div style="color:red;position:absolute;bottom:{{#expr:{{{2|20}}}/5+8}}em; left:0;width:1.6em;height:1.5em;text-align:center | + | <div style="color:red;position:absolute;bottom:{{#expr:{{{2|20}}}/5+8}}em; left:0;width:1.6em;height:1.5em;text-align:center"><span style="font-size:80%">{{#ifexpr:({{{2|20}}}*1.8+32 round 0) < 0 |−}}{{#expr:abs ({{{2|20}}}*1.8+32 round 0)}}</span></div> |
| − | <div style="color:red;position:absolute;bottom:{{#expr:{{{1|10}}}/5+6.5}}em; left:0;width:1.6em;height:1.5em;text-align:center | + | <div style="color:red;position:absolute;bottom:{{#expr:{{{1|10}}}/5+6.5}}em; left:0;width:1.6em;height:1.5em;text-align:center"><span style="font-size:80%">{{#ifexpr:({{{1|10}}}*1.8+32 round 0) < 0 |−}}{{#expr:abs ({{{1|10}}}*1.8+32 round 0)}}</span></div> |
</div> | </div> | ||
Revision as of 02:41, 20 February 2015
3.1
68
50