Template:Fraction

From Vigyanwiki
Revision as of 04:40, 21 December 2006 by Template>Bjankuloski06en~enwiki (+mk)

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)