« Modèle:DTempérature » : différence entre les versions

Contenu supprimé Contenu ajouté
Orel'jan (discuter | contributions)
mAucun résumé des modifications
Donatello29 (discuter | contributions)
Correction des erreurs de conversion en m'aidant du Modèle:Température. Les 2 modèles sont d'ailleurs redondants.
Balise : Révoqué
Ligne 1 :
<includeonly>{{#if: {{{51|}}}||{{#ifexprswitch:({{{1|}}}>0)|+|}}}}<!--
-->{{#if:{{{1|}}}|{{#switch:<!--
-->{{#iferror:{{#expr:{{{1|}}}}}|erreur|1num}}<!--
-->{{#iferror:{{#expr:{{{2|}}}}}|2unite|2num}}<!--
Ligne 8 ⟶ 7 :
-->|erreur2unite={{#expr:{{{1|}}}}}<!--
-->|1num2unite={{#switch:{{{2|}}}<!--
-->|C|°C|ºC=<span title="{{formatnum:{{#expr:9/5*{{{1|}}}round1+32round1}}}} °F ou {{formatnum:{{#expr:{{{1|}}}round1+273.15round1}}}} K">{{formatnum:{{{1|}}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr><!--
-->|F|°F=<span title="{{formatnum:{{{1|}}}}} °F ou {{formatnum:{{#expr:5/9*({{{1|}}}+459.67)round1}}}} K">{{formatnum:{{#expr:5/9*{{{1|}}}round1-17.8round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr><!--
-->|Ra|°Ra=<span title="{{formatnum:{{#expr:{{{1|}}}round1-459.67round1}}}} °F ou {{formatnum:{{#expr:5/9*{{{1|}}}round1}}}} K">{{formatnum:{{#expr:5/9*{{{1|}}}round1-273.15round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr><!--
-->|Ré|°Ré|Re|°Re=<span title="{{formatnum:{{#expr:({{{1|}}}*9/4)round1+32round1}}}} °F ou {{formatnum:{{#expr:{{{1|}}}*1.25round125+273.15round1}}}} K">{{formatnum:{{#expr:5/4*{{{1|}}}round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr><!--
-->|De|°De=<span title="{{formatnum:{{#expr:212-{{{1|}}}*6/5round1}}}} °F ou {{formatnum:{{#expr:373.15-2/3*{{{1|}}}round1}}}} K">{{formatnum:{{#expr:100-{{{1|}}}*2/3round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr><!--
-->|K=<span title="{{formatnum:{{#expr:({{{1|}}}-273.15)*9/5round15+32round1}}}} °F ou {{formatnum:{{{1|}}}}} K ou {{formatnum:{{#expr:(3/2)*(1.3806504E-23)*{{{1|}}}}}}} J">{{formatnum:{{#expr:{{{1|}}}round2-273.15round2}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>}}<!--
 
 
-->|1num2num3unite={{#switch:{{{3|}}}<!--
-->|C|°C|ºC=<span title="{{formatnum:{{#expr:9/5*{{{1|}}}round1+32round1}}}} °F ou {{formatnum:{{#expr:{{{1|}}}round1+273.15round1}}}} K">{{formatnum:{{{1|}}}}}</span>&nbsp;à&nbsp;<span title="{{formatnum:{{#expr:9/5*{{{2|}}}round1+32round1}}}} °F ou {{formatnum:{{#expr:{{{2|}}}round1+273.15round1}}}} K">{{formatnum:{{{2|}}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|&#32; ({{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}})|}}<!--
-->|F|°F=<span title="{{formatnum:{{{1|}}}}} °F ou {{formatnum:{{#expr:5/9*({{{1|}}}+459.67)round1}}}} K">{{formatnum:{{#expr:5/9*{{{1|}}}round1-17.8round1}}}}</span>&nbsp;à&nbsp;<span title="{{formatnum:{{{2|}}}}} °F ou {{formatnum:{{#expr:5/9*({{{2|}}}+459.67)round1}}}} K">{{formatnum:{{#expr:5/9*{{{2|}}}round1-17.8round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|&#32; ({{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}})|}}<!--
-->|Ra|°Ra=<span title="{{formatnum:{{#expr:{{{1|}}}round1-459.67round1}}}} °F ou {{formatnum:{{#expr:5/9*{{{1|}}}round1}}}} K">{{formatnum:{{#expr:5/9*{{{1|}}}round1-273.15round1}}}}</span>&nbsp;à&nbsp;<span title="{{formatnum:{{#expr:{{{2|}}}round1}}}} °F ou {{formatnum:{{#expr:5/9*{{{2|}}}-459.67round1}}}} °F ou {{formatnum:{{#expr:5/9*{{{2|}}}round1}}}} K">{{formatnum:{{#expr:5/9*{{{2|}}}round1-273.15round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|&#32; ({{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}})|}}<!--
-->|Ré|°Ré|Re|°Re=<span title="{{formatnum:{{#expr:({{{1|}}}*9/4round14)+32round1}}}} °F ou {{formatnum:{{#expr:{{{1|}}}*1.25round125+273.15round1}}}} K">{{formatnum:{{#expr:5/4*{{{1|}}}round1}}}}</span>&nbsp;à&nbsp;<span title="{{formatnum:{{#expr:({{{2|}}}*9/4round14)+32round1}}}} °F ou {{formatnum:{{#expr:{{{2|}}}*1.25round125+273.15round1}}}} K">{{formatnum:{{#expr:5/4*{{{2|}}}round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|&#32; ({{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}})|}}<!--
-->|De|°De=<span title="{{formatnum:{{#expr:212-{{{1|}}}*6/5round1}}}} °F ou {{formatnum:{{#expr:373.15-2/3*{{{1|}}}round1}}}} K">{{formatnum:{{#expr:100-{{{1|}}}*2/3round1}}}}</span>&nbsp;à&nbsp;<span title="{{formatnum:{{#expr:212-{{{2|}}}*6/5round1}}}} °F ou {{formatnum:{{#expr:373.15-2/3*{{{2|}}}round1}}}} K">{{formatnum:{{#expr:100-{{{2|}}}*2/3round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|&#32; ({{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}})|}}<!--
-->|K=<span title="{{formatnum:({{#expr:{{{1|}}}-273.15)*9/5round15+32round1}}}} °F ou {{formatnum:{{{1|}}}}} K ou {{formatnum:{{#expr:(3/2)*(1.3806504E-23)*{{{1|}}}}}}} J">{{formatnum:{{#expr:{{{1|}}}round1-273.15round1}}}}</span>&nbsp;à&nbsp;<span title="{{formatnum:{{#expr:({{{2|}}}-273.15)*9/5round15+32round1}}}} °F ou {{formatnum:{{{2|}}}}} K ou {{formatnum:{{#expr:(3/2)*(1.3806504E-23)*{{{2|}}}}}}} J">{{formatnum:{{#expr:{{{2|}}}round1-273.15round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|&#32; ({{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}})|}}}}<!--
 
 
-->|1num2unite3comment={{#switch:{{{2|}}}<!--
-->|C|°C|ºC=<span title="{{formatnum:{{#expr:9/5*{{{1|}}}round1+32round1}}}} °F ou {{formatnum:{{#expr:{{{1|}}}round1+273.15round1}}}} K">{{formatnum:{{{1|}}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>&#32; ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})<!--
-->|F|°F=<span title="{{formatnum:{{{1|}}}}} °F ou {{formatnum:{{#expr:5/9*({{{1|}}}+459.67)round1}}}} K">{{formatnum:{{#expr:5/9*{{{1|}}}round1-17.8round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>&#32; ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})<!--
-->|Ra|°Ra=<span title="{{formatnum:{{#expr:{{{1|}}}round1-459.67round1}}}} °F ou {{formatnum:{{#expr:5/9*{{{1|}}}round1}}}} K">{{formatnum:{{#expr:5/9*{{{1|}}}round1-273.15round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>&#32; ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})<!--
-->|Ré|°Ré|Re|°Re=<span title="{{formatnum:{{#expr:{{{1|}}}*9/4round14+32round1}}}} °F ou {{formatnum:{{#expr:{{{1|}}}*1.25round125+273.15round1}}}} K">{{formatnum:{{#expr:5/4*{{{1|}}}round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>&#32; ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})<!--
-->|De|°De=<span title="{{formatnum:{{#expr:212-{{{1|}}}round1*6/5round1}}}} °F ou {{formatnum:{{#expr:373.15-2/3*{{{1|}}}round1}}}} K">{{formatnum:{{#expr:100-{{{1|}}}*2/3round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>&#32; ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})<!--
-->|K=<span title="{{formatnum:{{#expr:({{{1|}}}-273.15)*9/5round15+32round1}}}} °F ou {{formatnum:{{{1|}}}}} K ou {{formatnum:{{#expr:(3/2)*(1.3806504E-23)*{{{1|}}}}}}} J">{{formatnum:{{#expr:{{{1|}}}round1-273.15round1}}}}&nbsp;</span><abbr class="abbr" title="degré Celsius">°C</abbr>&#32; ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})}}<!--
 
-->}}<!--