Example[]
Suppose you were to make a sortable table mapping Spirit Tracks characters to the Realm they inhabit. Given that Realms are visited sequentially, it is more logical for the "Realm" column to sort according to their in-game order, rather than alphabetical order. That is, the order should be Forest Realm, Snow Realm, Ocean Realm, Fire Realm.
- Code
{|class="wikitable sortable" ! Character ! Realm |- | {{Sort Value|ST|Kofu}} | {{Sort Value|ST|Snow Realm}} |- | {{Sort Value|ST|Tengoron}} | {{Sort Value|ST|Fire Realm}} |- | {{Sort Value|ST|Wadatsumi}} | {{Sort Value|ST|Ocean Realm}} |- | {{Sort Value|ST|Wood}} | {{Sort Value|ST|Forest Realm}} |}
- Result
Character | Realm |
---|---|
Kofu | Snow Realm |
Tengoron | Fire Realm |
Wadatsumi | Ocean Realm |
Wood | Forest Realm |
This is the documentation page, it should be transcluded into the main template page. See here for more information.