Template:Ntsc

From Wikibooks, open books for an open world
Jump to navigation Jump to search

{{ntsh|{{{1}}}}}{{convert|{{{1}}}|{{{2}}}|abbr=on}}

Template documentation[edit] [history] [purge]

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

Usage[edit]

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]

  • {{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