Difference between revisions of "Template:D.C. United"

From blackwiki
Jump to navigation Jump to search
imported>Quidster4040
imported>Frietjes
(navbox syntax update)
Line 3: Line 3:
 
| title = [[D.C. United|{{color|#FFFFFF|D.C. United}}]]
 
| title = [[D.C. United|{{color|#FFFFFF|D.C. United}}]]
 
| bodyclass = hlist
 
| bodyclass = hlist
| basestyle = background:#000000; color:#FFFFFF; border:1px solid #EB0027;
+
| basestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#EB0027|1px}}
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
  
Line 80: Line 80:
 
  | groupwidth = 16em
 
  | groupwidth = 16em
 
  | basestyle = background:#EB0027; color:#FFFFFF;
 
  | basestyle = background:#EB0027; color:#FFFFFF;
  | abovestyle = background:#000000; color:#FFFFFF; border:1px solid #EB0027;
+
  | abovestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#EB0027|1px}}
 
  | above = '''[[List of American and Canadian soccer champions|{{color|#FFFFFF|Major honors}}]] (13)'''
 
  | above = '''[[List of American and Canadian soccer champions|{{color|#FFFFFF|Major honors}}]] (13)'''
  
Line 116: Line 116:
 
  | groupwidth = 9em
 
  | groupwidth = 9em
 
  | basestyle = background:#EB0027; color:#FFFFFF;
 
  | basestyle = background:#EB0027; color:#FFFFFF;
  | abovestyle = background:#000000; color:#FFFFFF; border:1px solid #EB0027;
+
  | abovestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#EB0027|1px}}
  
 
  | above = [[Major League Soccer|{{color|#FFFFFF|'''Major League Soccer'''}}]]
 
  | above = [[Major League Soccer|{{color|#FFFFFF|'''Major League Soccer'''}}]]

Revision as of 17:26, 5 February 2018

Initial visibility: currently defaults to autocollapse

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

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