Template:SortKeyName: Difference between revisions

From Hattrick
Jump to navigationJump to search
Lirion (talk | contribs)
mNo edit summary
m Robot: Changing Category:Formatting Templates
 
(2 intermediate revisions by one other user not shown)
Line 4: Line 4:
Just write '''<nowiki>{{</nowiki>{{PAGENAME}}|Given_Name|Surname<nowiki>}}</nowiki>'''
Just write '''<nowiki>{{</nowiki>{{PAGENAME}}|Given_Name|Surname<nowiki>}}</nowiki>'''


This will sort your player as ''Surname, Given_Name''.
This will sort your player as ''Surname, Given_Name'' but still will display ''Given_Name Surname''.
 
[[Category:Formatting templates|SortKeyName]]
[[Category:Formatting Templates|SortKeyName]]</nowiki>
</noinclude>

Latest revision as of 19:30, 25 July 2010

Sorts Players in tables by their surnames when using the standard form Given_Name Surname.

Just write {{SortKeyName|Given_Name|Surname}}

This will sort your player as Surname, Given_Name but still will display Given_Name Surname.