Difference between revisions of "Template:DCUnitedFirstPick"

From blackwiki
Jump to navigation Jump to search
imported>Mikemor92
m
imported>Mikemor92
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name      = DCUnitedFirstPick
 
| name      = DCUnitedFirstPick
| title      = [[D.C. United|{{color|#ffffff|D.C. United first-round draft picks}}]]
+
| title      = [[D.C. United|{{color|white|D.C. United first-round draft picks}}]]
 
| bodyclass  = hlist  
 
| bodyclass  = hlist  
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
| basestyle = background:black; color:#DD0000; border: 1px solid #DD0000;
+
| basestyle = background:black; color:white; border: 1px solid #DD0000;
  
 
| list1 =
 
| list1 =
Line 29: Line 29:
 
* [[Miguel Aguilar (Mexican footballer)|Aguilar]]
 
* [[Miguel Aguilar (Mexican footballer)|Aguilar]]
  
| belowstyle = background:transparent; border-top:solid 2px #DD0000;
+
| belowstyle = background:transparent; border-top:solid 2px #DD0000; color:black;
 
| below      = {{MLS FirstPick footer}}
 
| below      = {{MLS FirstPick footer}}
 
}}<noinclude>
 
}}<noinclude>

Revision as of 22:32, 21 July 2015

Initial visibility: currently defaults to autocollapse

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

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