Difference between revisions of "Template:AFL grounds"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 7: Line 7:
 
| group1 = Main grounds:
 
| group1 = Main grounds:
 
| list1  =  
 
| list1  =  
 +
* [[Adelaide Oval]]
 
* [[Carrara Stadium]]
 
* [[Carrara Stadium]]
 
* [[Docklands Stadium]]
 
* [[Docklands Stadium]]
* [[Football Park]]
 
 
* [[The Gabba]]
 
* [[The Gabba]]
 
* [[Kardinia Park (stadium)|Kardinia Park]]
 
* [[Kardinia Park (stadium)|Kardinia Park]]
Line 29: Line 29:
 
| group3 = Future grounds:
 
| group3 = Future grounds:
 
| list3  =
 
| list3  =
* [[Adelaide Oval]]
 
 
* [[Perth Stadium]]
 
* [[Perth Stadium]]
  
Line 40: Line 39:
 
* [[Corio Oval]]
 
* [[Corio Oval]]
 
* [[East Melbourne Cricket Ground]]
 
* [[East Melbourne Cricket Ground]]
 +
* [[Football Park]]
 
* [[Glenferrie Oval]]
 
* [[Glenferrie Oval]]
 
* [[Junction Oval]]
 
* [[Junction Oval]]

Revision as of 14:42, 1 September 2013

Initial visibility: currently defaults to autocollapse

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

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