Template:Fraction/doc: Difference between revisions

From Xenharmonic Wiki
Jump to navigation Jump to search
ArrowHead294 (talk | contribs)
No edit summary
ArrowHead294 (talk | contribs)
No edit summary
Line 3: Line 3:


=== Usage ===
=== 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. Not passing any arguments will produce the fraction slash character: U+2215 &nbsp;&#x2215;&nbsp; <span style="font-size: 10px;">DIVISION SLASH</span>.
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. Not passing any arguments will result in the output consisting only of the slash itself: U+2215 &nbsp;&#x2215;&nbsp; <span style="font-size: 10px;">DIVISION SLASH</span>.


=== Examples ===
=== Examples ===

Revision as of 13:46, 23 April 2024

This template generates the navigation bar for prime limit pages.

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. Not passing any arguments will result in the output consisting only of the slash itself: U+2215  ∕  DIVISION SLASH.

Examples

You type You get
{{fraction|A|B|C}} A+BC (integer, numerator, and denominator)
{{fraction|B|C}} BC (numerator and denominator)
{{fraction|C}} 1C (just denominator)
{{fraction}}   (just the fraction slash character)