Template:Cycling Archives race/doc
| This is a documentation subpage for Template:Cycling Archives race. It contains usage information, categories and other content that is not part of the original template page. |
Template:Cycling Archives race displays an external link to a cycling race page at the Cycling Archives website (CyclingArchives.com). It is intended for use in the external links section of an article.
This template is used for articles such as Tour de France or Amstel Gold Race; see Template:Cycling Archives race report for articles such as 1989 Tour de France or 1997 Amstel Gold Race.
Contents
Usage
Unnamed parameters:
{{Cycling Archives race | ID }}{{Cycling Archives race | ID | NAME }}
Named parameters:
{{Cycling Archives race | id= ID }}{{Cycling Archives race | id= ID | name= NAME }}{{Cycling Archives race | id= ID | name= NAME | accessdate= DATE }}
Examples
Unnamed parameters
URL:
Usage:
{{Cycling Archives race | 846 | Tour de France }}
Output:
- Tour de France palmares at Cycling Archives
Named parameters
URL:
Usage:
{{Cycling Archives race | id= 9 | name= Amstel Gold Race | accessdate= 30 March 2013 }}
Output:
- Amstel Gold Race palmares at Cycling Archives. Retrieved 30 March 2013.
No parameters
Usage:
{{Cycling Archives race}}
Output:
- {{Cycling Archives race}} template missing ID.
TemplateData
TemplateData for Cycling Archives race
This template displays an external link to a cycling race page at the Cycling Archives website (CyclingArchives.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: 846 is the ID portion of http://www.cyclingarchives.com/wedstrijdfiche.php?wedstrijdid=846. | Number | required |
| 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 race. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(cycling)".
| String | optional |
| Access date | accessdate | The "accessdate" parameter may be used to specify the date when the Cycling Archives page was last accessed. This parameter is optional. | Date | optional |
See also
- Cycling Archives templates
- Template:Cycling Archives which uses Wikidata property Template:Wpl
- Template:Cycling Archives race report which uses Wikidata property Template:Wpl
- Other cycling race templates
- Template:ProCyclingStats race which uses Wikidata property Template:Wpl