Difference between revisions of "Template:Chembox Supplement"
Jump to navigation
Jump to search
imported>DePiep (Allow setting the data page name (to overwrite pagename). Wikipedia_talk:Chemical_infobox#Chembox_code_update_27_March_2014) |
imported>DePiep (Update Template:Chembox suite templates per WT:Chembox changes c.s.) |
||
| Line 1: | Line 1: | ||
| − | {{# | + | {{#if:{{{OtherAnions|}}}{{{OtherCations|}}}{{{Function|}}}{{{OtherFunction_label|}}}{{{OtherFunctn|}}}{{{OtherFunction|}}}{{{OtherCpds|}}}{{{OtherCompounds|}}} |
| − | {{! | + | | {{Chembox headerbar |
| − | {{ | + | |header=Related compounds |
| − | {{ | + | |addcats=<!-- |
| − | {{ | + | -->{{#ifeq:{{{1|¬PresenT}}}|¬PresenT |
| − | {{ | + | ||[[Category:Chemical infoboxes with tracked parameters|3*]] }}<!-- |
| − | {{ | + | -->{{#if:{{{Function|}}}{{{OtherFunctn|}}}{{{OtherCpds|}}} |
| − | {{ | + | |[[Category:Chemical infoboxes with misplaced or deprecated parameters|O*other]]}}<!-- |
| − | {{ | + | -->}} |
| − | {{ | + | {{#if:{{{OtherAnions|}}} |{{Chembox OtherAnions |otherAnions={{{OtherAnions|}}} }}}} |
| − | {{ | + | {{#if:{{{OtherCations|}}} |{{Chembox OtherCations |otherCations={{{OtherCations|}}} }}}} |
| + | {{#if:{{{OtherFunctn|}}}{{{OtherFunction|}}} |{{Chembox OtherFunctn |otherFunction={{{OtherFunctn|}}} {{{OtherFunction|}}} |otherFunction_label={{{Function|}}} {{{OtherFunction_label|}}} }}}} | ||
| + | {{#if:{{{OtherCpds|}}}{{{OtherCompounds|}}} |{{Chembox OtherCpds |otherCompounds={{{OtherCpds|}}} {{{OtherCompounds|}}} }}}}<!-- | ||
| + | -->}}<noinclude>{{documentation}}</noinclude> | ||
Revision as of 11:35, 6 February 2015
File:Test Template Info-Icon - Version (2).svg Template documentation[view] [edit] [history] [purge]
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. |