Template:Hs: Difference between revisions
Jump to navigation
Jump to search
(See also) |
(Table formatting) |
||
Line 32: | Line 32: | ||
* [[Template:Ss]] | * [[Template:Ss]] | ||
[[Category: | [[Category:Table formatting templates]] | ||
</noinclude> | </noinclude> |
Latest revision as of 04:13, 27 August 2012
Use
This template hides a string of text. If the contents of a cell of a sortable table are prefixed with a hidden string, the cell will sort using the hidden string.
The syntax for this template is:
{{hs|var}}
where var is a string of text.
Example
{| class="wikitable sortable" border="1" |- !C1 |- |{{hs|1999-12-15}}15 December 1999 |- |{{hs|1997-04-21}}21 April 1997 |- |{{hs|1998-04-21}}21 April 1998 |}
produces:
C1 |
---|
15 December 1999 |
21 April 1997 |
21 April 1998 |