Template:Infobox tennis biography/doc

Jump to navigation Jump to search

Please do 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. If {{{singlesrecord}}} or {{{doublesrecord}}} is omitted, it will be inferred from any Wikidata entry.

{{Infobox tennis biography
| name                   = 
| image                  = <!-- bare image name, no formatting -->
| image_size             = 
| alt                    = 
| caption                = <!-- brief text caption for the image -->
| full_name              = <!-- if different -->
| native_name            = 
| native_name_lang       = 
| itf_name               = <!-- official name as registered by the ITF, only fill if different from article name -->
| country_represented    = <!-- this is the country represented in international play, not citizenship -->
| residence              = 
| sportswear_(racquet)   = 
| birth_date             = <!-- {{birth date and age|yyyy|mm|dd}} -->
| birth_place            = 
| death_date             = <!-- {{death date and age|yyyy|mm|dd|yyyy|mm|dd}} first date is death date, second date is birth date-->
| death_place            = 
| height                 = <!-- X ft Y in, X cm OR X m; the template will automatically convert (otherwise {{convert}} can be used) -->
| college                = <!-- or | university = -->
| coach                  = <!-- Coach(es); list the current coach or (if there is more than one) list the current coaches -->
| turnedpro              = 
| retired                = 
| plays                  = 
| careerprizemoney       = 
| tennishofyear          = <!-- year inducted into the Tennis Hall of Fame -->
| tennishofid            = <!-- ID from the Tennis HoF website, taken from http://www.tennisfame.com/hall-of-famers/inductees/First Name-Last Name i.e. martina-navratilova, which is all undercase letters-->
| website                = <!-- official web site address like this: [http://www.site.com site.com] -->

| singlesrecord          = <!-- you may place a <br /> to over-ride values in WikiData, which is incorrect on all pre-1968 players-->
| singlestitles          = 
| highestsinglesranking  = <!-- use No. and numeral -->
| currentsinglesranking  = <!-- NEVER UPDATE UNTIL THE WTA/ATP WEBSITE IS UPDATED (Usually on Mondays) -->
| retirementsinglesranking = 
| AustralianOpenresult   = 
| FrenchOpenresult       = 
| Wimbledonresult        = 
| USOpenresult           = 

| AustralianOpenjuniorresult = <!-- do not add any jr. info once any pro result is recorded in the infobox -->
| FrenchOpenjuniorresult = <!-- do not add any jr. info once any pro result is recorded in the infobox -->
| Wimbledonjuniorresult  = <!-- do not add any jr. info once any pro result is recorded in the infobox -->
| USOpenjuniorresult     = <!-- do not add any jr. info once any pro result is recorded in the infobox -->
| AustralianOpenseniorresult = 
| FrenchOpenseniorresult = 
| Wimbledonseniorresult  = 
| USOpenseniorresult     = 
| Othertournaments       = <!-- adds an "Other tournaments" title -->
| WHCCresult             = 
| WCCCresult             = 
| MastersCupresult       = 
| GrandSlamCupresult     = 
| WCTFinalsresult        = 
| WTAChampionshipsresult = 
| Olympicsresult         = 
| Promajors              = <!-- adds a "Professional majors" title -->
| USProresult            = 
| WembleyProresult       = 
| FrenchProresult        = 
| Proother               = <!-- adds an "Other pro events" title -->
| TOCresult              = 

| doublesrecord          = <!-- you may place a <br /> to over-ride values in WikiData, which is incorrect on all pre-1968 players-->
| doublestitles          = 
| highestdoublesranking  = 
| currentdoublesranking  = <!-- NEVER UPDATE UNTIL THE WTA/ATP WEBSITE IS UPDATED (Usually on Mondays) -->
| retirementdoublesranking =
| AustralianOpenDoublesresult = 
| FrenchOpenDoublesresult = 
| WimbledonDoublesresult = 
| USOpenDoublesresult    = 
| AustralianOpenDoublesjuniorresult = <!-- do not add any jr. info once any pro result is recorded in the infobox -->
| FrenchOpenDoublesjuniorresult = <!-- do not add any jr. info once any pro result is recorded in the infobox -->
| WimbledonDoublesjuniorresult = <!-- do not add any jr. info once any pro result is recorded in the infobox -->
| USOpenDoublesjuniorresult = <!-- do not add any jr. info once any pro result is recorded in the infobox -->
| AustralianOpenDoublesseniorresult = 
| FrenchOpenDoublesseniorresult = 
| WimbledonDoublesseniorresult = 
| USOpenDoublesseniorresult = 

| OthertournamentsDoubles = <!-- adds a "Other doubles tournaments" title -->
| WHCCDoublesresult      =
| WCCCDoublesresult      =
| MastersCupDoublesresult = 
| WTAChampionshipsDoublesresult = 
| OlympicsDoublesresult  = 

| Mixed                  = <!-- adds mixed information-->
| mixedrecord            = 
| mixedtitles            = 
| AustralianOpenMixedresult = 
| FrenchOpenMixedresult  = 
| WimbledonMixedresult   = 
| USOpenMixedresult      = 
| OthertournamentsMixedDoubles =
| WHCCMixedDoublesresult =
| WCCCMixedDoublesresult =
| OlympicMixedDoublesresult = 

| Team                   = <!-- adds team information-->
| DavisCupresult         =
| FedCupresult           =
| HopmanCupresult        =
| WorldTeamCupresult     =
| WightmanCupresult      =

| medaltemplates         = <!-- Olympic medal templates -->
| medaltemplates-expand  = <!-- expands the medaltemplates -->
| updated                = <!-- adds date this template was last updated at an individual article -->
}}

Wheelchair tennis

Five additional fields are available for wheelchair tennis players

| WheelchairTennisMastersresult        = 
| Paralympicsresult                    = 
| WheelchairTennisMastersDoublesresult = 
| ParalympicsDoublesresult             = 
| WheelchairWorldTeamCupresult         =

Tennis coaches

Seven additional fields are available for tennis coaches

| CoachYears            = 
| CoachPlayers          = 
| CoachSinglesTitles    = 
| CoachDoublesTitles    = 
| CoachTournamentRecord = 
| CoachingAwards        = 
| CoachingRecords       =

Notes

  • In the updated field, If the player is retired, put N/A in this field. Use the date of the previous Monday that the ATP or WTA updated player's stats.
  • Include career prize money in US Dollars.
  • For height, use the appropriate conversion template.
  • 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, and in what year(s).
  • The singles and doubles career record only includes matches won and lost on the ATP or WTA Tour.
  • Please only use these fields if a player was a winner of a major team competition (e.g. Hopman Cup, World Team Cup, Davis Cup, Fed Cup/Billie Jean King Cup, and Wheelchair World Team Cup).
  • As an alternative to |height=, the parameters |height_m=, |height_cm= or |height_ft= and |height_in= may be used.

Use as a child template

The embed parameter is used when embedding this infobox into another.

This infobox may be used to create a genre-specific section within {{Infobox person}} (or similar biographical infobox templates) for cases where a person may be notable in more than one field; a generic example is shown below. For guidance on usage, see Wikipedia:Infobox modules. Also see the Template:Infobox documentation which explains embedding and subboxes.

{{Infobox person
| name = 
| image = 
| caption = 
| birth_date = 
| birth_place = 
| <!-- etc. -->
| module = 
  {{Infobox tennis biography | embed=yes
  | turnedpro = 
  | retired = 
  | plays = 
  | careerprizemoney = 
  | <!-- etc. -->
  }}
}}

Embedding other templates

The module parameter is used for embedding other templates into this infobox (see Wikipedia:Infobox modules and Category:Biographical templates usable as a module).

{{Infobox tennis biography
| name = 
| <!-- etc. -->
| module =
  {{Infobox ABC
  | embed = yes <!-- or child=yes / subbox=yes -->
  | <!-- etc. -->
  }}
}}

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.

Tracking categories