(Undo revision 1128842 by Dentedharp90041 (talk) output should be visible) |
mNo edit summary |
||
Line 1: | Line 1: | ||
+ | <includeonly>{{ |
||
− | {{ |
||
#if: {{{3|}}} |
#if: {{{3|}}} |
||
| {{{1}}} <sup>{{{2}}}</sup>⁄<sub>{{{3}}}</sub> |
| {{{1}}} <sup>{{{2}}}</sup>⁄<sub>{{{3}}}</sub> |
||
| <sup>{{{1}}}</sup>⁄<sub>{{{2}}}</sub> |
| <sup>{{{1}}}</sup>⁄<sub>{{{2}}}</sub> |
||
− | }}<noinclude> |
+ | }}</includeonly><noinclude> |
{{documentation}} |
{{documentation}} |
||
<!-- Put categories/interwiki on the documentation page --> |
<!-- Put categories/interwiki on the documentation page --> |
Revision as of 10:57, 4 December 2019
Shortcut
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.