Template:Sfrac/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
Created page with
 
ArrowHead294 (talk | contribs)
m Oops, this and Template:Fraction were copied over from Template:15-odd-limit and I forgot to update the heading
Line 1: Line 1:
<includeonly><hr><small>Documentation transcluded from [[/doc]]</small></includeonly>
<includeonly><hr><small>Documentation transcluded from [[/doc]]</small></includeonly>
This template generates the navigation bar for [[prime limit]] pages.  
This template renders fractions in vertical form.


=== Usage ===
=== Usage ===

Revision as of 13:52, 23 April 2024

This template renders fractions in vertical form.

Usage

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.

Examples

You type You get
{{fraction|A|B|C}} ⁠A+B/C (integer, numerator, and denominator)
{{fraction|B|C}} B/C (numerator and denominator)
{{fraction|C}} 1/C (just denominator)