Difference between revisions of "Template:LA Galaxy"

From blackwiki
Jump to navigation Jump to search
imported>Borgarde
(season count)
imported>Charlesaaronthompson
m (I updated the HTML color codes in the template, per https://www.lagalaxy.com/creativeservices)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = LA Galaxy
 
| name = LA Galaxy
| title = [[LA Galaxy|{{color|#00245D|LA Galaxy}}]]
+
| title = [[LA Galaxy|{{color|#071140|LA Galaxy}}]]
 
| listclass = hlist
 
| listclass = hlist
| basestyle = background:#FFFFFF; color:#00245D; {{box-shadow border|a|#EEB111|2px}}
+
| basestyle = background:#FFFFFF; color:#071140; {{box-shadow border|a|#EEB111|2px}}
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
  
Line 9: Line 9:
 
  {{navbox|child
 
  {{navbox|child
 
  | groupwidth = 17em
 
  | groupwidth = 17em
  | basestyle = background:#00245D; color:#FFFFFF;
+
  | basestyle = background:#071140; color:#FFFFFF;
  | image =  
+
  | image =
  
 
  | above = [[Carson, California|{{color|#FFFFFF|Carson, California}}]]
 
  | above = [[Carson, California|{{color|#FFFFFF|Carson, California}}]]
Line 50: Line 50:
 
  {{navbox|child
 
  {{navbox|child
 
  | groupwidth = 17em
 
  | groupwidth = 17em
  | basestyle  = background:#00245D; color:#FFFFFF;
+
  | basestyle  = background:#071140; color:#FFFFFF;
  | abovestyle = background:#FFFFFF; color:#00245D; {{box-shadow border|a|#EEB111|1px}}
+
  | abovestyle = background:#FFFFFF; color:#071140; {{box-shadow border|a|#EEB111|1px}}
  
 
  | above = '''Major honors (12)'''
 
  | above = '''Major honors (12)'''
Line 83: Line 83:
 
  {{navbox|child
 
  {{navbox|child
 
  | groupwidth = 17em
 
  | groupwidth = 17em
  | basestyle  = background:#00245D; color:#FFFFFF;
+
  | basestyle  = background:#071140; color:#FFFFFF;
  | abovestyle = background:#FFFFFF; color:#00245D; {{box-shadow border|a|#EEB111|1px}}
+
  | abovestyle = background:#FFFFFF; color:#071140; {{box-shadow border|a|#EEB111|1px}}
  
  | above = '''[[Major League Soccer|{{color|#00245D|Major League Soccer}}]]'''
+
  | above = '''[[Major League Soccer|{{color|#071140|Major League Soccer}}]]'''
  
 
  | group1 = [[:Category:LA Galaxy seasons|{{color|#FFFFFF|Seasons}}]] (24)
 
  | group1 = [[:Category:LA Galaxy seasons|{{color|#FFFFFF|Seasons}}]] (24)

Revision as of 19:45, 29 March 2019

Initial visibility: currently defaults to autocollapse

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

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