Jump to content

Template:Ntsc/doc

From Wikibooks, open books for an open world

"Number Table Sorting, Converted". Use this to sort converted units in tables with one template.

Example:

{| class="wikitable sortable" 
! City !! Elevation
|-
| Budapest || {{ntsc|606|ft}}
|-
| Denver || {{ntsc|5280|ft}}
|-
| Fairbanks || {{ntsc|446|ft}}
|-
| Glasgow || {{ntsc|351|ft}}
|-
| Mexico City || {{ntsc|7349|ft}}
|-
| New Orleans || {{ntsc|-6|ft}}
|}
City Elevation
Budapest &10000000000000606000000606 ft (185 m)
Denver &100000000000052800000005,280 ft (1,610 m)
Fairbanks &10000000000000446000000446 ft (136 m)
Glasgow &10000000000000351000000351 ft (107 m)
Mexico City &100000000000073490000007,349 ft (2,240 m)
New Orleans &09999999999999993999999−6 ft (−1.8 m)

See also

[edit source]
  • {{Nts}} – used to generate hidden sort keys for numbers
  • {{Ntsh}} – used to generate hidden sort keys for numbers (does not display the number)
  • {{Ntss}} – same as Nts, but allows for the number to be scaled
  • {{Convert}} – has a sortable option
  • {{Dts}} – for sorting dates
  • {{Sms}} – used to generate any hidden sort key