Template:ProCyclingStats team/doc

From Wikipedia, the free encyclopedia

Template:ProCyclingStats team displays an external link to a cycling team's page at the ProCyclingStats web site (procyclingstats.com). It is intended for use in the external links section of an article.

Usage[edit]

Unnamed parameters:

{{ProCyclingStats team | ID }}
{{ProCyclingStats team | ID | NAME }}
{{ProCyclingStats team | ID | NAME | accessdate= DATE }}

Named parameters:

{{ProCyclingStats team | id= ID }}
{{ProCyclingStats team | id= ID | name= NAME }}
{{ProCyclingStats team | id= ID | accessdate= DATE }}
{{ProCyclingStats team | id= ID | name= NAME | accessdate= DATE }}

Using Wikidata property ProCyclingStats team ID (P2328):

{{ProCyclingStats team}}
{{ProCyclingStats team | name= NAME }}
{{ProCyclingStats team | accessdate= DATE }}
{{ProCyclingStats team | name= NAME | accessdate= DATE }}

Examples[edit]

Unnamed parameters[edit]

Usage:

{{ProCyclingStats team | ag2r-la-mondiale-2015 | Ag2r-La Mondiale (2015) }}
{{ProCyclingStats team |1= 1060&season=2015 |2= Ag2r-La Mondiale (2015) }}

Output:

Ag2r-La Mondiale (2015) at ProCyclingStats
Ag2r-La Mondiale (2015) at ProCyclingStats

Current URLs:

https://www.procyclingstats.com/team/ag2r-la-mondiale-2015
https://www.procyclingstats.com/team/1060&season=2015
https://www.procyclingstats.com/team.php?id=ag2r-la-mondiale-2015
https://www.procyclingstats.com/team.php?id=1060&season=2015

Former URL:

https://www.procyclingstats.com/team/Ag2r_La_Mondiale_2015

Named parameters[edit]

Usage:

{{ProCyclingStats team |id= topsport-vlaanderen-baloise-2014 |name= Topsport Vlaanderen-Baloise (2014) |accessdate= 29 June 2015 }}
{{ProCyclingStats team |id= 1453&season=2014 |name= Topsport Vlaanderen-Baloise (2014) |accessdate= 29 June 2015 }}

Output:

Topsport Vlaanderen-Baloise (2014) at ProCyclingStats. Retrieved 29 June 2015.
Topsport Vlaanderen-Baloise (2014) at ProCyclingStats. Retrieved 29 June 2015.

Current URL:

https://www.procyclingstats.com/team/topsport-vlaanderen-baloise-2014
https://www.procyclingstats.com/team/1453&season=2014
https://www.procyclingstats.com/team.php?id=topsport-vlaanderen-baloise-2014
https://www.procyclingstats.com/team.php?id=1453&season=2014

Former URL:

https://www.procyclingstats.com/team/Topsport_Vlaanderen_Baloise_2014

No parameters and Wikidata property not defined[edit]

Usage:

{{ProCyclingStats team}}

Output:

{{ProCyclingStats team}} template missing ID and not present in Wikidata.

Parameters[edit]

The id parameter (or unnamed parameter 1) should contain the ID portion the URL for the cycling team's page at the ProCyclingStats web site. Examples: ag2r-la-mondiale-2015 is the ID portion of https://www.procyclingstats.com/team/ag2r-la-mondiale-2015 and 1060&season=2015 is the ID portion of https://www.procyclingstats.com/team/1060&season=2015. This parameter is optional if Wikidata property P2328 exists, but required if not.

The name parameter (or unnamed parameter 2) may be used to specify the link text, which should be the name of the team. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(cycling team)".

The accessdate parameter may be used to specify the date when the ProCyclingStats profile was last accessed. This parameter is optional.

TemplateData[edit]

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

TemplateData for ProCyclingStats team

This template displays an external link to a cycling team's page at the ProCyclingStats web site (procyclingstats.com). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Examples: ag2r-la-mondiale-2015 is the ID portion of https://www.procyclingstats.com/team/ag2r-la-mondiale-2015 and 1060&season=2015 is the ID portion of https://www.procyclingstats.com/team/1060&season=2015. This parameter is optional if Wikidata property P2328 exists, but required if not.

Default
Wikidata property P2328
Stringoptional
Namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the team.This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(cycling team)".

Default
{{PAGENAMEBASE}}
Stringoptional
Access dateaccessdate

The "accessdate" parameter may be used to specify the date when the ProCyclingStats profile was last accessed. This parameter is optional.

Default
Dateoptional

Tracking categories[edit]

template with ID
template missing ID

See also[edit]