{{{1}}}{{{2}}}
{{Sup sub | superscript | subscript}}
To get: D2g
You would use: D{{Sup sub|2|g}}
{{±}}