Template:Charlotte Area Transit System railway stations/doc
This is a documentation subpage for Template:Charlotte Area Transit System railway 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:
|
{{Charlotte Area Transit System railway stations|_|state=}}
{{Charlotte Area Transit System railway 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 by Charlotte Area Transit System, a public transport operator in the Charlotte, North Carolina area. All the individual lines 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
[edit]Example 1
[edit]On the article for Charlotte Transportation Center, which is a station currently served by Charlotte Area Transit System's Lynx Blue Line and CityLynx Gold Line services, the Blue
and Gold
parameters are activated as follows, producing the after-seen result:
{{Charlotte Area Transit System railway stations|Blue=y|Gold=y}}
Example 2
[edit]On the article for Sugar Creek station, which is a station currently served only by Charlotte Area Transit System's Lynx Blue Line, the Blue
parameter is activated as follows, producing the after-seen result:
{{Charlotte Area Transit System railway stations|Blue=y}}
Parameters
[edit]Main parameters
[edit]Service | Parameter | |
---|---|---|
Lynx Blue Line | Blue
| |
CityLYNX Gold Line | Gold
|
Additional parameters
[edit]Parameter | Inputs | Result / notes |
---|---|---|
state=
|
collapsed
|
Collapses navbox by default. |
expanded
|
Expands the navbox by default. |
Full template
[edit]Here's the entire template as it looks with all parameters active, displayed as state=expanded
, as a visual reference to editors.