# Template:Fraction

- Shortcut
- frac

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)

[view | edit | history | purge]The above documentation is transcluded from Template:Fraction/doc.