Template:Chembox Related/sandbox
Appearance
This is the template sandbox page for Template:Chembox Related (diff). |
This template is used on approximately 3,700 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
Usage
[edit]This box can be used as a module in the {{chembox}}. Copy the left column into an existing chembox, before the first section, and give the section a unique number 0–9 (the first line reads e.g. "| Section8 = {{Chembox Related"). All Related input creates a 'see also' list. It is good practice to use article links.
| Section8 = {{Chembox Related
| Related_ref =
| OtherAnions =
| OtherCations =
| OtherFunction =
| OtherFunction_label =
| OtherCompounds =
}}
|
{{Chembox Related}} - complete list Ions Ions Label text: "Related {{{OtherFunction_label}}}" Other compounds |
Example
[edit]Related compounds | |
---|---|
Other anions
|
- |
Other cations
|
Phosphine Arsine Stibine |
Related nitrogen hydrides
|
Hydrazine Hydrazoic acid |
Related compounds
|
Ammonium hydroxide |
Except where otherwise noted, data are given for materials in their standard state (at 25 °C [77 °F], 100 kPa).
|
{{Chembox
| Name = [[Ammonia]]
| Section8 = {{Chembox Related
| OtherAnions = -
| OtherCations = [[Phosphine]]<br/>[[Arsine]]<br/>[[Stibine]]
| OtherFunction = [[Hydrazine]]<br/>[[Hydrazoic acid]]
| OtherFunction_label = nitrogen hydrides
| OtherCompounds = [[Ammonium hydroxide]]
}}
}}
Of the parameters, only "Function" is written singular.
Subtemplates used
[edit]- {{Chembox OtherAnions}}
- {{Chembox OtherCations}}
- {{Chembox OtherFunctn}}
- {{Chembox OtherCpds}}
Tracking category
[edit]TemplateData
[edit]TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Chembox Related in articles based on its TemplateData.
TemplateData for Chembox Related Adds a subsection to {{Chembox}}. To be used: |Section9={{Chembox Related|...}}
|