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

Contenu supprimé Contenu ajouté
Epop (discussion | contributions)
mAucun résumé des modifications
Epop (discussion | contributions)
Ligne 1 :
<includeonly>{{#if:{{{1|}}}|{{#switch:{{{2|}}}<!--
-->{{#iferror:{{#expr:{{{1|}}}}}|erreur|1num}}<!--
-->{{#iferror:{{#expr:{{{2|}}}}}|2unite|2num}}<!--
-->{{#if:{{{3|}}}|{{#switch:{{{3|}}}|C|°C|F|°F|Ra|°Ra|Ré|°Ré|Re|°Re|De|°De|K=3unite|#default=3comment}}|}}<!--
 
-->|C|°C=<span title="{{formatnum:{{#expr:9/5*{{{1|}}}+32round2}}}}°F {{formatnum:{{#expr:{{{1|}}}+273.15round2}}}}K">{{formatnum:{{{1|}}}}}&nbsp;[[degré Celsius|°C]]</span><!--
 
-->|1num2unite={{#switch:{{{2|}}}<!--
-->|C|°C=<span title="{{formatnum:{{#expr:9/5*{{{1|}}}+32round2}}}}°F {{formatnum:{{#expr:{{{1|}}}+273.15round2}}}}K">{{formatnum:{{{1|}}}}}&nbsp;[[degré Celsius|°C]]</span><!--
-->|F|°F=<span title="{{formatnum:{{{1|}}}}}°F {{formatnum:{{#expr:5/9*({{{1|}}}+459.67)round2}}}}K">{{formatnum:{{#expr:5/9*{{{1|}}}-17.8round2}}}}&nbsp;[[degré Celsius|°C]]</span><!--
 
-->|Ra|°Ra=<span title="{{formatnum:{{#expr:{{{1|}}}-459.67round2}}}}°F {{formatnum:{{#expr:5/9*{{{1|}}}round2}}}}K">{{formatnum:{{#expr:5/9*{{{1|}}}-273.15round2}}}}&nbsp;[[degré Celsius|°C]]</span><!--
 
-->|Ré|°Ré|Re|°Re=<span title="{{formatnum:{{#expr:({{{1|}}}*9/4)+32round2}}}}°F {{formatnum:{{#expr:{{{1|}}}*1.25+273.15round2}}}}K">{{formatnum:{{#expr:5/4*{{{1|}}}round2}}}}&nbsp;[[degré Celsius|°C]]</span><!--
 
-->|De|°De=<span title="{{formatnum:{{#expr:212-{{{1|}}}*6/5round2}}}}°F {{formatnum:{{#expr:373.15-2/3*{{{1|}}}round2}}}}K">{{formatnum:{{#expr:100-{{{1|}}}*2/3round2}}}}&nbsp;[[degré Celsius|°C]]</span><!--
-->|K=<span title="{{formatnum:{{#expr:({{{1|}}}-273.15)*9/5+32round2}}}}°F {{formatnum:{{{1|}}}}}K">{{formatnum:{{#expr:{{{1|}}}-273.15round2}}}}&nbsp;[[degré Celsius|°C]]</span>}}|}}</includeonly><noinclude>{{/Documentation}}</noinclude>!--
 
 
-->|1num2num3unite={{#switch:{{{3|}}}<!--
-->|C|°C=<span title="{{formatnum:{{#expr:9/5*{{{1|}}}+32round2}}}}°F {{formatnum:{{#expr:{{{1|}}}+273.15round2}}}}K">{{formatnum:{{{1|}}}}}</span>-<span title="{{formatnum:{{#expr:9/5*{{{2|}}}+32round2}}}}°F {{formatnum:{{#expr:{{{2|}}}+273.15round2}}}}K">{{formatnum:{{{2|}}}}}&nbsp;[[degré Celsius|°C]]</span>{{#if:{{{4|}}}|&nbsp;({{{4|}}})|}}<!--
-->|F|°F=<span title="{{formatnum:{{{1|}}}}}°F {{formatnum:{{#expr:5/9*({{{1|}}}+459.67)round2}}}}K">{{formatnum:{{#expr:5/9*{{{1|}}}-17.8round2}}}}</span>-<span title="{{formatnum:{{{2|}}}}}°F {{formatnum:{{#expr:5/9*({{{2|}}}+459.67)round2}}}}K">{{formatnum:{{#expr:5/9*{{{2|}}}-17.8round2}}}}&nbsp;[[degré Celsius|°C]]</span>{{#if:{{{4|}}}|&nbsp;({{{4|}}})|}}<!--
-->|Ra|°Ra=<span title="{{formatnum:{{#expr:{{{1|}}}-459.67round2}}}}°F {{formatnum:{{#expr:5/9*{{{1|}}}round2}}}}K">{{formatnum:{{#expr:5/9*{{{1|}}}-273.15round2}}}}</span>-<span title="{{formatnum:{{#expr:{{{2|}}}-459.67round2}}}}°F {{formatnum:{{#expr:5/9*{{{2|}}}round2}}}}K">{{formatnum:{{#expr:5/9*{{{2|}}}-273.15round2}}}}&nbsp;[[degré Celsius|°C]]</span>{{#if:{{{4|}}}|&nbsp;({{{4|}}})|}}<!--
-->|Ré|°Ré|Re|°Re=<span title="{{formatnum:{{#expr:({{{1|}}}*9/4)+32round2}}}}°F {{formatnum:{{#expr:{{{1|}}}*1.25+273.15round2}}}}K">{{formatnum:{{#expr:5/4*{{{1|}}}round2}}}}</span>-<span title="{{formatnum:{{#expr:({{{2|}}}*9/4)+32round2}}}}°F {{formatnum:{{#expr:{{{2|}}}*1.25+273.15round2}}}}K">{{formatnum:{{#expr:5/4*{{{2|}}}round2}}}}&nbsp;[[degré Celsius|°C]]{{#if:{{{4|}}}|&nbsp;({{{4|}}})|}}</span>{{#if:{{{4|}}}|&nbsp;({{{4|}}})|}}<!--
-->|De|°De=<span title="{{formatnum:{{#expr:212-{{{1|}}}*6/5round2}}}}°F {{formatnum:{{#expr:373.15-2/3*{{{1|}}}round2}}}}K">{{formatnum:{{#expr:100-{{{1|}}}*2/3round2}}}}</span>-<span title="{{formatnum:{{#expr:212-{{{2|}}}*6/5round2}}}}°F {{formatnum:{{#expr:373.15-2/3*{{{2|}}}round2}}}}K">{{formatnum:{{#expr:100-{{{2|}}}*2/3round2}}}}&nbsp;[[degré Celsius|°C]]</span>{{#if:{{{4|}}}|&nbsp;({{{4|}}})|}}<!--
-->|K=<span title="{{formatnum:{{#expr:({{{1|}}}-273.15)*9/5+32round2}}}}°F {{formatnum:{{{1|}}}}}K">{{formatnum:{{#expr:{{{1|}}}-273.15round2}}}}-{{formatnum:{{#expr:{{{2|}}}-273.15round2}}}}&nbsp;[[degré Celsius|°C]]</span>{{#if:{{{4|}}}|&nbsp;({{{4|}}})|}}}}<!--
 
 
-->|1num2unite3comment={{#switch:{{{2|}}}<!--
-->|C|°C=<span title="{{formatnum:{{#expr:9/5*{{{1|}}}+32round2}}}}°F {{formatnum:{{#expr:{{{1|}}}+273.15round2}}}}K">{{formatnum:{{{1|}}}}}&nbsp;[[degré Celsius|°C]]</span>&nbsp;({{{3|}}})<!--
-->|F|°F=<span title="{{formatnum:{{{1|}}}}}°F {{formatnum:{{#expr:5/9*({{{1|}}}+459.67)round2}}}}K">{{formatnum:{{#expr:5/9*{{{1|}}}-17.8round2}}}}&nbsp;[[degré Celsius|°C]]</span>&nbsp;({{{3|}}})<!--
-->|Ra|°Ra=<span title="{{formatnum:{{#expr:{{{1|}}}-459.67round2}}}}°F {{formatnum:{{#expr:5/9*{{{1|}}}round2}}}}K">{{formatnum:{{#expr:5/9*{{{1|}}}-273.15round2}}}}&nbsp;[[degré Celsius|°C]]</span>&nbsp;({{{3|}}})<!--
-->|Ré|°Ré|Re|°Re=<span title="{{formatnum:{{#expr:({{{1|}}}*9/4)+32round2}}}}°F {{formatnum:{{#expr:{{{1|}}}*1.25+273.15round2}}}}K">{{formatnum:{{#expr:5/4*{{{1|}}}round2}}}}&nbsp;[[degré Celsius|°C]]</span>&nbsp;({{{3|}}})<!--
-->|De|°De=<span title="{{formatnum:{{#expr:212-{{{1|}}}*6/5round2}}}}°F {{formatnum:{{#expr:373.15-2/3*{{{1|}}}round2}}}}K">{{formatnum:{{#expr:100-{{{1|}}}*2/3round2}}}}&nbsp;[[degré Celsius|°C]]</span>&nbsp;({{{3|}}})<!--
-->|K=<span title="{{formatnum:{{#expr:({{{1|}}}-273.15)*9/5+32round2}}}}°F {{formatnum:{{{1|}}}}}K">{{formatnum:{{#expr:{{{1|}}}-273.15round2}}}}&nbsp;[[degré Celsius|°C]]</span>&nbsp;({{{3|}}})}}<!--
 
-->}}
-->|K=<span title="{{formatnum:{{#expr:({{{1|}}}-273.15)*9/5+32round2}}}}°F {{formatnum:{{{1|}}}}}K">{{formatnum:{{#expr:{{{1|}}}-273.15round2}}}}&nbsp;[[degré Celsius|°C]]</span>}}|}}</includeonly><noinclude>{{/Documentation}}</noinclude>
</includeonly><noinclude>{{/Documentation}}</noinclude>