Template:Sort: Difference between revisions

From Zelda Dungeon Wiki
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:
<span style="display:none;">{{{1}}}</span><noinclude>
<includeonly>data-sort-value="{{{1}}}"</includeonly><noinclude>
==Purpose==
==Purpose==
This is a simple template used to change the sorting order of a cell within a table with the ''sortable'' class.
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 at the very beginning of the cell before other content:<br>
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.