Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Station icon link/doc: Difference between revisions

Template page
→‎Usage: update doc
 
m 1 revision imported: Pages related to Module:Adjacent stations
 
(No difference)

Latest revision as of 05:38, 8 February 2024

Template:Sidebar Adjacent stations

Template:Station icon link returns a rail icon and a station link from a subpage of Module:Adjacent stations.

Usage

Variables

  • system is the name of the system or an abbreviation.
  • line, line2, etc. are the line names. Up to 4 icons are supported.
  • links can set to no to disable hyperlink.

Examples

  • Using Module:Adjacent stations/Amtrak: {{Station icon link|Amtrak|30th Street|MFL}}Lua error in package.lua at line 80: module 'Module:Adjacent stations/Amtrak' not found. Lua error: expandTemplate: template "Amtrak stations" does not exist.
  • Using Module:Adjacent stations/MTR: {{Station icon link|MTR|University|ERL}}Lua error in package.lua at line 80: module 'Module:Adjacent stations/MTR' not found. Lua error: expandTemplate: template "MTR stations" does not exist.
  • Using Module:Adjacent stations/Montreal Metro: {{Station icon link|Montreal Metro|Lionel-Groulx|1|2}}Lua error in package.lua at line 80: module 'Module:Adjacent stations/Montreal Metro' not found.Lua error in package.lua at line 80: module 'Module:Adjacent stations/Montreal Metro' not found. Lua error: expandTemplate: template "Montreal Metro stations" does not exist.
  • Using Module:Adjacent stations/Montreal Metro: {{Station icon link|Montreal Metro|McGill|Blue|links=no}}Lua error in package.lua at line 80: module 'Module:Adjacent stations/Montreal Metro' not found. McGill

See also