Template:Auto sortname: Difference between revisions
Template page
More actions
Created page with "{{sortname|{{safesubst:<noinclude />remove last word|{{{1}}}}}|{{safesubst:<noinclude />last word|{{{1}}}}}|nolink={{{nolink|}}}}}<noinclude> {{documentation|content={{May be substituted}} {{Lua|Module:String}} A simple wrapper of {{tl|sortname}} that uses the {{tl|last word}} and {{tl|remove last word}} templates to detect how to sort with a single parameter. This template assumes that the person only has one surname (ie. John Smith or John Alexander Smith, where Alexan..." |
(No difference)
|
Latest revision as of 01:02, 6 March 2025
[[{{{1}}} {{{1}}}]]
This template may be substituted. |
Uses Lua: |
A simple wrapper of {{sortname}} that uses the {{last word}} and {{remove last word}} templates to detect how to sort with a single parameter. This template assumes that the person only has one surname (ie. John Smith or John Alexander Smith, where Alexander is a middle name); for more complex cases use {{sortname}}.