Template:Sort: Difference between revisions
Jump to navigation
Jump to search
Want an adless experience? Log in or Create an account.
(Created template) |
m (Text replacement - "<br>" to "<br/>") |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
< | <includeonly>data-sort-value="{{{1}}}"</includeonly><noinclude> | ||
==Purpose== | ==Purpose== | ||
This is a simple template used to change the sorting | This is a simple template used to change the sorting value of a cell within a table with the ''sortable'' class. | ||
==Usage== | ==Usage== | ||
To use this template, place the following | To use this template, place the following in the attributes section of the cell:<br/> | ||
{{Usage|Sorting Text}} | {{Usage|Sorting Text}} | ||
{{Usage/Param|Sorting Text|Text to sort the cell by.}} | {{Usage/Param|Sorting Text|Text to sort the cell by.}} | ||
{{Cat|Formatting Templates}} | {{Cat|Formatting Templates}} | ||
</noinclude> | </noinclude> |
Latest revision as of 15:34, February 8, 2015
Purpose
This is a simple template used to change the sorting value of a cell within a table with the sortable class.
Usage
To use this template, place the following in the attributes section of the cell:
{{Sort| Sorting Text }}
- Sorting Text — Text to sort the cell by.