Template:Davis Cup team displays an external link to a profile for a team (country) at the official website of the Davis Cup. It is intended for use in the external links section of an article.
Usage
edit- New team ID, a universally unique identifier (UUID)
{{Davis Cup team | new_id= UUID }}{{Davis Cup team | new_id= UUID | code= YYY }}{{Davis Cup team | new_id= UUID | code= YYY | archive= NUMBER }}
- Old team ID, a three-letter country code
{{Davis Cup team | code= YYY }}{{Davis Cup team | code= YYY | archive= NUMBER }}
Usage
editNew ID in template
editThe website switched to a universally unique identifier (UUID) for team pages in 2025, replacing the former three-letter IOC country code. The template will also display an archived link to the former website if the country code is included.
- Usage
{{Davis Cup team | new_id=bdd179de-60c7-46db-9769-4dd51f331e4a }}{{Davis Cup team | new_id=bdd179de-60c7-46db-9769-4dd51f331e4a | code=USA }}}{{Davis Cup team | new_id=bdd179de-60c7-46db-9769-4dd51f331e4a | code=USA | archive=20251010131127 }}
- Output
- Team page at the Davis Cup (archived former page)
- Team page at the Davis Cup (archived former page)
Former ID in template
editThe former ID (country code) displays an archived link.
- Usage
{{Davis Cup team | code= CHN }}{{Davis Cup team | code= CHN | archive= 20250806180548 }}
- Output
No ID in template
edit- Usage
* {{Davis Cup team}}
- Output
- {{Davis Cup team}} template missing ID.
TemplateData
editTemplateData for Davis Cup team
This template displays an external link to a profile for a team (country) at the official website of the Davis Cup. It is intended for use in the external links section of an article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| New ID | new_id | The universally unique identifier (UUID) in the current URL, such as https://www.daviscup.com/en/teams/bdd179de-60c7-46db-9769-4dd51f331e4a. This parameter is optional when the "code" parameter is used, but required if not.
| String | optional |
| Country Code | code | The three-letter country code in the former URL, such as https://www.daviscup.com/en/teams/team.aspx?id=USA. It displays an archived link of the former page. This parameter is optional when the "new_id" parameter is used, but required if not.
| String | optional |
| Archive | archive | Number representing the date/time in an Internet Archive URL, such as https://web.archive.org/web/20251010131127/https://www.daviscup.com/en/teams/team.aspx?id=USA.
| Number | optional |
See also
edit- {{Billie Jean King Cup team}} – external link to team page at the Billie Jean King Cup (women's equivalent to Davis Cup)
- {{Davis Cup navbox}}
- {{Davis Cup player}}
- {{Davis Cup teams}}