Template:Formatnum/SortCell

From Kerbal Space Program Wiki
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