Template:Sortfrac/doc
This is a documentation subpage for Template:Sortfrac. It contains usage information, categories and other content that is not part of the original template page. |
This template is a combination of {{frac}} and {{sort}}. It allows numerical sorting of a column containing fractions.
Examples
"{{sortfrac|78|2|3}}"
gives "782⁄3" [1]- Template:Xpd2
"{{sortfrac|3}}"
gives "1⁄3" [2]
For examples of tables using the template see DHL Delivery Man Award.
Code
<source lang=html5>
1⁄{{{1}}}
</source>
See also
- Template:Sortname - sort names using "last name, first name" as default sort key
- {{Sfrac}}