Template:Sms: Difference between revisions

From PS3 Developer wiki
Jump to navigation Jump to search
(Created page with "<span style="display:none">&{{{1|}}}</span><noinclude>{{documentation}}</noinclude>")
 
mNo edit summary
 
Line 1: Line 1:
<span style="display:none">&{{{1|}}}</span><noinclude>{{documentation}}</noinclude>
<span style="display:none">&{{{1|}}}</span><noinclude>{{documentation}}</noinclude>
[[Category:Templates]]

Latest revision as of 21:35, 14 December 2012

&

[edit] Template documentation

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)