Template:CycleBase/doc
This is a documentation subpage for Template:CycleBase. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses Lua: |
Template:CycleBase displays an external link to a cyclist's page at the CycleBase.nl website. It is intended for use in the external links section of an article.
Usage
[edit]- Unnamed parameters
{{CycleBase | ID }}
{{CycleBase | ID | NAME }}
- Named parameters
{{CycleBase | id= ID }}
{{CycleBase | id= ID | name= NAME }}
- Using Wikidata property
{{CycleBase}}
{{CycleBase | name= NAME }}
Examples
[edit]Unnamed parameters
[edit]- Usage
* {{CycleBase | 35840 | Anna van der Breggen }}
- Output
-
- Anna van der Breggen at CycleBase
- Former URLs
- http://www.cyclebase.nl/?lang=en&page=renner&id=35840
- http://www.cyclebase.nl/?lang=en&news=en&pc=normal&page=renner&id=35840
- http://www.cyclebase.nl/index.php?uid=0&sid=0&lang=nl&news=nl&pc=normal&page=renner&db=m&id=35840
Named parameters
[edit]- Usage
* {{CycleBase | id= 16289 | name= Alejandro Valverde Belmonte }}
- Output
-
- Alejandro Valverde Belmonte at CycleBase
- Former URLs
- http://www.cyclebase.nl/?lang=en&page=renner&id=16289
- http://www.cyclebase.nl/?lang=en&news=en&pc=normal&page=renner&id=16289
- http://www.cyclebase.nl/index.php?uid=0&sid=0&lang=nl&news=nl&pc=normal&page=renner&db=m&id=16289
No parameters and Wikidata property not defined
[edit]- Usage
* {{CycleBase}}
- Output
-
- {{CycleBase}} template missing ID and not present in Wikidata.
TemplateData
[edit]TemplateData for CycleBase
This template displays an external link to a cyclist's page at the CycleBase.nl website. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 1 | The ID portion of the URL, such as 35840 in http://www.cyclebase.nl/?lang=en&page=renner&id=35840 or http://www.cyclebase.nl/?lang=en&news=en&pc=normal&page=renner&id=35840. This parameter is optional if Wikidata property P4508 exists, but required if not.
| Number | optional |
Name | name 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)".
| String | optional |
Tracking categories
[edit]- template with ID
- Category:CycleBase template with ID different from Wikidata (0)
- Category:CycleBase template with ID not in Wikidata (0)
- template missing ID
See also
[edit]External links
[edit]