Template:Formatnum/SortCell

From Kerbal Space Program Wiki
< Template:Formatnum
Revision as of 08:53, 3 September 2013 by XZise (talk | contribs) (+documentation;)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Automatically adds the data sort value for sortable tables. Has the same parameter as {{Formatnum}}. Additional arguments for the given cell need to be added before that template:

{| class="wikitable sortable"
! Values
|-
| {{Formatnum/SortCell|42}}
|-
| {{Formatnum/SortCell|74}}
|-
| style="background: #FDD" {{Formatnum/SortCell|47}}
|-
| {{Formatnum/SortCell|1337}}
|}
Values
42
74
47
1 337