Difference between revisions of "Template:Infobox GrandSlamTournamentsDisciplines"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(Reverted to revision 371362979 by Thumperward; feel free to drop me a line illustrating the problem. not a mind-reader. (TW))
(Undid revision 371532131 by Thumperward (talk) Not consensus)
Line 1: Line 1:
{{ infobox
+
{| class="infobox" style="width: 22em; font-size: 88%; line-height: 1.5em" 
| title   = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
|- 
| image   = {{#if:{{{Logo|}}}|[[File:{{{Logo}}}|{{#if:{{{Logo size|}}}|{{{Logo size}}}|frameless}}]]}}
+
! style="text-align: center;" colspan="3" |<big>{{{Name}}}</big> 
 +
|- 
 +
{{#if:{{{Logo|}}} 
 +
|<tr style="text-align: center;"><td colspan="3">[[File:{{{Logo}}}|{{{Logo size}}}]]</tr> 
 +
}} 
 +
|- 
 +
! style="background:{{{Bar Color|#ccccff}}};" colspan="3" | [{{{Web site}}} Official web] 
 +
|- 
 +
{{#if:{{{City|}}}{{{Country|}}} 
 +
|<tr><td>'''Location'''</td><td colspan="2">{{{City}}}<br>{{{Country}}}</td></tr> 
 +
}}<!-- 
 +
-->{{#if:{{{Venue|}}} 
 +
|<tr><td>'''Venue'''</td><td colspan="2">{{{Venue}}}</td></tr> 
 +
}}<!-- 
 +
-->{{#if:{{{Governing Body|}}} 
 +
|<tr><td>'''Governing Body'''</td><td colspan="2">{{{Governing Body}}}</td></tr> 
 +
}}<!-- 
 +
-->{{#if:{{{Created|}}} 
 +
|<tr><td>'''Created'''</td><td colspan="2">{{{Created}}}</td></tr> 
 +
}}<!--    
 +
-->{{#if:{{{Surface|}}} 
 +
|<tr><td>'''Surface'''</td><td colspan="2">{{{Surface}}}</td></tr> 
 +
}}<!-- 
 +
-->{{#if:{{{Prize Money|}}} 
 +
|<tr><td>'''Prize Money'''</td><td colspan="2">{{{Prize Money}}}</td></tr> 
 +
}}<!-- 
 +
-->{{#if:{{{Trophy|}}}  
 +
|<tr><td>'''Trophy'''</td><td colspan="2">{{{Trophy}}}</td></tr> 
 +
}}<!-- 
 +
-->{{#if:{{{Most Amateur Era Titles|}}}    
 +
|<tr><td>'''Most Amateur</br>Era Titles'''</td><td colspan="2">{{{Most Amateur Era Titles}}}</td></tr> 
 +
}}<!-- 
 +
-->{{#if:{{{Most Open Era Titles|}}}  
 +
|<tr><td>'''Most Open</br>Era Titles'''</td><td colspan="2">{{{Most Open Era Titles}}}</td></tr> 
 +
}}<!-- 
 +
-->{{#if:{{{Most Consecutive Titles Amateur Era|}}}  
 +
|<tr><td>'''Most Consecutive</br>Titles Amateur Era'''</td><td colspan="2">{{{Most Consecutive Titles Amateur Era}}}</td></tr> 
 +
}}<!-- 
 +
-->{{#if:{{{Most Consecutive Titles Open Era|}}}  
 +
|<tr><td>'''Most Consecutive</br>Titles Open Era'''</td><td colspan="2">{{{Most Consecutive Titles Open Era}}}</td></tr> 
 +
}}<!-- 
 +
-->{{#if:{{{Current Champion|}}}  
 +
|<tr><td>'''Current Champion'''</td><td colspan="2">{{{Current Champion}}}</td></tr> 
 +
}}  
 +
|}<noinclude> 
 +
   
 +
==Syntax== 
 +
<pre> 
 +
{{GrandSlamTournamentsDisciplines 
 +
| Name        =   
 +
| Logo        = 
 +
| Logo size  =   
 +
| Bar Color  =   
 +
| City        =   
 +
| Country    = 
 +
| Venue      =   
 +
| Governing Body    = 
 +
| Created    =   
 +
| Surface    = 
 +
| Prize Money  = 
 +
| Trophy    =   
 +
| Most Amateur Era Titles = 
 +
| Most Open Era Titles = 
 +
| Most Consecutive Titles Amateur Era = 
 +
| Most Consecutive Titles Open Era =
 +
| Current Champion =
 +
| Web site =
 +
}}
 +
</pre>
  
| label1  = Location
+
   
| data1  = {{{City|}}}{{#if:{{{Country|}}}|{{#if:{{{City|}}}|<br />}}{{{Country}}}}}
+
==Colors==  
| label2  = Venue
+
*AUS: #F9D251    
| data2  = {{{Venue|}}}
+
*FRA: #FF915F    
| label3  = Governing body
+
*WIM: #C0D077    
| data3   = {{{Governing Body|}}}
+
*USA: #B2C8FF    
| label4  = Created
+
   
| data4   = {{{Created|}}}
+
[[Category:Tennis tournaments infobox templates|{{PAGENAME}}]]
| label5  = Surface
 
| data5   = {{{Surface|}}}
 
| label6  = Prize money
 
| data6   = {{{Prize Money|}}}
 
| label7  = Trophy
 
| data7  = {{{Trophy|}}}
 
| label8  = Most amateur era titles
 
| data8  = {{{Most Amateur Era Titles|}}}
 
| label9  = Most Open era titles
 
| data9  = {{{Most Open era Titles|}}}
 
| label10 = Most consecutive titles (amateur era)
 
| data10  = {{{Most Consecutive Titles Amateur Era|}}}
 
| label11 = Most Consecutive titles (Open era)
 
| data11  = {{{Most Consecutive Titles Open Era|}}}
 
| label12 = Current champion
 
| data12  = {{{Current Champion|}}}
 
| label13 = Website
 
| data13  = {{{Web site|}}}
 
 
 
}}<noinclude>{{doc}}<!-- place category and language links on the /doc sub-page, not here --></noinclude>
 

Revision as of 15:18, 3 July 2010

{{{Name}}}
[{{{Web site}}} Official web]

Syntax

  
{{GrandSlamTournamentsDisciplines  
| Name        =    
| Logo        =   
| Logo size   =    
| Bar Color   =    
| City        =    
| Country     =   
| Venue       =    
| Governing Body    =   
| Created    =    
| Surface     =   
| Prize Money   =   
| Trophy    =    
| Most Amateur Era Titles =  
| Most Open Era Titles =  
| Most Consecutive Titles Amateur Era =   
| Most Consecutive Titles Open Era = 
| Current Champion =
| Web site =
}}  


Colors

  • AUS: #F9D251
  • FRA: #FF915F
  • WIM: #C0D077
  • USA: #B2C8FF