Template:Sortname/doc


 * Usage:

Creates a wikilinked name that can 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 default sort key is "last, first".
 * The link label is "first last".
 * The default link target is "first last"

The optional sort key is useful in the case of special characters such as é.


 * Optional parameters
 * Wikilinks to "first last (disambiguator)". (Note: ignored if optional link target is not blank.)
 * Suppresses wikilinking the name, useful for list entries which are likely to never have articles so shouldn't be redlinked. (Note: optional link target ignored when "|nolink=1" used.)
 * Suppresses wikilinking the name, useful for list entries which are likely to never have articles so shouldn't be redlinked. (Note: optional link target ignored when "|nolink=1" used.)
 * Suppresses wikilinking the name, useful for list entries which are likely to never have articles so shouldn't be redlinked. (Note: optional link target ignored when "|nolink=1" used.)

Examples

 * Things you might not expect

Note
To link to a section within the page in which the template appears, encode the number sign:

Examples


 * gives: Examples

and for an inline Interlanguage link the initial colon must be encoded as

Hanning Schröder