Template:ProCyclingStats team/doc
This is a documentation subpage for Template:ProCyclingStats team. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
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:
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:
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]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| String | optional |
Name | name 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)".
| String | optional |
Access date | accessdate | The "accessdate" parameter may be used to specify the date when the ProCyclingStats profile was last accessed. This parameter is optional.
| Date | optional |
Tracking categories
[edit]- template with ID
- Category:ProCyclingStats team template with ID different from Wikidata (35)
- Category:ProCyclingStats team template with ID not in Wikidata (29)
- template missing ID
See also
[edit]- Template:ProCyclingStats which uses Wikidata property ProCyclingStats cyclist ID (P1663)
- Template:ProCyclingStats race which uses Wikidata property ProCyclingStats race ID (P2327)