Šablonas:Sortname/doc
Šį puslapį sudaro dokumentacija, kategorijos ir kita informacija, kuri nėra šablono dalis. Norėdami peržiūrėti patį šablono puslapį, žr. Šablonas:Sortname. |
Panaudojimas[redaguoti vikitekstą]
{{sortname|first|last|optional link target|optional sort key}}
Creates a wikilinked name that can be used in a sortable table (created with class="wikitable sortable").
- The default sort key is "last, first".
- The link label is "first last".
- The default link target is "first last"
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 optional sort key is useful in the case of special characters such as é.
- Optional parameter
|nolink=1
Suppresses wikilinking the name, useful for list entries which are never likely to have articles so shouldn't be redlinked.
Microformat[redaguoti vikitekstą]
Nuorodos[redaguoti vikitekstą]
- Šablonas:Tiw — see talk for central sorting talk
- Šablonas:Tiw — for using dates in sortable tables
- Šablonas:Tiw — for using alphabetic sort mode for numbers in sortable tables