Template:Format ionic substance/doc

From blackwiki
< Template:Format ionic substance
Revision as of 19:26, 8 October 2015 by imported>Renamed user awfwvowjvwrvnwio (Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> ==...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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|-}}

Result: Na+(Cl-)