Template:Format ionic substance/doc
< Template:Format ionic substance
Jump to navigation
Jump to search
Revision as of 19:40, 19 October 2015 by imported>Renamed user awfwvowjvwrvnwio (→Examples)
| This is a documentation subpage for Template:Format ionic substance. It contains usage information, categories and other content that is not part of the original template page. |
Usage
{{Format ionic substance|first_formula|first_charge|second_formula|second_charge}},
where first_formula and second_formula are the chemical formulae (as given to Template:Format molecular formula) of the ions (positive and negative, respectively), and first_charge and second_charge are their respective charges.
Examples
{{Format ionic substance|Na|+|Cl|-|displaycharges}}
Result: Na+(Cl-)
{{Format ionic substance|Al|3+|SO4|2-|displaycharges}}
Result: (Al3+)2(SO42-)3