Difference between revisions of "Template:2005 Sydney Swans premiership players"

From blackwiki
Jump to navigation Jump to search
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
blackwiki>Flickerd
(tidy)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name      = 2005 Sydney Swans premiership players
 
|name      = 2005 Sydney Swans premiership players
|title      = '''[[Sydney Swans|<span style="color:white;">Sydney Swans</span>]] [[2005 AFL Grand Final|<span style="color:white;">2005 AFL Premiers</span>]]'''
+
|title      = '''[[Sydney Swans|<span style="color:white;">Sydney Swans</span>]] [[2005 AFL Grand Final|<span style="color:white;">2005 AFL premiers</span>]]'''
 
|listclass = hlist
 
|listclass = hlist
 
|titlestyle = background:#FF0000; color:white;
 
|titlestyle = background:#FF0000; color:white;
Line 7: Line 7:
 
|above      = '''<span style="color:#FF0000">[[Sydney Swans|<span style="color:#FF0000">Sydney Swans]] 8.10 (58) defeated [[West Coast Eagles|<span style="color:#FF0000">West Coast Eagles]] 7.12 (54), at the [[Melbourne Cricket Ground|<span style="color:#FF0000">Melbourne Cricket Ground]]</span>'''
 
|above      = '''<span style="color:#FF0000">[[Sydney Swans|<span style="color:#FF0000">Sydney Swans]] 8.10 (58) defeated [[West Coast Eagles|<span style="color:#FF0000">West Coast Eagles]] 7.12 (54), at the [[Melbourne Cricket Ground|<span style="color:#FF0000">Melbourne Cricket Ground]]</span>'''
 
|state      = {{{state<includeonly>|collapsed</includeonly>}}}
 
|state      = {{{state<includeonly>|collapsed</includeonly>}}}
|list1      = * Captain: 1. [[Barry Hall|Hall]]
+
|list1      = * 1. [[Barry Hall|Hall]] (c)
 
* 2. [[Nick Davis (footballer)|Davis]]
 
* 2. [[Nick Davis (footballer)|Davis]]
 
* 4. [[Ben Mathews|Mathews]]
 
* 4. [[Ben Mathews|Mathews]]

Revision as of 13:30, 26 January 2016

Initial visibility: currently defaults to autocollapse

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

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