Template:Sfrac/doc: Difference between revisions

ArrowHead294 (talk | contribs)
Created page with
 
ArrowHead294 (talk | contribs)
mNo edit summary
 
(11 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly><hr><small>Documentation transcluded from [[/doc]]</small></includeonly>
{{substitute|no}}{{doc head Wikipedia}}{{templatestyles}}
This template generates the navigation bar for [[prime limit]] pages.


=== Usage ===
=== See also ===
This template takes anywhere between none and three arguments: A mixed number is notated with three (integer part and fraction), a normal fraction with two, and entering just one will notate a reciprocal.
* [[Template:Fraction]] – for typesetting oblique fractions.{{clear}}
 
=== Examples ===
{| class="wikitable center-all"
! You type
! You get
|-
| <code><nowiki>{{fraction|A|B|C}}</nowiki></code>
| {{sfrac|A|B|C}} (integer, numerator, and denominator)
|-
| <code><nowiki>{{fraction|B|C}}</nowiki></code>
| {{sfrac|B|C}} (numerator and denominator)
|-
| <code><nowiki>{{fraction|C}}</nowiki></code>
| {{sfrac|C}} (just denominator)
|}
 
<noinclude>[[Category:Template documentation]]</noinclude>