Search results
Results from the WOW.Com Content Network
— for using names in sortable tables (using "last name, first name" as default sort key) Template:Date table sorting ( backlinks edit ) — for using dates in sortable tables Template:Number table sorting ( backlinks edit ) — for using alphabetic sort mode for numbers in sortable tables
This category contains templates used in table rows of sortable tables, often to provide a hidden sort key (marked with the data-sort-value attribute), and/or to force a particular sort mode. The pages listed in this category are templates .
It must go in the header cell with the sorting icon. It will not work in a header cell without a sorting icon. For example; when there are two rows of headers, the bottom row will always have the sorting icons, as explained previously. If there are problems sorting a column, forcing a particular data type often helps. Be specific.
No description. Template parameters [Edit template data] This template prefers inline formatting of parameters. Parameter Description Type Status First Name 1 no description Example Tom Unknown required Last Name 2 no description Example Jones Unknown required Optional Link Target 3 no description Example Tom Jones (singer) Page name optional Optional Sort Key 4 no description Example Jones ...
Note: that data-sort-type=VALUE must go in the header cell with the sorting icon. That will be the lowest header cell. That will be the lowest header cell. (See Help:Sortable tables § Forcing a column to have a particular data type ).
The HTML markup produced by this template includes an hCard microformat, which makes the person's name parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book.
To avoid this problem when doing an alphabetical sort, select all of the table except the header rows. To do so with multiple columns click the top left non-column-header cell, and then shift-click the bottom right cell.
Add the new template to the table in the common documentation afterwards. Please consider reusing one of the other templates and please choose the color sensibly. If you find a table cell template that does not take a parameter and you want to be able to change the text in the cell, do not duplicate the template! Instead, edit the template and ...