Difference between revisions of "Template:MARTA Nav"

From blackwiki
Jump to navigation Jump to search
imported>Mjdestroyerofworlds
imported>WMSR
(reworked)
Line 1: Line 1:
{{Navbox with collapsible groups
+
{{Navbox
 
  | name = MARTA Nav
 
  | name = MARTA Nav
  | title = [[Metropolitan Atlanta Rapid Transit Authority|{{color|white|Metropolitan Atlanta Rapid Transit Authority (MARTA)}}]]
+
  | title = {{rint|marta}} [[Metropolitan Atlanta Rapid Transit Authority|{{color|white|Metropolitan Atlanta Rapid Transit Authority (MARTA)}}]]
 
  | state = {{{state|expanded}}}
 
  | state = {{{state|expanded}}}
 
  | listclass = hlist
 
  | listclass = hlist
Line 7: Line 7:
 
  | selected = {{{selected|{{{1|}}}}}}
 
  | selected = {{{selected|{{{1|}}}}}}
  
  | titlestyle = background:#{{MARTA color|Blue}};color:white;
+
  | titlestyle = background:black;color:white;
  | groupstyle = background:white;color:black;border:1px solid black;
+
  | groupstyle = background:lightgray;color:black;
  
| group1style = color: {{MARTA color|Red}}
+
|group1 = {{lnl|MARTA|Red}}
 
+
|group1style = {{box-shadow border|r|#{{rcr|MARTA|Red}}|5px}}
| section1 = ● [[Red Line (MARTA)|{{color|#{{MARTA color|Red}}|Red Line}}]] ●
 
 
  | abbr1 = Red Line
 
  | abbr1 = Red Line
| state1 = {{{state|collapsed}}}
 
 
  | list1 =
 
  | list1 =
 
* {{MARTA stations|station=Airport}}
 
* {{MARTA stations|station=Airport}}
Line 36: Line 34:
 
* {{MARTA stations|station=North Springs}}
 
* {{MARTA stations|station=North Springs}}
  
| group2style = color: {{MARTA color|Gold}}
+
|group2 = {{lnl|MARTA|Gold}}
 
+
|group2style = {{box-shadow border|r|#{{rcr|MARTA|Gold}}|5px}}
| section2 = ● [[Gold Line (MARTA)|{{color|#{{MARTA color|Gold}}|Gold Line}}]] ●
 
 
  | abbr2 = Gold Line
 
  | abbr2 = Gold Line
| state2 = {{{state|collapsed}}}
 
 
  | list2 =
 
  | list2 =
 
* {{MARTA stations|station=Airport}}
 
* {{MARTA stations|station=Airport}}
Line 61: Line 57:
 
* {{MARTA stations|station=Doraville}}
 
* {{MARTA stations|station=Doraville}}
  
| group3style = color: {{MARTA color|Blue}}
+
|group3 = {{lnl|MARTA|Blue}}
 +
|group3style = {{box-shadow border|r|#{{rcr|MARTA|Blue}}|5px}}
 +
| abbr3 = Blue Line
  
| section3 = ● [[Blue Line (MARTA)|{{color|#{{MARTA color|Blue}}|Blue Line}}]] ●
 
| abbr3 = Blue Line
 
| state3 = {{{state|collapsed}}}
 
 
  | list3 =
 
  | list3 =
 
* {{MARTA stations|station=Hamilton E. Holmes}}
 
* {{MARTA stations|station=Hamilton E. Holmes}}
Line 83: Line 78:
 
* {{MARTA stations|station=Indian Creek}}
 
* {{MARTA stations|station=Indian Creek}}
  
| group4style = color: {{MARTA color|Green}}
+
|group4 = {{lnl|MARTA|Green}}
 
+
|group4style = {{box-shadow border|r|#{{rcr|MARTA|Green}}|5px}}
| section4 = ● [[Green Line (MARTA)|{{color|#{{MARTA color|Green}}|Green Line}}]] ●
 
 
  | abbr4 = Green Line
 
  | abbr4 = Green Line
| state4 = {{{state|collapsed}}}
 
 
  | list4 =
 
  | list4 =
 
* {{MARTA stations|station=Bankhead}}
 
* {{MARTA stations|station=Bankhead}}
Line 99: Line 92:
 
* {{MARTA stations|station=Edgewood / Candler Park}}
 
* {{MARTA stations|station=Edgewood / Candler Park}}
  
| group5style = color: {{MARTA color|Green}}
+
|group5 = [[Atlanta Streetcar]]
 
+
|group5style = {{box-shadow border|r|#{{rcr|MARTA|Blue}}|5px}}
| section5 = [[Atlanta Streetcar|{{color|#{{MARTA color|Blue}}|Atlanta Streetcar}}]] ●
+
  | abbr5 = Streetcar
  | abbr5 = Atlanta Streetcar
 
| state5 = {{{state|collapsed}}}
 
 
  | list5 =
 
  | list5 =
 
*[[Centennial Olympic Park]]
 
*[[Centennial Olympic Park]]
Line 118: Line 109:
 
*[[Martin Luther King Jr. National Historical Park|King Historic District]]
 
*[[Martin Luther King Jr. National Historical Park|King Historic District]]
  
| section6 = Other
+
|group6 = Other
 
  | abbr6 = Other
 
  | abbr6 = Other
| state6 = uncollapsed
 
 
  | list6 =
 
  | list6 =
 
*[[List of MARTA bus routes]]
 
*[[List of MARTA bus routes]]

Revision as of 21:16, 7 October 2019

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
    • Atlanta Streetcar
  • For example: {{MARTA Nav |Red Line}}