Jump to content

Template:Charlotte FC: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
I inverted the HTML color codes in the template, in order to meet WP:CONTRAST guidelines regarding accessibility.
Undid revision 1061145675 by Charlesaaronthompson (talk) Never mind. Charlotte FC's primary color is blue, per https://www.mlssoccer.com/news/charlotte-fc-reveal-inaugural-carolina-kit-primary-jersey & https://www.mlssoccer.com/news/charlotte-fc-logo-name-announced The background & text color codes remain WP:CONTRAST compliant.
Line 1: Line 1:
{{Navbox
{{Navbox
| name = Charlotte FC
| name = Charlotte FC
| title = [[Charlotte FC|<span style="color:#FFFFFF;">Charlotte FC</span>]]
| title = [[Charlotte FC|<span style="color:#000000;">Charlotte FC</span>]]
| titlestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#0082CA|2px}};
| titlestyle = background:#0082CA; color:#000000; {{box-shadow border|a|#000000|2px}};
| bodyclass = hlist
| bodyclass = hlist
| basestyle = background:#0082CA; color:#000000;
| basestyle = background:#000000; color:#FFFFFF;
| state = {{{state|autocollapse}}}
| state = {{{state|autocollapse}}}
| above = [[Charlotte, North Carolina|<span style="color:#FFFFFF;">Charlotte, North Carolina</span>]]

| above = [[Charlotte, North Carolina|<span style="color:#000000;">Charlotte, North Carolina</span>]]

| list1 =
| list1 =
;Stadium
;Stadium
Line 19: Line 17:
<!--{{navbox|child
<!--{{navbox|child
| groupwidth =
| groupwidth =
| basestyle = background:#0082CA; color:#000000;
| basestyle = background:#000000; color:#FFFFFF;
| image =
| image =


| above = [[Charlotte, North Carolina|<span style="color:#000000;">Charlotte, North Carolina</span>]]
| above = [[Charlotte, North Carolina|<span style="color:#FFFFFF;">Charlotte, North Carolina</span>]]


| group1 = [[Charlotte FC|<span style="color:#000000;">Club</span>]]
| group1 = [[Charlotte FC|<span style="color:#FFFFFF;">Club</span>]]
| list1 =
| list1 =
* [[List of Charlotte MLS team head coaches|Coaches]]
* [[List of Charlotte MLS team head coaches|Coaches]]
Line 61: Line 59:
{{navbox|child
{{navbox|child
| groupwidth = 10em
| groupwidth = 10em
| basestyle = background:#0082CA; color:#000000;
| basestyle = background:#000000; color:#FFFFFF;
| abovestyle = background:#000000; color:#FFFFFF; {{box-shadow border|a|#0082CA|2px}};
| abovestyle = background:#0082CA; color:#000000; {{box-shadow border|a|#000000|2px}};
| above = '''[[Major League Soccer|{{color|#FFFFFF|Major League Soccer}}]]'''
| above = '''[[Major League Soccer|{{color|#000000|Major League Soccer}}]]'''


| group1 = Seasons
| group1 = Seasons

Revision as of 05:42, 25 December 2021

This template's initial visibility currently defaults to autocollapse, meaning that if there is another collapsible item on the page (a navbox, sidebar, or table with the collapsible attribute), it is hidden apart from its title bar; if not, it is fully visible.

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

  • {{Charlotte FC|state=collapsed}} will show the template collapsed, i.e. hidden apart from its title bar.
  • {{Charlotte FC|state=expanded}} will show the template expanded, i.e. fully visible.