Difference between revisions of "Module:SortName/doc"
Jump to navigation
Jump to search
blackwiki>BrandonXLF m (→top: clean up, replaced: {{ml → {{Lm) |
m (4 revisions imported) |
||
| (One intermediate revision by one other user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Lmd|SortName}} |
This module returns a string in a format suitable as a category sortkey, per [[WP:NAMESORT]]. | This module returns a string in a format suitable as a category sortkey, per [[WP:NAMESORT]]. | ||
Latest revision as of 07:27, 28 September 2020
Module:SortName (edit | talk | history | links | watch | logs)
This module returns a string in a format suitable as a category sortkey, per WP:NAMESORT.
- Input
The 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.
- Usage
This module should be subst'd for use in template parameters that accept a sortkey or in the {{DEFAULTSORT}} variable.
- No input (sorts the pages title):
{{subst:#invoke:SortName|sortname}} - With input:
{{subst:#invoke:SortName|sortname|input string}}