Difference between revisions of "Template:Infobox GrandSlamTournaments"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
(add bias (could be removed but will see))
imported>Frietjes
(not needed after changes to Australian Open)
Line 3: Line 3:
 
| title = {{{Name}}}
 
| title = {{{Name}}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Logo|{{{logo|}}}}}}|size={{{Logo size|}}}|alt={{{alt|}}}}}  
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Logo|{{{logo|}}}}}}|size={{{Logo size|}}}|alt={{{alt|}}}}}  
| headerstyle = background:{{{Bar Color|transparent}}}; color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black|bias=2.5}};
+
| headerstyle = background:{{{Bar Color|transparent}}}; color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black}};
 
| autoheaders = yes
 
| autoheaders = yes
  
| data1 = [{{{Web site}}} <span style="color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black|bias=2.5}};">Official website</span>]
+
| data1 = [{{{Web site}}} <span style="color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black}};">Official website</span>]
| rowcellstyle1 = background:{{{Bar Color|transparent}}}; color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black|bias=2.5}}; font-weight:bold;
+
| rowcellstyle1 = background:{{{Bar Color|transparent}}}; color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black}}; font-weight:bold;
  
 
  | label2 = Founded
 
  | label2 = Founded
Line 72: Line 72:
 
  | data23 = {{{Mixed Most F|}}}
 
  | data23 = {{{Mixed Most F|}}}
  
| header24 = [[Grand Slam (tennis)|<span style="color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black|bias=2.5}};">Grand Slam</span>]]
+
| header24 = [[Grand Slam (tennis)|<span style="color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black}};">Grand Slam</span>]]
 
  | rowcellstyle25 = text-align:left;
 
  | rowcellstyle25 = text-align:left;
 
  | data25 =  
 
  | data25 =  

Revision as of 15:11, 12 October 2020

Template documentation[view] [edit] [history] [purge]

Template:Parameter names example

Usage

{{Infobox GrandSlamTournaments
| Name          = 
| Last          =
| Last alias    =
| Current       =
| Current alias = 
| Logo          = 
| Logo size     = 
| Bar Color     = 
| Founded       = 
| Editions      = 
| City          = 
| Country       = 
| Venue         = 
| Surface       = 
| Men Draw      = 
| Men Current   = 
| Men Most S    = 
| Men Most D    = 
| Women Draw    = 
| Women Current = 
| Women Most S  = 
| Women Most D  = 
| Mixed Draw    = 
| Mixed Current = 
| Mixed Most M  = 
| Mixed Most F  = 
| Prize Money   = 
| Web site      = 
| Notes         = 
}}

Colors

  • AUS: #0091D2
  • FRA: #05482F
  • WIM: #006633
  • USA: #00288C