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))
Line 1: Line 1:
{| class="infobox" style="width: 22em; font-size: 88%; line-height: 1.5em" 
+
{{ infobox
|
+
| title  = {{{Name|<includeonly>{{PAGENAME}}</includeonly>}}}
! style="text-align: center;" colspan="3" |<big>{{{Name}}}</big> 
+
| image   = {{#if:{{{Logo|}}}|[[File:{{{Logo}}}|{{#if:{{{Logo size|}}}|{{{Logo size}}}|frameless}}]]}}
|
 
{{#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
==Colors==  
+
| data1  = {{{City|}}}{{#if:{{{Country|}}}|{{#if:{{{City|}}}|<br />}}{{{Country}}}}}
*AUS: #F9D251    
+
| label2  = Venue
*FRA: #FF915F    
+
| data2  = {{{Venue|}}}
*WIM: #C0D077    
+
| label3  = Governing body
*USA: #B2C8FF    
+
| data3  = {{{Governing Body|}}}
   
+
| label4  = Created
[[Category:Tennis tournaments infobox templates|{{PAGENAME}}]]
+
| data4  = {{{Created|}}}
 +
| 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 11:42, 3 July 2010

[[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