Template:Fraction: Difference between revisions

From Nonkiki Wiki
Jump to navigation Jump to search
m 1 revision imported: All the templates from Cuntel Wiki
 
(No difference)

Latest revision as of 05:55, 23 January 2019

Used to present a vulgar fraction in a standard way. Anonymous arguments are used, since both are mandatory anyway. If there exists a Unicode character representation of the desired fraction (ie, if the denominator is 2..8 and the numerator is such that the result represents a simple proper fraction), then that will be used; otherwise it will be faked using superscripts and subscripts.

Usage

Usage is: {{Fraction|numerator|denominator}}.

Examples

One half, written {{Fraction|1|2}}, gives: ½.

Seven thirteenths, written {{Fraction|7|13}}, gives: 7/13.