⁄
This template is used on approximately 38,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This template should not be substituted. |
This template should not be used in science or mathematical articles, use {{sfrac}} instead. |
This template uses TemplateStyles: |
This template builds an alternative form of common fractions. The template takes one, two, or three parameters: the optional integer (may be signed), the optional numerator and the required denominator; in this order.
Please do not subst:
itute it. This template should also not be used in certain situations; see MOS:FRAC and MOS:MATH § Fractions. For science or mathematical articles, use {{sfrac}} instead. To allow numerical sorting of a column containing fractions, use data-sort-value="X.YYY"
where X.YYY
is a rounded decimal equivalent. See Help:Sortable tables for more information and options. Inside citation templates, use the cleaner {{citefrac}}.
{{fraction|A|B|C}}
{{fraction|B|C}}
{{fraction|C}}
{{fraction}}
{{fraction}}
or ⁄
may be used to print out the fraction slash glyph " ⁄ ".TemplateData for Fraction
A template for displaying common fractions of the form int+num/den nicely. It supports 0–3 anonymous parameters with positional meaning.
Parameter | Description | Type | Status | |
---|---|---|---|---|
leftmost part | 1 | Denominator if only parameter supplied. Numerator if 2 parameters supplied. Integer if 3 parameters supplied. If no parameter is specified the template will render a fraction slash only. | Line | optional |
middle-right part | 2 | Denominator if 2 parameters supplied. Numerator if 3 parameters supplied. | Line | optional |
rightmost part | 3 | Denominator, always. | Line | optional |
font-variant-numeric:diagonal-fractions