Template:Fraction/doc: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(No difference)
|
Latest revision as of 17:02, 14 October 2011
{{#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.