From Wikibooks, open books for an open world
Jump to navigation Jump to search

This template is a combination of {{frac}} and {{sort}}. It allows numerical sorting of a column containing fractions.

Examples[edit source]

For examples of tables using the template see DHL Delivery Man Award.

Code[edit source]

<span class="template-frac">
     |{{#expr: {{{1}}}+{{{2}}}/{{{3}}} }}
       |{{#expr: {{{1}}}/{{{2}}} }}
       |{{#expr: 1/{{{1}}} }}

See also[edit source]