Module:SortName/doc explained
This module returns a string in a format suitable as a category sortkey, per .
- InputThe module accepts a string as the first and only unnamed parameter, but is meant to be used with no parameter, in which case the title of the calling page is used.
- UsageThis module should be subst'd for use in template parameters that accept a sortkey or in the
<nowiki>{{</nowiki>DEFAULTSORT}}
variable.
- No input (sorts the pages title):
<nowiki>{{</nowiki>subst:#invoke:SortName|sortname}}
- With input:
<nowiki>{{</nowiki>subst:#invoke:SortName|sortname|input string}}