Template:Infobox tennis tournament year

From blackwiki
Jump to navigation Jump to search
{{{1}}} {{{2}}}
Template:Succession links

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

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

Template:Parameter names example

{{Infobox tennis tournament year|||
| logo=
| logo_size=
| date= 
| edition=
| category=
| draw=
| prize_money=
| surface=
| location=
| venue=
| attendance=

| champms= 
| champws= 
| champs= 
| champmd= 
| champwd= 
| champxd= 
| champd= 

| champbs= 
| champgs= 
| champbd= 
| champgd= 

| champml= 
| champwl= 
| champxl= 
| champsl= 

| champwcms= 
| champwcws= 
| champwcqs=  
| champwcs=
| champwcmd= 
| champwcwd= 
| champwcqd= 
| champwcd= 
| champqs= 

| champmt=
| champwt=

| champmos=
| champwos=
| champmod=
| champxod=
| champmis=
| champwis=
| champmid=
| champxid=
}}

Basic: This is for Grand Slam, ATP or WTA tennis tournaments.

Use:

  • The | (not the letter l) after {{Infobox tennis tournament| should be filled with the year of the tournament. The | (not the letter l) after that contains the name of the tournament. In doubles tournaments, add a space, a slash and another space and then repeat the steps from the {{flagicon| through ]].
  • logo=Filename of logo image (leave out "File:")
  • logo_size= Width of logo in pixels (defaults to 250px)
  • date= The date in which the tournament started, a dash, and the day that the tournament ended. Put these dates in '''bold'''.
  • edition= The edition of the tournament (the number of years from the original tournament through the year of the tournament)
  • category= Category of the tournament in ATP/WTA calendar
  • location= The venue where the tournament was held
  • champs ms, ws, md, wd, xd--these are the champions of the tournament. Theses fields should be filled in with {{flagicon| (not the letter l) and either the country or the country's 3-letter code that the player is from, followed by }}, a space, [[, the player's name and then ]].
  • Seniors:
    • champs= Field for generic Singles champions if being used for a non-mixed event
    • champms= Field for Men's Singles champions
    • champws= Field for Women's Singles champions
    • champd= Field for generic Doubles champions if being used for a non-mixed event
    • champmd = Field for Men's Doubles champions
    • champwd= Field for Women's Doubles champions
    • champxd= Field for Mixed Doubles champions
  • Juniors:
    • champbs= Field for Boys' Singles champions
    • champgs= Field for Girls' Singles champions
    • champbd= Field for Boys' Doubles champions
    • champgd= Field for Girls' Doubles champions
  • Legends:
    • champml= Field for Men's Legends/Invitational champions
    • champwl= Field for Women's Legends/Invitational champions
    • champml= Field for Mixed Legends/Invitational champions (at U.S. Open and Australian Open)
    • champsl= Field for Senior Legends/Invitational champions (i.e. +45 at French Open, Seniors at Wimbledon)
  • Wheelchair:
    • champwcs= Field for generic Wheelchair Singles champions if being used for a non-mixed event
    • champwcms= Field for Wheelchair Men's Singles champions
    • champwcws= Field for Wheelchair Women's Singles champions
    • champwcqs= Field for Wheelchair Quad Singles champions
    • champqs= Field for Wheelchair Quad Singles champions in wheelchair only events
    • champwcd= Field for generic Doubles champions if being used for a non-mixed event
    • champwcmd= Field for Wheelchair Men's Doubles champions
    • champwcwd= Field for Wheelchair Women's Doubles champions
    • champwcqd= Field for Wheelchair Quad Doubles champions
    • champqd= Field for Wheelchair Quad Doubles champions in wheelchair only events
  • Team:
    • champmt= Field for Men's team champions
    • champwt= Field for Women's team champions
  • Outdoor/indoor:
    • champmos= Field for Men's outdoor singles champions
    • champwos= Field for Women's outdoor singles champions
    • champmod= Field for Men's outdoor doubles champions
    • champxod= Field for Mixed outdoor doubles champions
    • champmis= Field for Men's indoor singles champions
    • champwis= Field for Women's indoor singles champions
    • champmid= Field for Men's indoor doubles champions
    • champxid= Field for Mixed indoor doubles champions
Optional parameters to change name and year in links to other editions
| before_name=
| after_name=
| before_year=
| after_year=
| main_name=

These parameters change the default values in the grey field at the bottom of the template. By default, it is assumed that the edition before/after was in the year right before/after, and that each edition has the same name or possibly adds "(tennis)" for disambiguation as in US Open (tennis). Do not set any of these parameters to equal empty. Omit them if they are not needed.

  • before_name= name of the edition before (do not include year here)
  • after_name= name of the edition after (do not include year here)
  • before_year= year of the edition before (set before_year=no if the article is about the first edition, but this can be omitted if edition=1st is set exactly like that)
  • after_year= year of the edition after (set after_year=no if the article is about the final edition, but not if another edition is expected next year)
  • main_name= name of main article about the tournament (not the yearly editions). If the main article name includes a disambiguation suffix, use the {{!}} template to hide it using a piped link. Example:
| main_name= Heineken Open (tennis){{!}} Heineken Open
Optional parameters for multi-sport competitions
| multi=

This parameter alters the header of the template. Set multi=yes to add "Tennis at the" to the header, such as with Tennis at the 1920 Summer Olympics.

See also