Difference between revisions of "Template:Football at the 2012 Summer Olympics tournament navbox"

From blackwiki
Jump to navigation Jump to search
imported>HandsomeFella
m (Fixed redirects.)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name      = Football at the 2012 Summer Olympics tournament navbox
 
|name      = Football at the 2012 Summer Olympics tournament navbox
 
|title    = [[Football at the 2012 Summer Olympics]]
 
|title    = [[Football at the 2012 Summer Olympics]]
|state    = <noinclude>uncollapsed</noinclude>
+
|state    = {{{state<includeonly>|</includeonly>}}}
 
|listclass = hlist
 
|listclass = hlist
 
|group1    = [[Football at the 2012 Summer Olympics – Men's tournament|Men's tournament]]
 
|group1    = [[Football at the 2012 Summer Olympics – Men's tournament|Men's tournament]]
Line 18: Line 18:
 
* {{nowrap|[[Football at the 2012 Summer Olympics – Women's tournament – Knockout stage|Knockout stage]]}}
 
* {{nowrap|[[Football at the 2012 Summer Olympics – Women's tournament – Knockout stage|Knockout stage]]}}
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:2012 Summer Olympics navigational boxes|Football tournament]]
 
[[Category:2012 Summer Olympics navigational boxes|Football tournament]]
 
[[Category:2012 Summer Olympics football templates|Tournament navbox]]
 
[[Category:2012 Summer Olympics football templates|Tournament navbox]]
 
</noinclude>
 
</noinclude>

Revision as of 02:45, 13 January 2013

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Football at the 2012 Summer Olympics tournament navbox|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Football at the 2012 Summer Olympics tournament navbox|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Football at the 2012 Summer Olympics tournament navbox|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.