Template:Sort
SummaryEdit
This template is a simple shortcut for the data-sort-value=
attribute in a table cell.
ParametersEdit
Parameter | Scope | Description |
---|---|---|
1 | required | The sort value. |
ExamplesEdit
{| class="wikitable sortable" ! data-sort-type=number | Numbers |- | {{Sort|5}} | Five |- | {{Sort|4}} | Four |- | {{Sort|1}} | One |- | {{Sort|3}} | Three |- | {{Sort|2}} | Two |}
Numbers |
---|
Five |
Four |
One |
Three |
Two |