Şablon:Sıcaklık etiketi: Revizyonlar arasındaki fark

İçerik silindi İçerik eklendi
SPQRobin (mesaj | katkılar)
k 2 revizyon: import from Incubator
SPQRobin (mesaj | katkılar)
k 3 revizyon: import from Incubator
1. satır:
<includeonly><div {{#if: {{{tooltip|}}}|title="{{{tooltip}}}"| }} class="tempUnit{{{unit|?}}}" style="position: absolute; left:{{#expr: - ((({{{long|0}}}+180)/360) * 800) * {{{scale|1}}} - 6}}px; top: {{#expr: - (((-{{{lat|0}}}+90)/180) * 400) * {{{scale|1}}} - 8}}px;"><div>{{#ifeq: {{{unit|}}}|c|{{#ifexpr: {{{text|}}} < -23 |[[FileImage:Button-White.svg|22px]]}}{{#ifexpr: {{{text|}}} >= -23 AND {{{text|}}} < -9 |[[FileImage:Button-Purple.svg|22px]]}}{{#ifexpr: {{{text|}}} >= -9 AND {{{text|}}} < 5 |[[FileImage:Button-Blue.svg|22px]]}}{{#ifexpr: {{{text|}}} >= 5 AND {{{text|}}} < 15 |[[FileImage:Button-Lightblue.svg|22px]]}}{{#ifexpr: {{{text|}}} >= 15 AND {{{text|}}} < 27 |[[FileImage:Button-Green.svg|22px]]}}{{#ifexpr: {{{text|}}} >= 27 AND {{{text|}}} < 35 |[[FileImage:Button-Orange.svg|22px]]}}{{#ifexpr: {{{text|}}} >= 35 AND {{{text|}}} < 41 |[[FileImage:Button-Red.svg|22px]]}}}}{{#ifeq: {{{unit|}}}|f|{{#ifexpr: {{{text|}}} < -10 |[[FileImage:Button-White.svg|22px]]}}{{#ifexpr: {{{text|}}} >= -10 AND {{{text|}}} < 16 |[[FileImage:Button-Purple.svg|22px]]}}{{#ifexpr: {{{text|}}} >= 16 AND {{{text|}}} < 41 |[[FileImage:Button-Blue.svg|22px]]}}{{#ifexpr: {{{text|}}} >= 41 AND {{{text|}}} < 59 |[[FileImage:Button-Lightblue.svg|22px]]}}{{#ifexpr: {{{text|}}} >= 59 AND {{{text|}}} < 81 |[[FileImage:Button-Green.svg|22px]]}}{{#ifexpr: {{{text|}}} >= 81 AND {{{text|}}} < 95 |[[FileImage:Button-Orange.svg|22px]]}}{{#ifexpr: {{{text|}}} >= 95 AND {{{text|}}} < 106 |[[FileImage:Button-Red.svg|22px]]}}}}<div style="width: 22px; text-align: center; position: relative; top: -20px; right: 0px; font-size: 1.0em; {{#ifeq: {{{unit|}}}|c|{{#ifexpr: {{{text|}}} >= -23 AND {{{text|}}} < -9 |color: white;}}{{#ifexpr: {{{text|}}} >= -9 AND {{{text|}}} < 5 |color: white;}}}}{{#ifeq: {{{unit|}}}|f|{{#ifexpr: {{{text|}}} >= -10 AND {{{text|}}} < 16 |color: white;}}{{#ifexpr: {{{text|}}} >= 16 AND {{{text|}}} < 41 |color: white;}}}}" >'''{{{text|}}}'''</div></div></div>
</includeonly><noinclude>This template is copied from the [[w:|English Wikipedia]] and as such it is licensed under the GFDL. It is a modified version of [[w:Template:Image label]] for overlaying temperatures on a map image.
</includeonly><noinclude>
 
For the template documentation, see [[w:User:Zondor/Labelled_Map_Documentation]].
[[Category:Templates:(all)]]
</includeonly><noinclude>