Difference between revisions of "Template:Infobox GrandSlamTournamentsDisciplines"

From blackwiki
Jump to navigation Jump to search
imported>ApprenticeFan
imported>Frietjes
(auto headers)
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
 
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{Logo|}}}|size={{{Logo size|}}}}}
 
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{Logo|}}}|size={{{Logo size|}}}}}
  
| headerstyle = text-align:center; background:{{{Bar Color|transparent}}}; color:#FFFFFF;
+
| headerstyle = text-align:center; background:{{{Bar Color|transparent}}}; color:{{Greater color contrast ratio|{{{Bar Color|transparent}}}|white|black}};
 +
| autoheaders = yes
  
 
| label1  = Location
 
| label1  = Location
Line 24: Line 25:
 
| data9  = {{{Website|{{{Web site|}}}}}}
 
| data9  = {{{Website|{{{Web site|}}}}}}
  
| header10 = {{#if:{{{Most Amateur Era Titles|}}}{{{Most Open Era Titles|}}}{{{Most Titles|}}}|Most titles}}
+
| header10 = Most titles
  
 
| label11  = Amateur era
 
| label11  = Amateur era
Line 33: Line 34:
 
| data13  = {{{Most Titles|}}}
 
| data13  = {{{Most Titles|}}}
  
| header14 = {{#if:{{{Most Consecutive Titles Amateur Era|}}}{{{Most Consecutive Titles Open Era|}}}{{{Most Consecutive Titles|}}}|Most consecutive titles}}
+
| header14 = Most consecutive titles
  
 
| label15 = Amateur era
 
| label15 = Amateur era
Line 42: Line 43:
 
| data17  = {{{Most Consecutive Titles|}}}
 
| data17  = {{{Most Consecutive Titles|}}}
  
| header18 = {{#if:{{{Current champion|{{{Current Champion|}}}}}}|Current champion}}
+
| header18 = Current champion
 
| data19  = {{{Current champion|{{{Current Champion|}}}}}}
 
| data19  = {{{Current champion|{{{Current Champion|}}}}}}
  

Latest revision as of 14:15, 12 October 2020

[[Category:Infobox templates|Template:Remove first word]]

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

Usage

{{Infobox GrandSlamTournamentsDisciplines  
| Name             =    
| Logo             =   
| Logo size        =    
| Bar Color        = <!-- AUS / FRA / WIM / USA / DEF -->
| City             =    
| Country          =   
| Venue            =    
| Governing body   =   
| Created          = 
| Editions         =    
| Surface          =   
| Prize money      =   
| Trophy           =    
| Current champion =
| Most Amateur Era Titles =  
| Most Open Era Titles =  
| Most Consecutive Titles Amateur Era =   
| Most Consecutive Titles Open Era = 
| Website          =
}}

Colors

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

See also