|
|
(5 versions intermédiaires par le même utilisateur non affichées) |
Ligne 1 : |
Ligne 1 : |
| <includeonly>{{#if:{{{1|}}}|{{#switch:<!-- | | <includeonly><span class="nowrap">{{formatnum:{{{1}}}}} {{abréviation discrète|°C|degré Celcius}}</span></includeonly><noinclude> |
| -->{{#iferror:{{#expr:{{{1|}}}}}|erreur|1num}}<!--
| |
| -->{{#iferror:{{#expr:{{{2|}}}}}|2unite|2num}}<!--
| |
| -->{{#if:{{{3|}}}|{{#switch:{{{3|}}}|C|°C|ºC|F|°F|Ra|°Ra|Ré|°Ré|Re|°Re|De|°De|K=3unite|#default=3comment}}|}}<!--
| |
|
| |
|
|
| |
|
| -->|erreur2unite={{#expr:{{{1|}}}}}<!--
| | <big>{{PAGENAME}}</big> |
| -->|1num2unite={{#switch:{{{2|}}}<!--
| |
| -->|C|°C|ºC=<span title="{{formatnum|{{#expr:9/5*{{{1|}}}+32round1}}}} °F ou {{formatnum|{{#expr:{{{1|}}}+273.15round1}}}} K">{{formatnum|{{{1|}}}}} </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|}}}-17.8round1}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr><!--
| |
| -->|Ra|°Ra=<span title="{{formatnum|{{#expr:{{{1|}}}-459.67round1}}}} °F ou {{formatnum|{{#expr:5/9*{{{1|}}}round1}}}} K">{{formatnum|{{#expr:5/9*{{{1|}}}-273.15round1}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr><!--
| |
| -->|Ré|°Ré|Re|°Re=<span title="{{formatnum|{{#expr:({{{1|}}}*9/4)+32round1}}}} °F ou {{formatnum|{{#expr:{{{1|}}}*1.25+273.15round1}}}} K">{{formatnum|{{#expr:5/4*{{{1|}}}round1}}}} </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}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr><!--
| |
| -->|K=<span title="{{formatnum|{{#expr:({{{1|}}}-273.15)*9/5+32round1}}}} °F ou {{formatnum|{{{1|}}}}} K ou {{formatnum|{{#expr:(3/2)*(1.3806504E-23)*{{{1|}}}}}}} J">{{formatnum|{{#expr:{{{1|}}}-273.15round2}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>}}<!--
| |
|
| |
|
| | Cette page concerne un modèle (formatage de la température, degré Celcius). Pour en savoir plus lire [[Aide:Liste des modèles]]. |
|
| |
|
| -->|1num2num3unite={{#switch:{{{3|}}}<!--
| | Code : <code><nowiki>{{tmp|température}}</nowiki></code>. |
| -->|C|°C|ºC=<span title="{{formatnum|{{#expr:9/5*{{{1|}}}+32round1}}}} °F ou {{formatnum|{{#expr:{{{1|}}}+273.15round1}}}} K">{{formatnum|{{{1|}}}}}</span> à <span title="{{formatnum|{{#expr:9/5*{{{2|}}}+32round1}}}} °F ou {{formatnum|{{#expr:{{{2|}}}+273.15round1}}}} K">{{formatnum|{{{2|}}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|  ({{#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|}}}-17.8round1}}}}</span> à <span title="{{formatnum|{{{2|}}}}} °F ou {{formatnum|{{#expr:5/9*({{{2|}}}+459.67)round1}}}} K">{{formatnum|{{#expr:5/9*{{{2|}}}-17.8round1}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|  ({{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}})|}}<!--
| |
| -->|Ra|°Ra=<span title="{{formatnum|{{#expr:{{{1|}}}-459.67round1}}}} °F ou {{formatnum|{{#expr:5/9*{{{1|}}}round1}}}} K">{{formatnum|{{#expr:5/9*{{{1|}}}-273.15round1}}}}</span> à <span title="{{formatnum|{{#expr:{{{2|}}}-459.67round1}}}} °F ou {{formatnum|{{#expr:5/9*{{{2|}}}round1}}}} K">{{formatnum|{{#expr:5/9*{{{2|}}}-273.15round1}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|  ({{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}})|}}<!--
| |
| -->|Ré|°Ré|Re|°Re=<span title="{{formatnum|{{#expr:({{{1|}}}*9/4)+32round1}}}} °F ou {{formatnum|{{#expr:{{{1|}}}*1.25+273.15round1}}}} K">{{formatnum|{{#expr:5/4*{{{1|}}}round1}}}}</span> à <span title="{{formatnum|{{#expr:({{{2|}}}*9/4)+32round1}}}} °F ou {{formatnum|{{#expr:{{{2|}}}*1.25+273.15round1}}}} K">{{formatnum|{{#expr:5/4*{{{2|}}}round1}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|  ({{#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> à <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}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|  ({{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}})|}}<!--
| |
| -->|K=<span title="{{formatnum|{{#expr:({{{1|}}}-273.15)*9/5+32round1}}}} °F ou {{formatnum|{{{1|}}}}} K ou {{formatnum|{{#expr:(3/2)*(1.3806504E-23)*{{{1|}}}}}}} J">{{formatnum|{{#expr:{{{1|}}}-273.15round1}}}}</span> à <span title="{{formatnum|{{#expr:({{{2|}}}-273.15)*9/5+32round1}}}} °F ou {{formatnum|{{{2|}}}}} K ou {{formatnum|{{#expr:(3/2)*(1.3806504E-23)*{{{2|}}}}}}} J">{{formatnum|{{#expr:{{{2|}}}-273.15round1}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>{{#if:{{{4|}}}|  ({{#ifexist:{{{4|}}}|[[{{{4|}}}]]|{{{4|}}}}})|}}}}<!--
| |
|
| |
|
| | Modèle utilisant <nowiki>{{formatnum:nombre}}</nowiki>. |
|
| |
|
| -->|1num2unite3comment={{#switch:{{{2|}}}<!--
| |
| -->|C|°C|ºC=<span title="{{formatnum|{{#expr:9/5*{{{1|}}}+32round1}}}} °F ou {{formatnum|{{#expr:{{{1|}}}+273.15round1}}}} K">{{formatnum|{{{1|}}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>  ({{#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|}}}-17.8round1}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>  ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})<!--
| |
| -->|Ra|°Ra=<span title="{{formatnum|{{#expr:{{{1|}}}-459.67round1}}}} °F ou {{formatnum|{{#expr:5/9*{{{1|}}}round1}}}} K">{{formatnum|{{#expr:5/9*{{{1|}}}-273.15round1}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>  ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})<!--
| |
| -->|Ré|°Ré|Re|°Re=<span title="{{formatnum|{{#expr:({{{1|}}}*9/4)+32round1}}}} °F ou {{formatnum|{{#expr:{{{1|}}}*1.25+273.15round1}}}} K">{{formatnum|{{#expr:5/4*{{{1|}}}round1}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>  ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})<!--
| |
| -->|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><abbr class="abbr" title="degré Celsius">°C</abbr>  ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})<!--
| |
| -->|K=<span title="{{formatnum|{{#expr:({{{1|}}}-273.15)*9/5+32round1}}}} °F ou {{formatnum|{{{1|}}}}} K ou {{formatnum|{{#expr:(3/2)*(1.3806504E-23)*{{{1|}}}}}}} J">{{formatnum|{{#expr:{{{1|}}}-273.15round1}}}} </span><abbr class="abbr" title="degré Celsius">°C</abbr>  ({{#ifexist:{{{3|}}}|[[{{{3|}}}]]|{{{3|}}}}})}}<!--
| |
|
| |
|
| -->}}<!--
| | Écrire « <nowiki>{{tmp|12.41}}</nowiki> » donne le rendu « 12,41 {{abréviation discrète|°C|degré Celcius}} ». |
|
| |
|
| message d'erreur unité manquante
| |
| -->{{#if:{{{2|}}}||{{{1|}}} <strong class="error">unité manquante</strong>}}<!--
| |
| -->|}}</includeonly><noinclude>
| |
|
| |
|
| | Sur le même sujet : [[:modèle:unité]]. |
|
| |
|
| <big>{{PAGENAME}}</big>
| | Exemple : [[Station météorologique de Maine-et-Loire]]. |
| | |
| Cette page concerne un modèle (formatage de la température). Pour en savoir plus lire [[Aide:Liste des modèles]].
| |
| | |
| Code : <code><nowiki>{{tmp|température| °C }}</nowiki></code>.
| |
| | |
| | |
| Source : Wikipedia ([https://fr.wikipedia.org/w/index.php?title=Modèle:Température&action=history Auteurs]), [https://fr.wikipedia.org/wiki/Modèle:Température Modèle Température] ([https://creativecommons.org/licenses/by-sa/4.0/deed.fr Licence]), dans sa version du 4 mars 2024.
| |
| | |
| | |
| Sur le même sujet : [[:modèle:unité]].
| |
|
| |
|
| [[Catégorie:Modèle article]]</noinclude> | | [[Catégorie:Modèle article]]</noinclude> |