Difference between revisions of "Template:Chembox Supplement"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Update Template:Chembox suite templates per WT:Chembox changes c.s.)
imported>DePiep
(Update Template:Chembox suite templates per WT:Chembox changes c.s. (from the right sandbox now))
Line 1: Line 1:
{{#if:{{{OtherAnions|}}}{{{OtherCations|}}}{{{Function|}}}{{{OtherFunction_label|}}}{{{OtherFunctn|}}}{{{OtherFunction|}}}{{{OtherCpds|}}}{{{OtherCompounds|}}}
+
{{#ifexist:{{{data page pagename|{{PAGENAME}} (data page)}}}
| {{Chembox headerbar
+
|{{Chembox headerbar
|header=Related compounds
+
|header=[[{{{data page pagename|{{PAGENAME}} (data page)}}}|Supplementary data page]] }}
|addcats=<!--
+
{{!}} {{longitem|[[{{{data page pagename|{{PAGENAME}} (data page)}}}#Structure and properties|Structure and<br/>properties]]}}
-->{{#ifeq:{{{1|¬PresenT}}}|¬PresenT
+
{{!}} [[Refractive index]] (''n''),<br/>[[Dielectric constant]] (ε<sub>r</sub>), etc.
||[[Category:Chemical infoboxes with tracked parameters|3*]] }}<!--
+
{{!}}-
-->{{#if:{{{Function|}}}{{{OtherFunctn|}}}{{{OtherCpds|}}}
+
{{!}} {{longitem|Thermodynamic<br/>data}}
|[[Category:Chemical infoboxes with misplaced or deprecated parameters|O*other]]}}<!--
+
{{!}} [[{{{data page pagename|{{PAGENAME}} (data page)}}}#Thermodynamic properties|Phase behaviour]]<br/>solid&ndash;liquid&ndash;gas
-->}}
+
{{!}}-
{{#if:{{{OtherAnions|}}} |{{Chembox OtherAnions |otherAnions={{{OtherAnions|}}} }}}}
+
{{!}} {{longitem|[[{{{data page pagename|{{PAGENAME}} (data page)}}}#Spectral data|Spectral data]]}}
{{#if:{{{OtherCations|}}} |{{Chembox OtherCations |otherCations={{{OtherCations|}}} }}}}
+
{{!}} [[UV/VIS spectroscopy|UV]], [[Infrared spectroscopy|IR]], [[NMR spectroscopy|NMR]], [[Mass spectrometry|MS]]
{{#if:{{{OtherFunctn|}}}{{{OtherFunction|}}} |{{Chembox OtherFunctn |otherFunction={{{OtherFunctn|}}}&#x20;{{{OtherFunction|}}} |otherFunction_label={{{Function|}}}&#x20;{{{OtherFunction_label|}}} }}}}
+
{{!}}-
{{#if:{{{OtherCpds|}}}{{{OtherCompounds|}}} |{{Chembox OtherCpds |otherCompounds={{{OtherCpds|}}}&#x20;{{{OtherCompounds|}}} }}}}<!--
+
}}<noinclude>{{documentation}}</noinclude>
-->}}<noinclude>{{documentation}}</noinclude>
 

Revision as of 11:40, 6 February 2015

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

Usage

This box is used as a module in the {{Chembox}}. This template does not have any parameters, it only shows output if page "{{pagename}} (data page)" exists. See the example below for Ammonia, where Ammonia (data page) exists.

Example

Chembox Supplement
Except where otherwise noted, data are given for materials in their standard state (at 25 °C [77 °F], 100 kPa).
Infobox references

Subtemplates used

  • None

By default, the name for the data page is [[<pagename> (data page)]]. So for ammonia, that is Ammonia (data page).

In some situations it may be needed to overwrite that default name:

|data page pagename=Some other page. (This option is used on this documentation. Otherwise this page would look for the default pagename Chembox Supplement (data page)).

See also

Template:Navbox Chembox