Difference between revisions of "Template:BC Lions roster navbox"

From blackwiki
Jump to navigation Jump to search
imported>Cmm3
(Overdue update)
imported>Frietjes
m (copyedit)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| name = BC Lions roster navbox
+
| name     = BC Lions roster navbox
| title = [[BC Lions|<font color="white">BC Lions</font>]] current roster
+
| title     = [[BC Lions|{{color|white|BC Lions}}]] current roster
| state = {{{state|autocollapse}}}
+
| state     = {{{state|autocollapse}}}
 
| bodyclass = hlist
 
| bodyclass = hlist
| bodystyle = width:{{{width|100%}}};
+
 
 +
| titlestyle = background:#F6791F; color:white; border: 2px solid black;
 
| groupstyle = background:#F6791F; color:white;
 
| groupstyle = background:#F6791F; color:white;
| titlestyle = background:#F6791F; color:white; border: 2px solid black;
+
| belowstyle = background:#ffffff; border-top:2px solid black
  
 
| group1 = Active roster
 
| group1 = Active roster
| list1 =  
+
| list1 =
 
* 1 [[Justin Harper (American football)|Justin Harper]]
 
* 1 [[Justin Harper (American football)|Justin Harper]]
 
* 2 [[Lin-J Shell]]
 
* 2 [[Lin-J Shell]]

Revision as of 16:34, 1 April 2013

Initial visibility: currently defaults to autocollapse

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

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

Note: When updating the template to reflect roster changes, make sure to remove or add this template to the player's article page as appropriate.