Template:Unifrac/doc
Appearance
This is a documentation subpage for Template:Unifrac. It contains usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Usage
[edit]Get the Unicode character for a fraction if it exists, otherwise use {{frac}} or write the fraction in plain text.
Example
{{unifrac|5|8}}
⅝
Example
{{unifrac|9|8}}
9⁄8
Example
{{unifrac|9|8|plaintext = yes}}
9/8
See also
[edit]- {{frac}}, displays common fractions using a fraction slash, e.g. 1⁄60
- {{mfrac}}, displays common fractions using LaTeX markup, e.g.
- {{sfrac}} for horizontal fraction line, e.g. 160
- {{sfrac nobar}}, displays common fractions without a fraction line, e.g. 160
- {{dual line}}, displays two lines of text as an inline block
- {{unifrac}}, displays the Unicode character for a fraction if it exists and otherwise delegates to {{frac}}, e.g. ⅝ but 1⁄60
- {{frac13}}, displays ⅓
- {{frac23}}, displays ⅔