Template:LastNameFirst

From ChoralWiki
Revision as of 05:14, 10 March 2013 by Carlos (talk | contribs) (Created page with "<includeonly>{{#ifexpr: {{#len:{{#explode:{{{1|{{PAGENAME}}}}}||-1}}}} = {{#len:{{{1|{{PAGENAME}}}}}}} |{{ucfirst:{{{1|{{PAGENAME}}}}} }} |{{ucfirst:{{#explode:{{{1|{{PAGENAME...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Converts a text in the form "Name(s) Surname" to the form "Surname, Name(s)".

Syntax:

  • {{LastNameFirst}} returns the contents of {{PAGENAME}} after processing it.

Syntax with an optional parameter:

  • {{LastNameFirst|Antonín Dvořák}} returns "Dvořák, Antonín"