Template:Fraction
(Redirected from Template:Frac)
Jump to navigation
Jump to search
{{{1}}}⁄{{{2}}}
{{#vardefine: nodoc | {{{nodoc}}} }}{{#vardefine: baddoc | {{{baddoc}}} }}
This template allows you to easily create fractions.
Usage
{{frac|integer|numerator|denominator}}
If only two parameters are specified the integer parameter will become the numerator parameter, and the numerator parameter will become the denominator parameter.
{{frac|numerator|denominator}}
Examples
{{frac|A|B|C}}
- A B⁄C (integer, numerator and denominator)
{{frac|A|B}}
- A⁄B (numerator and denominator)
The above documentation is transcluded from Template:Fraction/doc. (edit | history)