Jump to content

Template:Cycling Archives/doc

From Wikipedia, the free encyclopedia

Template:Cycling Archives displays an external link to a cyclist's page at the Cycling Archives website (CyclingArchives.com). It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{Cycling Archives | ID }}
{{Cycling Archives | ID | NAME }}
Named parameters
{{Cycling Archives | id= ID }}
{{Cycling Archives | id= ID | name= NAME }}
{{Cycling Archives | id= ID | name= NAME | accessdate= DATE }}
{{Cycling Archives | id= ID | name= NAME | archive= NUMBER }}
Using Wikidata property
{{Cycling Archives}}
{{Cycling Archives | name= NAME }}
{{Cycling Archives | name= NAME | accessdate= DATE }}
{{Cycling Archives | name= NAME | archive= NUMBER }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{Cycling Archives | 5689 | Cadel Evans }}
* {{Cycling Archives | 5689 | Cadel Evans |archive= 20240519142806 }}
Output
URLs
https://web.archive.org/web/2023/http://www.cyclingarchives.com/coureurfiche.php?coureurid=5689
https://web.archive.org/web/20240519142806/http://www.cyclingarchives.com/coureurfiche.php?coureurid=5689

Named parameters

[edit]
Usage
* {{Cycling Archives |id= 13500 |name= Ellen van Dijk |accessdate= 9 June 2024 }}
* {{Cycling Archives |id= 13500 |name= Ellen van Dijk |accessdate= 9 June 2024 |archive= 20240608231148 }}
Output
URLs
https://web.archive.org/web/2023/http://www.cyclingarchives.com/coureurfiche.php?coureurid=13500
https://web.archive.org/web/20240608231148/http://www.cyclingarchives.com/coureurfiche.php?coureurid=13500

No parameters and Wikidata property not defined

[edit]
Usage
* {{Cycling Archives}}
Output

Parameters

[edit]

The id parameter (or unnamed parameter 1) should contain the ID portion the URL for the cyclist's page at the Cycling Archives web site. Examples: 5689 is the ID portion of http://www.cyclingarchives.com/coureurfiche.php?coureurid=5689. This parameter is optional if Wikidata property P1409 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 cyclist. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(cyclist)".

The accessdate parameter may be used to specify the date when the Cycling Archives 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:Cycling Archives in articles based on its TemplateData.

TemplateData for Cycling Archives

This template displays an external link to a cyclist's page at the Cycling Archives website (CyclingArchives.com). It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number in the URL, such as 5689 in http://www.cyclingarchives.com/coureurfiche.php?coureurid=5689. This parameter is optional if Wikidata property P1409 exists, but required if not.

Default
Wikidata property P1409
Numberoptional
Namename 2

The link text, which should be the name of the cyclist. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(cyclist)".

Default
{{PAGENAMEBASE}}
Stringoptional
Access Dateaccessdate

The date when the Cycling Archives profile was last accessed. This parameter is optional.

Dateoptional
Internet Archive date/timearchive

A number indicating the date and time of an archive at the Internet Archive website, such as 20240608231148 in https://web.archive.org/web/20240608231148/http://www.cyclingarchives.com/coureurfiche.php?coureurid=13500 (2024-06-08 23:11:48 archive of http://www.cyclingarchives.com/coureurfiche.php?coureurid=13500).

Default
2023
Numberoptional

Tracking categories

[edit]
template with ID
template missing ID

See also

[edit]
Cycling Archives external link templates and Wikidata properties
ProCyclingStats external link templates and Wikidata properties
CQ Ranking external link templates and Wikidata properties
CycleBase external link templates and Wikidata properties