Template:SortKeyName: Difference between revisions
From Hattrick
Jump to navigationJump to search
mNo edit summary |
m the given names were clashed together, bad stuff for non CSS browsers and google |
||
| Line 1: | Line 1: | ||
<includeonly>{{#if: {{{1|}}} |<span style="display:none;">{{{2}}}, {{{1}}}</span>{{#if: {{{3|}}}|{{{3}}}{{!}}}}{{{1}}} {{{2|}}}}}</includeonly><noinclude> | <includeonly>{{#if: {{{1|}}} |<span style="display:none;">{{{2}}}, {{{1}}} </span>{{#if: {{{3|}}}|{{{3}}}{{!}}}}{{{1}}} {{{2|}}}}}</includeonly><noinclude> | ||
Sorts Players in tables by their surnames when using the standard form ''Given_Name Surname''. | Sorts Players in tables by their surnames when using the standard form ''Given_Name Surname''. | ||
Just write '''<nowiki>{{</nowiki>{{PAGENAME}}|Given_Name|Surname<nowiki>}}</nowiki>''' | Just write '''<nowiki>{{</nowiki>{{PAGENAME}}|Given_Name|Surname<nowiki>}}</nowiki>''' | ||
Revision as of 18:45, 24 July 2010
Sorts Players in tables by their surnames when using the standard form Given_Name Surname.
Just write {{SortKeyName|Given_Name|Surname}}