Difference between revisions of "Template:Las Vegas Raiders roster navbox"

From blackwiki
Jump to navigation Jump to search
imported>Raider Duck
(Per Raiders.com, Hardy signed)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
| name = Oakland Raiders roster navbox
 
| name = Oakland Raiders roster navbox
 
| title = [[Oakland Raiders|<span style="{{NFLSecondaryColor|Oakland Raiders}}">Oakland Raiders</span>]] current roster
 
| title = [[Oakland Raiders|<span style="{{NFLSecondaryColor|Oakland Raiders}}">Oakland Raiders</span>]] current roster
 +
| state = {{{state|autocollapse}}}
 
| bodystyle = width:{{{width|100%}}};  
 
| bodystyle = width:{{{width|100%}}};  
 
| titlestyle = {{NFLPrimaryColor|Oakland Raiders}}; {{NFLSecondaryColor|Oakland Raiders}};border: 2px solid silver;
 
| titlestyle = {{NFLPrimaryColor|Oakland Raiders}}; {{NFLSecondaryColor|Oakland Raiders}};border: 2px solid silver;
Line 77: Line 78:
 
}}
 
}}
 
<noinclude>
 
<noinclude>
 +
{{collapsible option}}
 
'''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.
 
'''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.
 
[[Category:National Football League roster templates]]
 
[[Category:National Football League roster templates]]
 
[[Category:Oakland Raiders templates]]
 
[[Category:Oakland Raiders templates]]
 
</noinclude>
 
</noinclude>

Revision as of 01:13, 14 April 2012

Initial visibility: currently defaults to autocollapse

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

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