Template:Sortratio/doc

From Wikipedia, the free encyclopedia
Jump to navigation Jump to search

This is a template that can be used to enter a ratio into a table cell such that the ratios sort correctly.

The table header cell will need to have the data-sort-type=number attribute for this to work reliably.

It was created as a workaround for {{resratio}} failing to do this. If {{resratio}} is later fixed, this template will be redundant.

Example usage: {{sortratio|3|4}}