Template:Ss

From ChoralWiki
Revision as of 12:03, 12 May 2013 by Carlos (talk | contribs) (changed to accept a simpler syntax)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

ss stands for 'surname sorting'. This template is used to sort a table column by surnames instead of first names.

Usage with a single parameter

{{ss|«name»}}
Example
{{ss|Johann Sebastian Bach}}

is displayed as

Bach, Johann SebastianJohann Sebastian Bach

and the name will be sorted as "Bach, Johann Sebastian"

Usage with two parameters (for especial cases of sorting)

{{ss|«first name(s)»|«surname»}}
Example
{{ss|Josquin|des Prez}}

is displayed as

Des Prez, JosquinJosquin des Prez

and the name will be sorted as "Des Prez, Josquin"

See also