{{sup sub | superscript | subscript}}

To get: n-1k-1(2g)

You would use: <FONT SIZE=5>∑</font>{{sup sub|n-1|k-1}}<FONT SIZE=5>(</font>{{sup sub|2|g}}<FONT SIZE=5>)</font>

{{±}}