Difference between revisions of "Template:FC Dallas"

From blackwiki
Jump to navigation Jump to search
imported>Charlesaaronthompson
m (I updated the HTML color codes in the template, per https://mlssoccer.app.box.com/v/media/file/302931831937)
imported>Charlesaaronthompson
(I updated the HTML color codes in the template, per https://www.mlsstore.com/content/ws/106285/MLS_FC_Dallas.svg)
 
Line 3: Line 3:
 
| title = [[FC Dallas|{{color|white|FC Dallas}}]]
 
| title = [[FC Dallas|{{color|white|FC Dallas}}]]
 
| listclass = hlist
 
| listclass = hlist
| basestyle = background:#BF0D3E; color:white; {{box-shadow border|a|#00205B|2px}}
+
| basestyle = background:#C6203E; color:white; {{box-shadow border|a|#1A2857|2px}}
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
  
Line 9: Line 9:
 
  {{navbox|child
 
  {{navbox|child
 
  | groupwidth = 9em
 
  | groupwidth = 9em
  | basestyle = background:#00205B; color:white;
+
  | basestyle = background:#1A2857; color:white;
 
  | image =
 
  | image =
  
Line 59: Line 59:
 
  {{navbox|child
 
  {{navbox|child
 
  | groupwidth = 9em
 
  | groupwidth = 9em
  | basestyle = background:#00205B; color:white;
+
  | basestyle = background:#1A2857; color:white;
  | abovestyle = background:#BF0D3E; color:white; {{box-shadow border|a|#00205B|1px}}
+
  | abovestyle = background:#C6203E; color:white; {{box-shadow border|a|#1A2857|1px}}
  
 
  | above = '''Major honors (3)'''
 
  | above = '''Major honors (3)'''
Line 83: Line 83:
 
  {{navbox|child
 
  {{navbox|child
 
  | groupwidth = 9em
 
  | groupwidth = 9em
  | basestyle = background:#00205B; color:white;
+
  | basestyle = background:#1A2857; color:white;
  | abovestyle = background:#BF0D3E; color:white; {{box-shadow border|a|#00205B|1px}}
+
  | abovestyle = background:#C6203E; color:white; {{box-shadow border|a|#1A2857|1px}}
  
 
  | above = [[Major League Soccer|{{color|white|'''Major League Soccer'''}}]]
 
  | above = [[Major League Soccer|{{color|white|'''Major League Soccer'''}}]]

Latest revision as of 04:42, 2 November 2020

Initial visibility: currently defaults to autocollapse

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

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