Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a288f19469cc610f

Jump to content

Template:Davis Cup team/doc

From Wikipedia, the free encyclopedia

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

[edit]

New ID in template

[edit]

The 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
Current URL
https://www.daviscup.com/en/teams/bdd179de-60c7-46db-9769-4dd51f331e4a
Archived former URL
https://web.archive.org/web/20250801/https://www.daviscup.com/en/teams/team.aspx?id=USA
https://web.archive.org/web/20251010131127/https://www.daviscup.com/en/teams/team.aspx?id=USA

Former ID in template

[edit]

The former ID (country code) displays an archived link.

Usage
{{Davis Cup team | code= CHN }}
{{Davis Cup team | code= CHN | archive= 20250806180548 }}
Output
Archived former URL
https://web.archive.org/web/20250801/https://www.daviscup.com/en/teams/team.aspx?id=CHN
https://web.archive.org/web/20250806180548/https://www.daviscup.com/en/teams/team.aspx?id=CHN

No ID in template

[edit]
Usage
* {{Davis Cup team}}
Output

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Davis Cup team in articles based on its TemplateData.

TemplateData 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.

Template parameters

ParameterDescriptionTypeStatus
New IDnew_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.

Example
bdd179de-60c7-46db-9769-4dd51f331e4a
Stringoptional
Country Codecode

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.

Example
USA
Stringoptional
Archivearchive

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.

Default
20250801
Example
20251010131127
Numberoptional

See also

[edit]

[edit]