Help:Sort
From Stargate Worlds Wiki (SGW)
The Sort extension allows simplified creation of sorted lists through the use of a parser hook.
[edit] Usage
Sort adds a new tag, <sort>, to the MediaWiki markup, which can be inserted while editing. The syntax of this tag is
<sort order="[order]" class="[class]">List item oneList item twoetc.</sort>
The order and class attributes are optional, and are used to customise the sort direction and list type generated. By default, Sort will generate an alphabetically sorted unordered list. Each item in the list should go on a new line. Wiki markup can be used.
[edit] Order
The following are valid order values
- asc - ascending sort (default)
- desc - descending sort
[edit] Class
The following are valid class values
- ul - unordered [bulleted] list (default)
- ol - ordered [numbered] list

