This is a documentation subpage for Template:CapMetro stations. It may contain usage information, categories and other content that is not part of the original template page. |
This template is based on {{Transport for New South Wales railway stations}} Other related templates in this set are:
|
{{Sound Transit railway stations|_|state=}}
{{CapMetro stations}} is a universal navbox template, based on the design of {{Transport for New South Wales railway stations}}, that lists all of the stations and routes currently serviced, or planned to be serviced, by CapMetro, a public transport operator in Austin, Texas. The navbox is divided into two sections, one for CapMetro's commuter rail services, and one for its light rail services. Both sections are divided into various groups representing each route serviced by each service. The commuter rail section has two groups, listing the stations of its Red and Green Line services, while the light rail section has two sections listing the stations of its two future routes. All the individual groups in each section are hidden using {{#switch:}} templates. To avoid navbox congestion, all groups are hidden by default, with the sections only appearing if the associated parameter with that group is activated. The key to activating paramaters is set to "y".
Examples
editExample 1
editOn the article for Downtown station (CapMetro Rail), which is a station operated by CapMetro's Red Line and the future Green Line and Blue Line services, the Red
, Green
, and Blue
parameters are activated as follows, producing the after-seen result:
{{CapMetro stations|Red=y|Green=y|Blue=y}}
Example 2
editOn the article for Crestview station, which is a station currently operated by CapMetro's Red Line and the future Orange Line and Blue Line services, the Red
, Orange
, and Blue
parameters are activated as follows, producing the after-seen result:
{{CapMetro stations|Red=y|Orange=y|Blue=y}}
Example 3
editOn the article for Leander station, which is a station only operated by CapMetro's Red Line, the Red
parameter is activated as follows, producing the after-seen result:
{{CapMetro stations|Red=y}}
Parameters
editMain parameters
editService | Parameter | |
---|---|---|
Red Line | Red
| |
Green Line | Green
| |
Blue Line | Blue
| |
Orange Line | Orange
|
Additional parameters
editParameter | Inputs | Result / notes |
---|---|---|
state=
|
collapsed
|
Collapses navbox by default. |
expanded
|
Expands the navbox by default. |
Full template
editHere's the entire template as it looks with all parameters active, displayed as state=expanded
, as a visual reference to editors.