Jump to content

Template:CycleBase/doc

From Wikipedia, the free encyclopedia

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
URL
https://www.cyclebase.nl/cb-content/index.php?lang=en&page=renner&id=35840
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
URL
https://www.cyclebase.nl/cb-content/index.php?lang=en&page=renner&id=16289
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]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:CycleBase in articles based on its TemplateData.

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.

Template parameters

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

Default
Wikidata property P4508
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

Tracking categories

[edit]
template with ID
template missing ID

See also

[edit]
[edit]