Template:Tour de France results/doc
This is a documentation subpage for Template:Tour de France results. It may contain usage information, categories and other content that is not part of the original template page. |
Template:Tour de France results displays an external link to a cyclist's Tour de France results at LeTour.fr, the official website. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{Tour de France results | ID }}
{{Tour de France results | ID | NAME }}
- Named parameters
{{Tour de France results | id= ID }}
{{Tour de France results | id= ID | name= NAME }}
{{Tour de France results | id= ID | archive= NUMBER }}
{{Tour de France results | id= ID | name= NAME | archive= NUMBER }}
Examples
[edit]Unnamed parameters
[edit]Usage:
* {{Tour de France results | 4369 | Bernard Hinault }}
Output:
- Bernard Hinault – official Tour de France results
Current URLs:
- (English) https://histo.letour.fr/HISTO/us/TDF/coureur/4369.html
- (French) https://histo.letour.fr/HISTO/fr/TDF/coureur/4369.html
Former URLs:
- (English) http://www.letour.fr/HISTO/TDF/riders/us/4369.html (archive)
- (French) http://www.letour.fr/HISTO/TDF/riders/fr/4369.html (archive)
Named parameters
[edit]Usage:
* {{Tour de France results | id= 4004 | name= Eddy Merckx }}
* {{Tour de France results | id= 4004 | name= Eddy Merckx | archive= 20080730060656 }}
Output:
- Eddy Merckx – official Tour de France results
- Eddy Merckx – official Tour de France results (archive)
Current URLs:
- (English) https://histo.letour.fr/HISTO/us/TDF/coureur/4004.html
- (French) https://histo.letour.fr/HISTO/fr/TDF/coureur/4004.html
Former URLs:
- (English) http://www.letour.fr/HISTO/TDF/riders/us/4004.html (archive)
- (French) http://www.letour.fr/HISTO/TDF/riders/fr/4004.html (archive)
TemplateData
[edit]TemplateData for Tour de France results
This template displays an external link to a cyclist's Tour de France results at LeTour.fr, the official website. 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. Example: 4004 is the ID portion of https://histo.letour.fr/HISTO/us/TDF/coureur/4004.html. | 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 athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(cyclist)".
| String | optional |
archive | archive | Number representing the date/time in an Internet Archive URL, such as 20080730060656 in https://web.archive.org/web/20080730060656/http://www.letour.fr/HISTO/TDF/riders/us/4004.html. | Number | optional |
External links
[edit]