Difference between revisions of "Module:Adjacent stations/MiWay"
Jump to navigation
Jump to search
Script error: No such module "Parameter validation".
blackwiki>Mackensen (←Created page with 'local p = { ["system title"] = "MiWay", ["system icon"] = "20px|link=MiWay", ["name format"] = "font-size: 150%; font-fami...') |
blackwiki>Mackensen (system loopback) |
||
| Line 17: | Line 17: | ||
["title"] = "MiLocal", | ["title"] = "MiLocal", | ||
["color"] = "f25a20", | ["color"] = "f25a20", | ||
| + | }, | ||
| + | ["MiWay"] = { | ||
| + | ["title"] = "[[MiWay]]", | ||
}, | }, | ||
}, | }, | ||
Revision as of 19:16, 28 June 2019
This is a data module for Module:Adjacent stations. It supports services operated by MiWay (Mississauga Transit).
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:
| Connections |
|
|---|---|
{{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