Difference between revisions of "Template:Canberra Raiders"

From blackwiki
Jump to navigation Jump to search
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 6: Line 6:
 
| groupstyle = background:#F0F8FF; color:green;
 
| groupstyle = background:#F0F8FF; color:green;
 
| abovestyle = background:#d0f0c0; color:green;
 
| abovestyle = background:#d0f0c0; color:green;
| state      = <includeonly>collapsed</includeonly>
+
| state      = {{{state<includeonly>|collapsed</includeonly>}}}
  
 
| above = Est. 1982 in [[Canberra]], [[Australian Capital Territory]]
 
| above = Est. 1982 in [[Canberra]], [[Australian Capital Territory]]
Line 113: Line 113:
 
* [[Canberra Raiders Cup]]
 
* [[Canberra Raiders Cup]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:National Rugby League navigational boxes]]
 
[[Category:National Rugby League navigational boxes]]
 
[[Category:Canberra Raiders templates|Canberra Raiders]]
 
[[Category:Canberra Raiders templates|Canberra Raiders]]
 
</noinclude>
 
</noinclude>

Revision as of 23:23, 27 January 2013

Initial visibility: currently defaults to autocollapse

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

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