Template:LastNameLink

From ChoralWiki
Revision as of 00:14, 8 July 2020 by Nikolaus Hold (talk | contribs) (Created page with "<includeonly>{{#if:{{{nolink}}}|{{#if:{{{2|}}}|{{{2}}}, {{{1}}}|{{{1}}}}}|[[{{#if:{{{2|}}}|{{{1}}} {{{2}}}{{!}}{{{2}}}, {{{1}}}|{{{1}}}}}}]]}}</includeonly><noinclude> '''Usag...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage:
May be used for composer names in sortable tables.
The result is a link to the composer page with text last name, first name as a sort value.

Input Result
{{LastNameLink|first|last}}
[[first last|last, first]]
{{LastNameLink|last and only name}}
[[last and only name]]
{{LastNameLink|first|last|nolink=1}}
last, first