Difference between revisions of "Template:MARTA Nav"

From blackwiki
Jump to navigation Jump to search
imported>Mr.BuriramCN
imported>NSH002
(tidy up, fix duplicate parameter error)
Line 1: Line 1:
 
{{Navbox with collapsible groups
 
{{Navbox with collapsible groups
|name = MARTA Nav
+
| name = MARTA Nav
|state = uncollapsed
+
| title = [[Metropolitan Atlanta Rapid Transit Authority|{{color|white|Metropolitan Atlanta Rapid Transit Authority (MARTA)}}]]
|selected = {{{1|}}}
+
| state = uncollapsed
 +
| listclass = hlist
  
|title = <font color="FFFFFF">[[Metropolitan Atlanta Rapid Transit Authority|Metropolitan Atlanta Rapid Transit Authority (MARTA)]]</font>
+
  | selected = {{{selected|{{{1|}}}}}}
|listclass = hlist
 
|titlestyle = background:#{{MARTA color|Blue}};color:#FFFFFF;
 
|groupstyle = background:#FFFFFF;color:#000000;border:1px solid #000000;
 
|belowstyle = background:#FFFFFF;color:#000000;
 
  
|group1 = <font color="{{MARTA color|Red}}">●</font> <font color="#{{MARTA color|Red}}">[[Red Line (MARTA)|Red Line]]</font> <font color="#{{MARTA color|Red}}"></font>
+
| titlestyle = background:#{{MARTA color|Blue}};color:white;
|state = collapsed
+
| groupstyle = background:white;color:black;border:1px solid black;
|abbr1 = Red Line
+
 
|list1 =
+
| group1style = color: {{MARTA color|Red}}
* [[Airport (MARTA station)|Airport]]  
+
 
* [[College Park (MARTA station)|College Park]]  
+
| section1 = ● [[Red Line (MARTA)|{{color|#{{MARTA color|Red}}|Red Line}}]]
* [[East Point (MARTA station)|East Point]]  
+
| abbr1 = Red Line
* [[Lakewood / Fort McPherson (MARTA station)|Lakewood / Fort McPherson]]  
+
| state1 = <noinclude>expanded</noinclude>
* [[Oakland City (MARTA station)|Oakland City]]  
+
| list1 =
* [[West End (MARTA station)|West End]]  
+
* [[Airport (MARTA station)|Airport]]
* [[Garnett (MARTA station)|Garnett]]  
+
* [[College Park (MARTA station)|College Park]]
* [[Five Points (MARTA station)|Five Points]]  
+
* [[East Point (MARTA station)|East Point]]
* [[Peachtree Center (MARTA station)|Peachtree Center]]  
+
* [[Lakewood / Fort McPherson (MARTA station)|Lakewood / Fort McPherson]]
* [[Civic Center (MARTA station)|Civic Center]]  
+
* [[Oakland City (MARTA station)|Oakland City]]
* [[North Avenue (MARTA station)|North Avenue]]  
+
* [[West End (MARTA station)|West End]]
* [[Midtown (MARTA station)|Midtown]]  
+
* [[Garnett (MARTA station)|Garnett]]
* [[Arts Center (MARTA station)|Arts Center]]  
+
* [[Five Points (MARTA station)|Five Points]]
* [[Lindbergh Center (MARTA station)|Lindbergh Center]]  
+
* [[Peachtree Center (MARTA station)|Peachtree Center]]
* [[Buckhead (MARTA station)|Buckhead]]  
+
* [[Civic Center (MARTA station)|Civic Center]]
* [[Medical Center (MARTA station)|Medical Center]]  
+
* [[North Avenue (MARTA station)|North Avenue]]
* [[Dunwoody (MARTA station)|Dunwoody]]  
+
* [[Midtown (MARTA station)|Midtown]]
* [[Sandy Springs (MARTA station)|Sandy Springs]]  
+
* [[Arts Center (MARTA station)|Arts Center]]
 +
* [[Lindbergh Center (MARTA station)|Lindbergh Center]]
 +
* [[Buckhead (MARTA station)|Buckhead]]
 +
* [[Medical Center (MARTA station)|Medical Center]]
 +
* [[Dunwoody (MARTA station)|Dunwoody]]
 +
* [[Sandy Springs (MARTA station)|Sandy Springs]]
 
* [[North Springs (MARTA station)|North Springs]]
 
* [[North Springs (MARTA station)|North Springs]]
  
|group2 =<font color="#{{MARTA color|Gold}}">●</font> <font color="#{{MARTA color|Gold}}">[[Gold Line (MARTA)|Gold Line]]</font> <font color="#{{MARTA color|Gold}}">●</font>
+
| group2style = color: {{MARTA color|Gold}}
|state = collapsed
 
|abbr2 = Gold Line
 
|list2 =
 
* [[Airport (MARTA station)|Airport]]
 
* [[College Park (MARTA station)|College Park]]
 
* [[East Point (MARTA station)|East Point]]
 
* [[Lakewood / Fort McPherson (MARTA station)|Lakewood / Fort McPherson]]
 
* [[Oakland City (MARTA station)|Oakland City]]
 
* [[West End (MARTA station)|West End]]
 
* [[Garnett (MARTA station)|Garnett]]
 
* [[Five Points (MARTA station)|Five Points]]
 
* [[Peachtree Center (MARTA station)|Peachtree Center]]
 
* [[Civic Center (MARTA station)|Civic Center]]
 
* [[North Avenue (MARTA station)|North Avenue]]
 
* [[Midtown (MARTA station)|Midtown]]
 
* [[Arts Center (MARTA station)|Arts Center]]
 
* [[Lindbergh Center (MARTA station)|Lindbergh Center]]
 
* [[Lenox (MARTA station)|Lenox]]
 
* [[Brookhaven/Oglethorpe (MARTA station)| Brookhaven/Oglethorpe]]
 
* [[Chamblee (MARTA station)|Chamblee]]
 
* [[Doraville (MARTA station)|Doraville]]
 
  
|group3 = <font color="#{{MARTA color|Blue}}">●</font> <font color="#{{MARTA color|Blue}}">[[Blue Line (MARTA)|Blue Line]]</font> <font color="#{{MARTA color|Blue}}"></font>
+
| section2 = ● [[Gold Line (MARTA)|{{color|#{{MARTA color|Gold}}|Gold Line}}]]
|state = collapsed
+
| abbr2 = Gold Line
|abbr3 = Blue Line
+
| state2 = <noinclude>expanded</noinclude>
|list3 =
+
| list2 =
* [[Hamilton E. Holmes (MARTA station)|Hamilton E. Holmes]]  
+
* [[Airport (MARTA station)|Airport]]
* [[West Lake (MARTA station)|West Lake]]  
+
* [[College Park (MARTA station)|College Park]]
* [[Ashby (MARTA station)|Ashby]]  
+
* [[East Point (MARTA station)|East Point]]
* [[Vine City (MARTA station)|Vine City]]  
+
* [[Lakewood / Fort McPherson (MARTA station)|Lakewood / Fort McPherson]]
* [[Dome / GWCC / Philips Arena / CNN Center (MARTA station)|Dome / GWCC / Philips Arena / CNN Center]]  
+
* [[Oakland City (MARTA station)|Oakland City]]
* [[Five Points (MARTA station)|Five Points]]
+
* [[West End (MARTA station)|West End]]
* [[Georgia State (MARTA station)|Georgia State]]  
+
* [[Garnett (MARTA station)|Garnett]]
* [[King Memorial (MARTA station)|King Memorial]]  
+
* [[Five Points (MARTA station)|Five Points]]
* [[Inman Park / Reynoldstown (MARTA station)|Inman Park / Reynoldstown]]  
+
* [[Peachtree Center (MARTA station)|Peachtree Center]]
* [[Edgewood / Candler Park (MARTA station)|Edgewood / Candler Park]]  
+
* [[Civic Center (MARTA station)|Civic Center]]
* [[East Lake (MARTA station)|East Lake]]  
+
* [[North Avenue (MARTA station)|North Avenue]]
* [[Decatur (MARTA station)|Decatur]]  
+
* [[Midtown (MARTA station)|Midtown]]
* [[Avondale (MARTA station)|Avondale]]  
+
* [[Arts Center (MARTA station)|Arts Center]]
* [[Kensington (MARTA station)|Kensington]]  
+
* [[Lindbergh Center (MARTA station)|Lindbergh Center]]
* [[Indian Creek (MARTA station)|Indian Creek]]  
+
* [[Lenox (MARTA station)|Lenox]]
 +
* [[Brookhaven/Oglethorpe (MARTA station)| Brookhaven/Oglethorpe]]
 +
* [[Chamblee (MARTA station)|Chamblee]]
 +
* [[Doraville (MARTA station)|Doraville]]
  
|group4 = <font color="#{{MARTA color|Green}}"></font> <font color="#{{MARTA color|Green}}">[[Green Line (MARTA)|Green Line]]</font> <font color="#{{MARTA color|Green}}"></font>
+
| group3style = color: {{MARTA color|Blue}}
|state = collapsed
+
 
|abbr4 = Green Line
+
| section3 = ● [[Blue Line (MARTA)|{{color|#{{MARTA color|Blue}}|Blue Line}}]] ●
|list4 =
+
| abbr3 = Blue Line
* [[Bankhead (MARTA station)|Bankhead]]  
+
| state3 = <noinclude>expanded</noinclude>
* [[Ashby (MARTA station)|Ashby]]  
+
| list3 =
* [[Vine City (MARTA station)|Vine City]]  
+
* [[Hamilton E. Holmes (MARTA station)|Hamilton E. Holmes]]
* [[Dome / GWCC / Philips Arena / CNN Center (MARTA station)|Dome / GWCC / Philips Arena / CNN Center]]  
+
* [[West Lake (MARTA station)|West Lake]]
* [[Five Points (MARTA station)|Five Points]]
+
* [[Ashby (MARTA station)|Ashby]]
* [[Georgia State (MARTA station)|Georgia State]]  
+
* [[Vine City (MARTA station)|Vine City]]
* [[King Memorial (MARTA station)|King Memorial]]  
+
* [[Dome / GWCC / Philips Arena / CNN Center (MARTA station)|Dome / GWCC / Philips Arena / CNN Center]]
* [[Inman Park / Reynoldstown (MARTA station)|Inman Park / Reynoldstown]]  
+
* [[Five Points (MARTA station)|Five Points]]
 +
* [[Georgia State (MARTA station)|Georgia State]]
 +
* [[King Memorial (MARTA station)|King Memorial]]
 +
* [[Inman Park / Reynoldstown (MARTA station)|Inman Park / Reynoldstown]]
 +
* [[Edgewood / Candler Park (MARTA station)|Edgewood / Candler Park]]
 +
* [[East Lake (MARTA station)|East Lake]]
 +
* [[Decatur (MARTA station)|Decatur]]
 +
* [[Avondale (MARTA station)|Avondale]]
 +
* [[Kensington (MARTA station)|Kensington]]
 +
* [[Indian Creek (MARTA station)|Indian Creek]]
 +
 
 +
| group4style = color: {{MARTA color|Green}}
 +
 
 +
| section4 = ● [[Green Line (MARTA)|{{color|#{{MARTA color|Green}}|Green Line}}]]
 +
| abbr4 = Green Line
 +
| state4 = <noinclude>expanded</noinclude>
 +
| list4 =
 +
* [[Bankhead (MARTA station)|Bankhead]]
 +
* [[Ashby (MARTA station)|Ashby]]
 +
* [[Vine City (MARTA station)|Vine City]]
 +
* [[Dome / GWCC / Philips Arena / CNN Center (MARTA station)|Dome / GWCC / Philips Arena / CNN Center]]
 +
* [[Five Points (MARTA station)|Five Points]]
 +
* [[Georgia State (MARTA station)|Georgia State]]
 +
* [[King Memorial (MARTA station)|King Memorial]]
 +
* [[Inman Park / Reynoldstown (MARTA station)|Inman Park / Reynoldstown]]
 
* [[Edgewood / Candler Park (MARTA station)|Edgewood / Candler Park]]
 
* [[Edgewood / Candler Park (MARTA station)|Edgewood / Candler Park]]
  
 
}}<noinclude>
 
}}<noinclude>
 +
{{documentation | content =
 +
 +
{{collapsible option}}
 +
{{Collapsible sections option | list = {{hlist| Red Line | Gold Line | Blue Line | Green Line }} | example = Red Line}}
 +
 
[[Category: Metropolitan Atlanta Rapid Transit Authority templates]]
 
[[Category: Metropolitan Atlanta Rapid Transit Authority templates]]
 +
 +
}} <!-- end of documentation -->
 
</noinclude>
 
</noinclude>

Revision as of 22:34, 3 November 2014

Template documentation

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{MARTA Nav|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{MARTA Nav|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{MARTA Nav|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.

How to manage this template's collapsible groups/sections option
  • This template includes collapsible groups/sections. When it first appears, one of these groups/sections may be set to be visible ("expanded") while the others remain hidden ("collapsed") apart from their titlebars. To achieve this, include the parameter |name where name is one of the following words that identify the groups/sections (omit any speech or quotation marks):
    • Red Line
    • Gold Line
    • Blue Line
    • Green Line
  • For example: {{MARTA Nav |Red Line}}