Template:Frac
From Bestiary of the Hypogriph
⁄
Notes[edit]
This template takes up to three parameters and arranges them as a formatted fraction.
{{frac|integer|numerator|denominator}}
{{frac|numerator|denominator}}
{{frac|denominator}}
{{frac}}
When one parameter is passed, the numerator is assumed to be "1".
If no parameter is passed, it returns just the "fraction slash" symbol.
Examples[edit]
{{frac|1|2|3}} |
1 2⁄3 |
{{frac|0|3}} |
0⁄3 |
2{{frac|3}} |
2 1⁄3 |
£s {{frac}}d |
£s d ⁄ |