Difference between revisions of "Template:Hs"

From ChoralWiki
Jump to navigation Jump to search
(See also)
(Table formatting)
 
Line 32: Line 32:
 
* [[Template:Ss]]
 
* [[Template:Ss]]
  
[[Category:Templates|{{PAGENAME}}]]
+
[[Category:Table formatting templates]]
 
</noinclude>
 
</noinclude>

Latest revision as of 04:13, 27 August 2012

{{{1}}}

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
1999-12-1515 December 1999
1997-04-2121 April 1997
1998-04-2121 April 1998

See also