Difference between revisions of "Template:Format molecular formula/doc"
Jump to navigation
Jump to search
test>Jackmcbarn (uses Module:String now) |
test>Renamed user awfwvowjvwrvnwio |
||
| Line 5: | Line 5: | ||
<code><nowiki>{{Format molecular formula|H2O}}</nowiki></code> gives the [[molecular formula]] for [[water]] ({{Format molecular_formula|H2O}}). | <code><nowiki>{{Format molecular formula|H2O}}</nowiki></code> gives the [[molecular formula]] for [[water]] ({{Format molecular_formula|H2O}}). | ||
| − | Example arguments: H2O (above), [[carbon dioxide|CO2]], H4C2O, [[sulfuric acid|H2SO4]]. | + | Example arguments: H2O (above), [[carbon dioxide|CO2]] ({{Format molecular formula|CO2}}), H4C2O ({{Format molecular formula|H4C2O}}), [[sulfuric acid|H2SO4]] ({{Format molecular formula|H2SO4}}). |
The Lua module just puts "<nowiki><sub></sub></nowiki>" tags in the wanted spots. | The Lua module just puts "<nowiki><sub></sub></nowiki>" tags in the wanted spots. | ||