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

From blackwiki
Jump to navigation Jump to search
imported>Quidster4040
imported>Charlesaaronthompson
(I updated the HTML color codes in the template, per https://mlssoccer.app.box.com/v/media/file/302931831937)
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; {{box-shadow border|a|#EB0027|2px}}
+
| basestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#E4002B|2px}}
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
  
Line 9: Line 9:
 
  {{navbox|child
 
  {{navbox|child
 
  | groupwidth = 16em
 
  | groupwidth = 16em
  | basestyle = background:#EB0027; color:#FFFFFF;
+
  | basestyle = background:#E4002B; color:#FFFFFF;
 
  | image =
 
  | image =
  
Line 78: Line 78:
 
  {{navbox|child
 
  {{navbox|child
 
  | groupwidth = 16em
 
  | groupwidth = 16em
  | basestyle = background:#EB0027; color:#FFFFFF;
+
  | basestyle = background:#E4002B; color:#FFFFFF;
  | abovestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#EB0027|1px}}
+
  | abovestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#E4002B|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 114: Line 114:
 
  {{navbox|child
 
  {{navbox|child
 
  | groupwidth = 9em
 
  | groupwidth = 9em
  | basestyle = background:#EB0027; color:#FFFFFF;
+
  | basestyle = background:#E4002B; color:#FFFFFF;
  | abovestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#EB0027|1px}}
+
  | abovestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#E4002B|1px}}
  
 
  | above = [[Major League Soccer|{{color|#FFFFFF|'''Major League Soccer'''}}]]
 
  | above = [[Major League Soccer|{{color|#FFFFFF|'''Major League Soccer'''}}]]

Revision as of 18:50, 31 March 2020

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.