This is a documentation subpage for Template:Sortname. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 57,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Preview message: Transclusion count updated automatically (see documentation). |
This template uses Lua: |
{{sortname|first|last|optional link target|optional sort key}}
Alternative version of {{sort}} tailored to the wikilinked names of persons, to be used in a sortable table (created with class="wikitable sortable").
The optional link target is useful when "first last" is a disambiguation page instead of the desired article, or when linking to a section of a page.
The optional sort key is useful in the case of special characters such as é.
|dab=disambiguator
|nolink=1