Template:Sms/doc: Difference between revisions
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 is a documentation subpage for Template:Sms (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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>