Template:Sfrac/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{dochead}}
{{substitute|no}}{{doc head Wikipedia}}{{templatestyles}}
=== Usage ===
{{Wikipedia}}
One, two, or three arguments can be passed: A mixed number is notated with three (integer part and fraction), a normal fraction with two, and a reciprocal with just one.
{{clear}}


=== Examples ===
=== See also ===
{| class="wikitable center-all"
* [[Template:Fraction]] – for typesetting oblique fractions.{{clear}}
! You type
! You get
|-
| <code><nowiki>{{sfrac|A|B|C}}</nowiki></code>
| {{sfrac|A|B|C}} (integer, numerator, and denominator)
|-
| <code><nowiki>{{sfrac|B|C}}</nowiki></code>
| {{sfrac|B|C}} (numerator and denominator)
|-
| <code><nowiki>{{sfrac|C}}</nowiki></code>
| {{sfrac|C}} (just denominator)
|}

Latest revision as of 12:48, 25 May 2025

This template should not be substituted.
English Wikipedia has an article on:

See documentation on Wikipedia.

See also