Difference between revisions of "Template:Chembox Supplement"
Jump to navigation
Jump to search
imported>DePiep (Update Template:Chembox suite templates per WT:Chembox changes c.s. (from the right sandbox now)) |
imported>DePiep (Update Template:Chembox suite templates per WT:Chembox Updates) |
||
| Line 1: | Line 1: | ||
{{#ifexist:{{{data page pagename|{{PAGENAME}} (data page)}}} | {{#ifexist:{{{data page pagename|{{PAGENAME}} (data page)}}} | ||
|{{Chembox headerbar | |{{Chembox headerbar | ||
| − | |header=[[{{{data page pagename|{{PAGENAME}} (data page)}}}|Supplementary data page]] }} | + | |header=[[{{{data page pagename|{{PAGENAME}} (data page)}}}|Supplementary data page]] |
| + | |addcats=[[Category:Chemical articles having a data page]] }} | ||
{{!}} {{longitem|[[{{{data page pagename|{{PAGENAME}} (data page)}}}#Structure and properties|Structure and<br/>properties]]}} | {{!}} {{longitem|[[{{{data page pagename|{{PAGENAME}} (data page)}}}#Structure and properties|Structure and<br/>properties]]}} | ||
{{!}} [[Refractive index]] (''n''),<br/>[[Dielectric constant]] (ε<sub>r</sub>), etc. | {{!}} [[Refractive index]] (''n''),<br/>[[Dielectric constant]] (ε<sub>r</sub>), etc. | ||
Revision as of 23:55, 11 February 2015
Contents
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
- Page Ammonia, with existing page ammonia (data page).
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
| The above documentation is transcluded from Template:Chembox Supplement/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |