This template builds nicer-looking common fractions. It takes one, two or three parameters: the optional integer (maybe signed), the optional numerator and the required denominator; in this order.

{{frac|a|b|c}}
a bc (integer, numerator and denominator)
{{frac|a|b}}
ab (numerator and denominator)
{{frac|a}}
1a (denominator only)