Difference between revisions of "Template:Chembox CalcTemperatures"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
imported>DePiep
Line 8: Line 8:
 
tracking checks:
 
tracking checks:
 
-->{{#if:{{{track1|}}}|<!--
 
-->{{#if:{{{track1|}}}|<!--
input overload (too many input numbers)
+
TRACK1: input overload (too many input numbers)
--><br>TR1-{{{trackcatsort|9}}}1:{{#ifeq:{{{temp1|}}}{{{temp2|}}}|{{{track1|}}}|--OK| [[Category:Chembox issues-{{{trackcatsort|9}}}1|{{{trackcatsort|9}}}1]]--ERR:too many input-from-{{{track1|}}}--}} }}<!--
+
-->{{#ifeq:{{{temp1|}}}{{{temp2|}}}|{{{track1|}}}|| [[Category:Chemboxes with conversion issues|{{{trackcatsort|9}}}1]]}} }}<!--
  
 
-->{{#if:{{{track1|}}}|<!--
 
-->{{#if:{{{track1|}}}|<!--
uses both number and text input
+
TRACK2: uses both number and text input
--><br>TR2-{{{trackcatsort|9}}}2:{{#if:{{{defaultvalue|}}}| [[Category:Chembox issues-{{{trackcatsort|9}}}2|{{{trackcatsort|9}}}2]]--ERR:t-AND-txtval-from-{{{temp1|}}}-AND-{{{defaultvalue|}}}--|--OK}} }}<!--
+
-->{{#if:{{{defaultvalue|}}}| [[Category:Chemboxes with conversion issues|{{{trackcatsort|9}}}2]]}} }}<!--
  
 
-->{{#if:{{{track1|}}}|<!--
 
-->{{#if:{{{track1|}}}|<!--
has range
+
TRACK3: temperature by range (is not an error)
--><br>TR3-R{{{trackcatsort|9}}}:{{#if:{{{temp2|}}}| [[Category:Chembox issues-R{{{trackcatsort|9}}}|R{{{trackcatsort|9}}}]]--HAS_RANGE-to-{{{temp2|}}}--|--OK}} }}<!--
+
-->{{#if:{{{temp2|}}}| [[Category:Chemboxes with conversion issues|R{{{trackcatsort|9}}}]]}} }}<!--
 
 
 
--><noinclude>
 
--><noinclude>
  
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 15:49, 16 December 2013


Template documentation[view] [edit] [history] [purge]

Values for Melting point, Boiling point (properties) and Flash point, Autoignition temperature (hazards) can convert temperatures into the set of °C, °F and K. They also can produce a temperature range, like 10 to 20 °C (50 to 68 °F; 283 to 293 K). Also, unformatted texts can be entered.

Usage

This parameter list:

Four or less parameters are needed to present temperature data:

|MeltingPt=Decomposes when >
|MeltingPtC=50
|MeltingPt_ref=<ref>[www.example.com]</ref>
|MeltingPt_notes=My notes<ref>[www.chemspider.com]</ref>

Decomposes when >_50 °C (122 °F; 323 K)[1]_My notes[2]

The options for conversion:
|MeltingPtC=50
|MeltingPtF=50
|MeltingPtK=50
Temperature range:
|MeltingPtC=50 to 70
|MeltingPtF=50 to 70
|MeltingPtK=50 to 70








| Section = {{Chembox Properties
| MeltingPt =
| MeltingPtC =
| MeltingPtF =
| MeltingPtK =
| MeltingPt_ref =
| MeltingPt_notes =

| BoilingPt =
| BoilingPtC =
| BoilingPtF =
| BoilingPtK =
| BoilingPt_ref =
| BoilingPt_notes =
  }}

Template:Pre2

| Section = {{Chembox Hazards
| FlashPt =
| FlashPtC =
| FlashPtF =
| FlashPtK =
| FlashPt_ref =
| FlashPt_notes =

| AutoignitionPt =
| AutoignitionPtC =
| AutoignitionPtF =
| AutoignitionPtK =
| AutoignitionPt_ref =
| AutoignitionPt_notes =
  }}

Template:Pre2

See also

Template:Navbox Chembox