Difference between revisions of "Template:Downtown Los Angeles"

From blackwiki
Jump to navigation Jump to search
imported>Northamerica1000
(moved {{Los Angeles regions}} within box: easier to read on white background, rather than orange one in border)
imported>Zzyzx11
(It is meant to be a footer. If it is the background color that's the only issue, that can be changed)
Line 3: Line 3:
 
|title      = [[Downtown Los Angeles|Downtown area]], [[Los Angeles]]
 
|title      = [[Downtown Los Angeles|Downtown area]], [[Los Angeles]]
 
|listclass  = hlist
 
|listclass  = hlist
|basestyle  = background: {{California/color}}
+
|groupstyle = background: {{California/color}};
 +
|belowstyle = background: #eee;
 
|belowclass = hlist
 
|belowclass = hlist
|below      =  
+
|below      = {{Los Angeles regions}}
 
|state      = {{{state<includeonly>|autocollapse</includeonly>}}}
 
|state      = {{{state<includeonly>|autocollapse</includeonly>}}}
 +
 
|image      = [[File:Los Angeles City Hall (color) edit1.jpg|70px|Los Angeles City Hall]]
 
|image      = [[File:Los Angeles City Hall (color) edit1.jpg|70px|Los Angeles City Hall]]
  
Line 42: Line 44:
 
* [[Union Station (Los Angeles)|Union Station]]
 
* [[Union Station (Los Angeles)|Union Station]]
  
|group3 = Regions
 
|list3  =
 
{{Los Angeles regions}}
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 05:13, 24 April 2014

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Downtown Los Angeles|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Downtown Los Angeles|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Downtown Los Angeles|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.

References