Template:Ridership
Appearance
This template takes up to three arguments: ridership, miles of track, and (optionally) additional miles and produces three values separated by vertical bars for insertion into a table:
- The ridership, formatted with commas
- The number of miles of track (could be two values if the third parameter is provided), with kilometer conversion and a hidden key to make it sortable
- Ridership per mile of track
Example:
{|class="wikitable"
{{ridership|50000|20}}
|}
produces:
50,000 | 20 mi (32 km) | 2,500 |