Difference between revisions of "Template:1971 Hawthorn premiership players"

From blackwiki
Jump to navigation Jump to search
blackwiki>Jenks24
(Undid revision 493783455 by Alan Liefting (talk))
blackwiki>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 4: Line 4:
 
|listclass = hlist
 
|listclass = hlist
 
|titlestyle = background:#704214; color:#FFCC00; border: solid gold 2px
 
|titlestyle = background:#704214; color:#FFCC00; border: solid gold 2px
|state      = collapsed
+
|state      = {{{state<includeonly>|collapsed</includeonly>}}}
 
|abovestyle = background:#FFCC00; color:#704214;
 
|abovestyle = background:#FFCC00; color:#704214;
 
|above      = '''<span style="color:#704214">[[Hawthorn Football Club|<span style="color:#704214">Hawthorn]] 12.10 (82) defeated [[St Kilda Football Club|<span style="color:#704214">St Kilda]] 11.9 (75), at the [[Melbourne Cricket Ground|<span style="color:#704214">Melbourne Cricket Ground]]</span>'''
 
|above      = '''<span style="color:#704214">[[Hawthorn Football Club|<span style="color:#704214">Hawthorn]] 12.10 (82) defeated [[St Kilda Football Club|<span style="color:#704214">St Kilda]] 11.9 (75), at the [[Melbourne Cricket Ground|<span style="color:#704214">Melbourne Cricket Ground]]</span>'''
Line 30: Line 30:
 
|below      = '''Coach:''' [[John Kennedy, Sr.|<span style="color:#FFCC00">Kennedy</span>]]
 
|below      = '''Coach:''' [[John Kennedy, Sr.|<span style="color:#FFCC00">Kennedy</span>]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Hawthorn premiership templates]]
 
[[Category:Hawthorn premiership templates]]
 
</noinclude>
 
</noinclude>

Revision as of 02:22, 23 May 2013

Initial visibility: currently defaults to autocollapse

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

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