Template:Sortfrac
<span class="template-frac">1⁄{{{1}}}</span>
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}}
The above documentation is transcluded from Template:Sortfrac/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |