Template:Infobox tennis player season/doc

From IxWiki
Revision as of 16:32, 25 April 2020 by >Vanisaac (→‎Microformat: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Please not make any significant alterations to the template (e.g., new fields, field name changes) without establishing general awareness and approval via the talk page.

Usage

All attributes are optional. If {{{name}}} is omitted, it will be inferred from the page title.

{{{name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}]]
{{{caption}}}
Full name{{{full_name}}}
Country{{{country}}}
Calendar prize money{{{calendarprizemoney}}}
Singles
Season record{{{singlesrecord}}}
Calendar titles{{{singlestitles}}}
Current ranking{{{currentsinglesranking}}}
Year-end ranking{{{yearendsinglesranking}}}
Ranking change from previous year{{{singlesrankingchange}}}
Grand Slam & significant results
Australian Open{{{AustralianOpenresult}}}
French Open{{{FrenchOpenresult}}}
Wimbledon{{{Wimbledonresult}}}
US Open{{{USOpenresult}}}
Other tournaments
Tour Finals{{{MastersCupresult}}}
Championships{{{WTAChampionshipsresult}}}
Olympic Games{{{Olympicsresult}}}
Doubles
Season record{{{doublesrecord}}}
Calendar titles{{{doublestitles}}}
Current ranking{{{currentdoublesranking}}}
Year-end ranking{{{yearenddoublesranking}}}
Ranking change from previous year{{{doublesrankingchange}}}
Grand Slam Doubles results
Australian Open{{{AustralianOpenDoublesresult}}}
French Open{{{FrenchOpenDoublesresult}}}
Wimbledon{{{WimbledonDoublesresult}}}
US Open{{{USOpenDoublesresult}}}
Other Doubles tournaments
Tour Finals{{{MastersCupDoublesresult}}}
WTA Championships{{{WTAChampionshipsDoublesresult}}}
Olympic Games{{{OlympicsDoublesresult}}}
Mixed Doubles
Season record{{{mixedrecord}}}
Calendar titles{{{mixedtitles}}}
Grand Slam Mixed Doubles results
Australian Open{{{AustralianOpenMixedresult}}}
French Open{{{FrenchOpenMixedresult}}}
Wimbledon{{{WimbledonMixedresult}}}
US Open{{{USOpenMixedresult}}}
Other Mixed Doubles tournaments
Olympic Games{{{OlympicMixedDoublesresult}}}
Davis Cup
Davis Cup{{{Daviscupresult}}}
Fed Cup
Fed Cup{{{Fedcupresult}}}
Injuries
Injuries{{{Injury}}}
Notes: {{{notes}}}
Last updated on: {{{updated}}}.
{{Infobox tennis player season
| name                              = 
| image                             = <!-- bare image name, no formatting -->
| alt                               = 
| image_size                        = 
| caption                           = <!-- brief text caption for the image -->
| full_name                         = 
| country                           = 
| calendarprizemoney                = 
| singlesrecord                     = 
| singlestitles                     = 
| currentsinglesranking             = <!-- for in-season article editing-->
| yearendsinglesranking             = <!-- replaces current ranking when season ends-->
| singlesrankingchange              = <!-- use the year-end rankings as basis of comparison-->
| AustralianOpenresult              = 
| FrenchOpenresult                  = 
| Wimbledonresult                   = 
| USOpenresult                      = 
| Othertournaments                  = <!-- adds a "Other tournaments" title -->
| MastersCupresult                  = 
| WTAChampionshipsresult            = 
| Olympicsresult                    = 
| doublesrecord                     = 
| doublestitles                     = 
| currentdoublesranking             = 
| yearenddoublesranking             = <!-- replaces current ranking when season ends-->
| doublesrankingchange              = <!-- use the year-end rankings as basis of comparaison-->
| grandslamsdoublesresults          = 
| AustralianOpenDoublesresult       = 
| FrenchOpenDoublesresult           = 
| WimbledonDoublesresult            = 
| USOpenDoublesresult               = 
| OthertournamentsDoubles           = <!-- adds a "Other doubles tournaments" title -->
| MastersCupDoublesresult           = 
| WTAChampionshipsDoublesresult     = 
| OlympicsDoublesresult             = 
| Mixed                             = <!-- adds mixed information-->
| mixedrecord                       = 
| mixedtitles                       = 
| AustralianOpenMixedresult         = 
| FrenchOpenMixedresult             = 
| WimbledonMixedresult              = 
| USOpenMixedresult                 = 
| OthertournamentsMixedDoubles      = 
| OlympicMixedDoublesresult         = 
| Daviscupresult                    = <!-- the highest phase that his team reached if he was drafted / part of the team -->
| Fedcupresult                      = <!-- the highest phase that her team reached if she was drafted / part of the team -->
| Injury                            = <!-- add injuries with date/interval, type of injury in brackets and reference if available -->
| notes                             = <!-- general important notes and/or anything that has changed from previous season: change of coach, equipment, ...etc -->
| updated                           = <!-- adds date this template was last updated at an individual article -->
}}

Notes

  • Include calendar prize money in US Dollars.
  • Singles and Doubles titles, include only titles won on the WTA (women) or the ATP (men) Tour, not the ITF circuit (the tier below). Titles won on the ITF Circuit can be included in brackets.
  • The Grand Slam results and Grand Slam doubles results sections show the furthest the player advanced in the Grand Slams.
  • The singles and doubles season record only includes matches won and lost on the ATP or WTA Tour.

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the person's details parsable by computers, either acting automatically to catalogue articles across Wikipedia or via a browser tool operated by a reader, to (for example) add the subject to an address book or database. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

Date-of-birth ("bday") information will only be included in the microformat if {{birth date}}, or {{birth date and age}} are used in the infobox. (Do not use these if the date is before 1583). Be cautious about using these if the person is still living, per WP:DOB.

To include a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • bday
  • birthplace
  • category
  • country-name
  • deathdate
  • deathplace
  • extended-address
  • family-name
  • fn (required)
  • given-name
  • honorific-prefix
  • honorific-suffix
  • label
  • locality
  • n
  • nickname
  • note
  • org
  • role
  • url
  • vcard

Please do not rename or remove these classes nor collapse nested elements which use them.