Template:Sms/doc: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "{{Documentation subpage}} This template can be used to generate a generic sort key. See Help:Sorting#Sort modes and meta:Template:Sms. It is useful in many different ...")
 
mNo edit summary
 
Line 19: Line 19:


</includeonly>
</includeonly>
[[Category:Templates]]

Latest revision as of 21:35, 14 December 2012

This template can be used to generate a generic sort key. See Help:Sorting#Sort modes and meta:Template:Sms. It is useful in many different situations. For example:

When used in the first row of a sortable column, it forces the column to sort alphabetically.
When a cell contains a wiki link, it can be used to force the cell to be sorted by some hidden text and not the bracket.

Usage[edit source]

{{sms|some text}}

Output[edit source]

{{sms|some text}} generates <span style="display:none">&some text</span>

See also[edit source]

  • {{Nts}} – used to generate hidden sort keys for numbers
  • {{Ntsh}} – used to generate hidden sort keys for numbers (does not display the number)