Module:Adjacent stations/MiWay

MyWikiBiz, Author Your Legacy — Friday November 29, 2024
Jump to navigationJump to search

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