Template:Frac/doc
This is a documentation subpage for Template:Frac. It may contain usage information, categories and other content that is not part of the original template page. |
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 b⁄c (integer, numerator and denominator)
{{frac|a|b}}
- a⁄b (numerator and denominator)
{{frac|a}}
- 1⁄a (denominator only)