Difference between revisions of "Template:FC Barcelona"

From blackwiki
Jump to navigation Jump to search
imported>Vasconia
imported>Bernat (5)
(Changed colours to a more palatable combination based on www.fcbarcelona.com/en/club/identity/colours)
Line 1: Line 1:
{{Navbox
+
{{navbox
|titlestyle = background:#26559B;color:#FFF000;{{box-shadow border|a|#C32148|1px}}
+
|titlestyle = background:#154284;color:#ffffff;
|basestyle = background:#C32148;color:#FFF000;{{box-shadow border|a|#26559B|1px}}
+
|basestyle = background:#cd122d;color:#ffffff;
 
|bodyclass = hlist
 
|bodyclass = hlist
|title = [[FC Barcelona|<span style="color: #FFF000">Futbol Club Barcelona</span>]]
+
|title = [[FC Barcelona|<span style="color: #ffffff">Futbol Club Barcelona</span>]]
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|name = FC Barcelona
 
|name = FC Barcelona
 
|above =  
 
|above =  
*[[History of FC Barcelona|<span style="color: #FFF000">History</span>]]
+
*[[History of FC Barcelona|<span style="color: #ffffff">History</span>]]
*[[La Masia|<span style="color: #FFF000">Academy (La Masia)</span>]]
+
*[[La Masia|<span style="color: #ffffff">Academy (La Masia)</span>]]
*[[List of FC Barcelona players|<span style="color: #FFF000">Players</span>]]
+
*[[List of FC Barcelona players|<span style="color: #ffffff">Players</span>]]
*[[List of FC Barcelona managers|<span style="color: #FFF000">Managers</span>]]
+
*[[List of FC Barcelona managers|<span style="color: #ffffff">Managers</span>]]
*[[List of FC Barcelona presidents|<span style="color: #FFF000">Presidents</span>]]
+
*[[List of FC Barcelona presidents|<span style="color: #ffffff">Presidents</span>]]
*[[List of FC Barcelona seasons|<span style="color: #FFF000">Seasons</span>]]
+
*[[List of FC Barcelona seasons|<span style="color: #ffffff">Seasons</span>]]
*[[FC Barcelona in international football competitions|<span style="color: #FFF000">International</span>]]
+
*[[FC Barcelona in international football competitions|<span style="color: #ffffff">International</span>]]
*[[List of FC Barcelona records and statistics|<span style="color: #FFF000">Statistics</span>]]
+
*[[List of FC Barcelona records and statistics|<span style="color: #ffffff">Statistics</span>]]
*[[2020–21 FC Barcelona season|<span style="color: #FFF000">Current season</span>]]
+
*[[2020–21 FC Barcelona season|<span style="color: #ffffff">Current season</span>]]
  
 
|group1 = Other teams
 
|group1 = Other teams
Line 74: Line 74:
 
*[[FC Barcelona media|TV and radio]]
 
*[[FC Barcelona media|TV and radio]]
 
| below =
 
| below =
* {{Icon|Category}} [[:Category:FC Barcelona|<span style="color:#FFF000">Category</span>]]  
+
* {{Icon|Category}} [[:Category:FC Barcelona|<span style="color:#ffffff">Category</span>]]  
* {{Icon|Commons}} [[Commons:Category:FC Barcelona|<span style="color:#FFF000">Commons</span>]]
+
* {{Icon|Commons}} [[Commons:Category:FC Barcelona|<span style="color:#ffffff">Commons</span>]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Revision as of 09:57, 17 September 2020

Initial visibility: currently defaults to autocollapse

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

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