Module:Adjacent stations/MiWay

< Module:Adjacent stations
Revision as of 18:36, 8 July 2021 by Zoran (talk | contribs) (Moved page from wikipedia:en:Module:Adjacent stations/MiWay)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Template:Adjacent stations doc

Lines

Template:Rail template doc Template:Rail template doc Template:Rail template doc Template:Rail template doc (for linking the system) Template:Rail template doc

Example usage

Local and express buses in an infobox: Template:Infobox station

{{Infobox station|connections={{Collapsible list
  |framestyle=border:none; padding:0; <!--Hides borders and improves row spacing-->
  |title=  [[Image:MiWay logo Aug2010.png|22px|link=MiWay]] [[List of MiWay bus routes|MiWay buses]]
| 1= {{RouteBox|35||#{{rcr|MiWay|local}}|white}} Eglinton
| 2= {{RouteBox|87||#{{rcr|MiWay|local}}|white}} Meadowvale-Skymark
| 3= {{RouteBox|100||#{{rcr|MiWay|express}}|white}} Airport Express
| 4= {{RouteBox|107||#{{rcr|MiWay|express}}|white}} Malton Express
| 5= {{RouteBox|109||#{{rcr|MiWay|express}}|white}} Meadowvale Express
}}}}

local p = {
	["system title"] = "[[MiWay]]",
	["system icon"] = "[[File:MiWay logo Aug2010.png|20px|link=MiWay]]",
	["name format"] = "font-size: 150%; font-family:Helvetica, sans; font-weight: bolder; text-transform:uppercase; line-height: 140%; color: 333; background-color: transparent;",
	["station format"] = {
		"%1 station",
	},
	["lines"] = {
		["_default"] = {
			["color"] = "f25a20",
		},
		["MiExpress"] = {
			["title"] = "MiExpress",
			["color"] = "026894",
		},
		["MiLocal"] = {
			["title"] = "MiLocal",
			["color"] = "f25a20",
		},
		["MiWay"] = {
			["title"] = "[[MiWay]]",
		},
	},
	["aliases"] = {
		["express"] = "MiExpress",
		["local"] = "MiLocal",
	}
}

return p