Difference between revisions of "Template:Format molecular formula/testcases"

From blackwiki
Jump to navigation Jump to search
test>Crissov
(Input, Target output)
test>Crissov
(Ca2SO4)
Line 8: Line 8:
 
* C6H12O6
 
* C6H12O6
 
* NOx
 
* NOx
 +
* Ca2SO4
  
 
== Target output ==
 
== Target output ==
Line 16: Line 17:
 
* C₆H₁₂O₆
 
* C₆H₁₂O₆
 
* NOₓ
 
* NOₓ
 +
* Ca₂SO₄
  
 
== [[Template:{{TEMPLATENAME|testcases}}/sandbox|Sandbox version]] ==
 
== [[Template:{{TEMPLATENAME|testcases}}/sandbox|Sandbox version]] ==
Line 25: Line 27:
 
* {{{{TEMPLATENAME|testcases}}/sandbox|C6H12O6}}
 
* {{{{TEMPLATENAME|testcases}}/sandbox|C6H12O6}}
 
* {{{{TEMPLATENAME|testcases}}/sandbox|NOx}}
 
* {{{{TEMPLATENAME|testcases}}/sandbox|NOx}}
 +
* {{{{TEMPLATENAME|testcases}}/sandbox|Ca2SO4}}
  
 
{{clear}}
 
{{clear}}
Line 35: Line 38:
 
* {{{{TEMPLATENAME|testcases}}|C6H12O6}}
 
* {{{{TEMPLATENAME|testcases}}|C6H12O6}}
 
* {{{{TEMPLATENAME|testcases}}|NOx}}
 
* {{{{TEMPLATENAME|testcases}}|NOx}}
 +
* {{{{TEMPLATENAME|testcases}}|Ca2SO4}}
  
 
{{clear}}
 
{{clear}}

Revision as of 11:31, 12 May 2016

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