Template:Cycling Archives
{{{name}}} at Cycling Archives
This template tracks the Wikidata property: Lua error in Module:Uses_Wikidata at line 13: attempt to index field 'wikibase' (a nil value). |
This template uses Lua: |
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
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 }}
Using Wikidata property P1409:
{{Cycling Archives}}
{{Cycling Archives | name= NAME }}
{{Cycling Archives | name= NAME | accessdate= DATE }}
Examples
Unnamed parameters
URL:
Usage:
{{Cycling Archives | 5689 | Cadel Evans }}
Output:
- Cadel Evans at Cycling Archives
Named parameters
URL:
Usage:
{{Cycling Archives |id= 13500 |name= Ellen van Dijk |accessdate= 30 March 2013 }}
Output:
- Ellen van Dijk at Cycling Archives. Retrieved 30 March 2013.
No parameters and Wikidata property not defined
Usage:
{{Cycling Archives}}
Output:
- Cycling Archives at Cycling Archives
Parameters
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
TemplateData for Cycling Archives
<templatedata> {
"description": "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.", "params": { "id": { "label": "ID", "aliases": ["1"], "description": "The \"id\" parameter (or unnamed parameter \"1\") should contain the ID portion of the URL. 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.", "type": "number", "required": false, "default": "Wikidata property P1409" }, "name": { "label": "Name", "aliases": ["2"], "description": "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)\".", "type": "string", "required": false, "default": "Cycling Archives" }, "accessdate": { "label": "Access date", "description": "The \"accessdate\" parameter may be used to specify the date when the Cycling Archives profile was last accessed. This parameter is optional.", "type": "date", "required": false } }, "paramOrder": [ "id", "name", "accessdate" ]
} </templatedata>
Tracking categories
- template with ID
- Category:Cycling Archives template with ID different from Wikidata (0)
- Category:Cycling Archives template with ID not in Wikidata (2)
- template missing ID
See also
- Cycling Archives templates
- Template:Cycling Archives race
- Template:Cycling Archives race report which uses Wikidata property (P2330)
- Other cyclist templates
- Template:ProCyclingStats which uses Wikidata property (P1663)
- Template:CQ Ranking which uses Wikidata properties (P1541) and (P2709)
The above documentation is transcluded from Template:Cycling Archives/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |