Template:Hs: Difference between revisions
Jump to navigation
Jump to search
(documentation from wikipedia:Template:Hs) |
m (oops) |
||
Line 29: | Line 29: | ||
|} | |} | ||
[[Category:Templates|{{ | [[Category:Templates|{{PAGENAME}}]] | ||
</noinclude> | </noinclude> |
Revision as of 14:48, 17 March 2010
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 |