Template:Fraction/doc
Jump to navigation
Jump to search
{{#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)
This is the documentation page, it should be transcluded into the main template page. See Template:Doc for more information.