Template:Frac
From Wikisource
[edit] []
Template documentation
[edit] Usage
This template builds nicer-looking common fractions. It takes one, two or three parameters: the optional integer (may be signed), the optional numerator and the required denominator; in this order.
{{frac|A|B|C}}- AB⁄C (integer, numerator and denominator)
A<s style="display:none">+</s><small><sup>B</sup><big>⁄</big><sub>C</sub></small>{{frac|A|B}}- A⁄B (numerator and denominator)
<small><sup>A</sup><big>⁄</big><sub>B</sub></small>{{frac|A}}- 1⁄A (denominator only)
<small><sup>1</sup><big>⁄</big><sub>A</sub></small>
| The above documentation is transcluded from Template:Frac/doc. (edit | history) Editors can experiment in this template's sandbox (create) and testcases (create) pages. Please add categories and interwikis to the /doc subpage. Subpages of this template. |