Template:Format molecular formula/testcases

From blackwiki
Jump to navigation Jump to search

Input

  • O2
  • H2O
  • H2O2
  • C6H12O6
  • NOx
  • Ca2SO4

Target output

  • O₂
  • H₂O
  • H₂O₂
  • C₆H₁₂O₆
  • NOₓ
  • Ca₂SO₄

Sandbox version

  • This template requires an unnamed parameter (plain tet molecule representation to format as wikitet).
  • O
  • HO
  • HO
  • CHO
  • NO
  • CaSO

Main template

  • This template requires an unnamed parameter (plain text molecule representation to format as wikitext).
  • O2
  • H2O
  • H2O2
  • C6H12O6
  • NOx
  • Ca2SO4