Jump to content

Template:Tour de France results/doc

From Wikipedia, the free encyclopedia

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:

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:

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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Tour de France results in articles based on its TemplateData.

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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Numberrequired
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional
archivearchive

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.

Numberoptional
[edit]