Difference between revisions of "Template:CrewFirstPick"

From blackwiki
Jump to navigation Jump to search
imported>Joeykai
imported>UncleTupelo1
 
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = CrewFirstPick
 
| name = CrewFirstPick
| title = [[Columbus Crew SC|{{color|#FFFFFF|Columbus Crew SC first-round draft picks}}]]
+
| title = [[Columbus Crew SC|{{color|#000000|Columbus Crew SC first-round draft picks}}]]
 
| bodyclass = hlist  
 
| bodyclass = hlist  
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| basestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#F6E500|1px}}
+
| basestyle = background:#F6E500; color:#000000; {{box-shadow border|a|#000000|1px}}
  
 
| list1 =
 
| list1 =
Line 31: Line 31:
 
* [[Ben Lundgaard|Lundgaard]]
 
* [[Ben Lundgaard|Lundgaard]]
 
* [[JJ Williams (soccer)|Williams]]
 
* [[JJ Williams (soccer)|Williams]]
* Berry
+
* [[Miguel Berry|Berry]]
 
<noinclude>
 
<noinclude>
 
| belowstyle = background:transparent; color:#000000;
 
| belowstyle = background:transparent; color:#000000;

Latest revision as of 11:42, 30 August 2020

Initial visibility: currently defaults to autocollapse

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

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