Template:Infobox Tennis Grand Slam events
Revision as of 16:58, 10 June 2015 by imported>Izkala (hlist)
| {{TennisEvents}} exists as an alternate version of this template. It is to be used for mixed competitions which are not Grand Slams. {{TennisEvents2}} also exists. It is to be used for men's only or women's only competitions. There is also {{TennisEvents3}} which is used for the Regions Morgan Keegan Championships and the Cellular South Cup, and {{TennisEvents4}} which is used for the 2000 Tennis Masters Cup. Any content changes made here should be updated in those templates as well. |
| [[{{{1}}} {{{2}}}|{{{1}}} {{{2}}}]] | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 2024 Champion | {{{defchamp}}} | |||||||||
| Champion | {{{champ}}} | |||||||||
| Runner-up | {{{runner}}} | |||||||||
| Final score | {{{score}}} | |||||||||
| Events | ||||||||||
| Singles | men | women | boys | girls | ||||||
| Doubles | men | women | mixed | boys | girls | |||||
| Other events | ||||||||||
| Legends | ||||||||||
| WC Singles | ||||||||||
| WC Doubles | ||||||||||
| Template:Succession links | ||||||||||
| Template:Succession links | ||||||||||
| This template is currently being merged with Template:Tennis events. This template is being merged with another template, according to the specific instructions at Wikipedia:Templates for discussion/Holding cell, after which it will be redirected or deleted. The decision to merge this template was made following [[Wikipedia:Templates for discussion/Log/2014 March 30#Template:Infobox Tennis Grand Slam events|this discussion initiated on Template:YMD to ISO]] at Templates for discussion. Note: Please review this template's instructions at Wikipedia:Templates for discussion/Holding cell before proceeding with any type of merging. |
| This template uses Lua: |
Usage
{{Tennis events|<1>|<2>|<3>|<4>
| event =
| defchamp =
| final date =
| champ =
| runner =
| score =
| draw =
| seeds =
| type =
}}
- When noting doubles events, after the "|" after "tournament", put: "s|" (that is not the letter l, but the character | found by pushing shift and slash) to add an s to runner-up and champion fields.
- After the
{{Tennis events|(not the letter l), enter the year of the tournament. The | (not the letter l) after that, enter the tournament name. After that | (not the letter l) is when the s should be entered, need be. Regardless, add a | (not the letter l) after the s or the tournament field when an s isn't used. Do not put these fields in[[]]. When entering the US Open, check to see whether the US has periods after the U and S or not, and enter it the way that it appears. - The defending champ field is where you enter
{{flagicon|and the three-letter code or the name of the country where the previous year's champion or champions is/are from and then enter}}and a space,[[, the player's name and then]]. If it is a team, enter <br> and do the same as this bullet for the other player's name. - Do the same as defending champ for champ and runner except the country of the runner up and the name of the runner up instead of that of the champion's.
- For score, enter the score that the champion beat the runner-up.
Parameters
| Parameter | Required | Definition |
|---|---|---|
1 |
Yes | Year of the tournament |
2 |
Yes | Name of the tournament (When entering the US Open, check to see whether the US has periods after the U and S or not, and enter it the way that it appears.) |
3 |
No | Second tournament name: If this is a men only or women only event with different names for singles and doubles, place the doubles name here and the singles name in parameter 2. (If empty, this parameter may be used instead of parameter 4.) |
4 |
No | Set to s when noting doubles events (when using <br> in following fields, optional)
|
champ |
No | Enter {{flagicon| and the three-letter code or the name of the country where the champion or champions is/are from and then enter }} and a space, [[, the player's name and then ]]. If it is a team, enter <br> and do the same as this bullet for the other player's name.
|
defchamp |
No | Enter {{flagicon| and the three-letter code or the name of the country where the previous year's champion or champions is/are from and then enter }} and a space, [[, the player's name and then ]]. If it is a team, enter <br> and do the same as this bullet for the other player's name.
|
runner |
No | Enter {{flagicon| and the three-letter code or the name of the country where the runner(s)-up is/are from and then enter }} and a space, [[, the player's name and then ]]. If it is a team, enter <br> and do the same as this bullet for the other player's name.
|
score |
No | The score that the champion beat the runner-up |
type |
Defaulted | Use one of these values as the type of events in the competition: men and women (the default), women, or men. An s or 's at the end of men or women is allowed: mens and womens, men's and women's, womens, men's. Also, using type=grand slam will produce a "mixed" navigation tool in the infobox.
|
edition |
No | Edition of the tournament, (if set to 1st, does not provide any links to previous years)
|
main_name |
No | Name of main article about the event given in parameter 2 (not the yearly editions) If this includes a disambiguation suffix, use {{!}} to hide it as follows: |main_name=Heineken Open (tennis){{!}} Heineken Open
|
before_name |
No | Name of previous edition of the event given in parameter 2, not including the year |
before_year |
No | Year of the previous edition of the event given in parameter 2 (set to no if the article is about the first edition, or use |edition=1st)
|
after_name |
No | Name of next edition of the event given in parameter 2, not including the year |
after_year |
No | Year of the next edition of the event given in parameter 2 (set to no if another edition is not expected)
|
main_name2 |
No | Name of main article about the event given in parameter 3 (not the yearly editions) Hide any disambiguation suffixes in the same manner as for |main_name=
|
before_name2 |
No | Name of previous edition of the event given in parameter 3, not including the year |
before_year2 |
No | Year of the previous edition of the event given in parameter 3 (set to no if the article is about the first edition, or use |edition=1st)
|
after_name2 |
No | Name of next edition of the event given in parameter 3, not including the year |
after_year2 |
No | Year of the next edition of the event given in parameter 3 (set to no if another edition is not expected)
|
Example
{{Tennis events|2000|Tennis Masters Cup|ATP Tour World Championships|s
| event = Doubles
| champ = {{Plainlist|
* {{flagicon|USA}} [[Donald Johnson]]
* {{flagicon|RSA}} [[Piet Norval]]
}}
| runner = {{Plainlist|
* {{flagicon|IND}} [[Mahesh Bhupathi]]
* {{flagicon|IND}} [[Leander Paes]]
}}
| score = 7–6<sup>(10–8)</sup>, 6–3, 6–4
| type = men
}}
Tracking category
- Category:Pages using infobox tennis tournament event without second parameter (0)
- Category:Pages using infobox tennis tournament year footer with a known event (0)
- Category:Pages using infobox tennis tournament year footer with an unknown event (0)
See also
| The above documentation is transcluded from Template:Infobox Tennis Grand Slam events/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |