Difference between revisions of "Template:Next stations"

From Minecart Rapid Transit Wiki
Jump to navigation Jump to search
Minor (color bars blue for NW and NE)
Tag: 2017 source edit
Minor (Fix the Zephyr South ordering)
Tag: 2017 source edit
Line 24: Line 24:
 
|XE={{s|XE{{#expr: {{{3|15}}}-1}}}}<br>{{Next stations/Terminus|xwc}}
 
|XE={{s|XE{{#expr: {{{3|15}}}-1}}}}<br>{{Next stations/Terminus|xwc}}
 
|Y={{slc|Y{{#expr: {{{3|15}}}-1}}}}<br>{{Next stations/Terminus|{{#ifexpr: {{{3|15}}} >= 18|yns|yn}}}}
 
|Y={{slc|Y{{#expr: {{{3|15}}}-1}}}}<br>{{Next stations/Terminus|{{#ifexpr: {{{3|15}}} >= 18|yns|yn}}}}
|ZS={{s|ZS{{#expr: {{{3|47}}}+1}}}}<br>{{Next stations/Terminus|{{#ifexpr: {{{3|15}}} >= 5|zss|zs}}}}
+
|ZS={{s|ZS{{#expr: {{{3|47}}}+1}}}}<br>{{Next stations/Terminus|{{#ifexpr: {{{3|15}}} >= 5|zs|zss}}}}
 
|ZN={{s|ZN{{#expr: {{{3|46}}}-1}}}}<br>{{Next stations/Terminus|zsc}}
 
|ZN={{s|ZN{{#expr: {{{3|46}}}-1}}}}<br>{{Next stations/Terminus|zsc}}
 
}}|{{{p}}}}}}}
 
}}|{{{p}}}}}}}

Revision as of 03:51, 27 May 2020

MRT
Previous station Next station
 XW16  West Vermilion
towards XW31
 XW15  Vermilion  XW14  Foobar
towards Bawktown South via Central City

Documentation

{{transit nav}}
{{next stations|MRT1|2}}
|}

Or, to customise, replace next stations template with:
{{next stations|MRT|1|2|t={{s|1|1 2}}|n={{s|1|1 3}}|towards 1 [terminus] via 4}}

  1. Line letter
  2. Station number
  3. Station after the station
  4. Via