Template:SortKey: Difference between revisions

From Hattrick
Jump to navigationJump to search
Lirion (talk | contribs)
Created page with '<includeonly><span style="display:none" class="sortkey">{{{1|}}} <nowiki>!</nowiki></span>{{{2|}}}</includeonly>'
 
Lirion (talk | contribs)
No edit summary
Line 1: Line 1:
<includeonly><span style="display:none" class="sortkey">{{{1|}}} <nowiki>!</nowiki></span>{{{2|}}}</includeonly>
<includeonly><span style="display:none" class="sortkey">{{{1|}}} <nowiki>!</nowiki></span>{{{2|}}}</includeonly><noinclude>
This template will add the given text where it is placed, but invisible.
 
''Example:'' You can individually sort table entries, e.g. if you have a list of players with positions and don't want the positions to simply be sorted alphabetically.<br/>This could result in:<br/>
<nowiki>{{</nowiki>{{PAGENAME}}|1<nowiki>}}</nowiki>GK<br/>
<nowiki>{{</nowiki>{{PAGENAME}}|2<nowiki>}}</nowiki>CB
 
[[Category:Formatting Templates|SortKey]]

Revision as of 11:02, 25 July 2010

This template will add the given text where it is placed, but invisible.

Example: You can individually sort table entries, e.g. if you have a list of players with positions and don't want the positions to simply be sorted alphabetically.
This could result in:
{{SortKey|1}}GK
{{SortKey|2}}CB