Jump to content

Template:Racing-Reference track/doc

From Wikipedia, the free encyclopedia

Template:Racing-Reference track displays an external link to a race track's profile at Racing-Reference.info. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{Racing-Reference track | ID }}
{{Racing-Reference track | ID | NAME }}
Named parameters
{{Racing-Reference track | id= ID }}
{{Racing-Reference track | id= ID | name= NAME }}
Using Wikidata property
{{Racing-Reference track}}
{{Racing-Reference track | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage in Charlotte Motor Speedway
* {{Racing-Reference track | Charlotte_Motor_Speedway }}
Output
URL
https://www.racing-reference.info/tracks/Charlotte_Motor_Speedway/

Named parameters

[edit]
Usage in Circuit de Monaco
* {{Racing-Reference track | id= Circuit_de_Monaco }}
Output
URL
https://www.racing-reference.info/tracks/Circuit_de_Monaco/

No parameters

[edit]
Usage
* {{Racing-Reference track}}
Output

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Racing-Reference track in articles based on its TemplateData.

TemplateData for Racing-Reference track

This template displays an external link to a race track's profile at Racing-Reference.info. 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 Charlotte_Motor_Speedway in https://www.racing-reference.info/tracks/Charlotte_Motor_Speedway/. This parameter is optional if Wikidata property P6807 exists, but required if not.

Default
Wikidata property P6807
Stringoptional
Namename 2

The link text, which should be the name of the race track. This parameter is optional; it defaults to the Wikipedia article name (without disambiguation).

Default
{{PAGENAMEBASE}}
Stringoptional

See also

[edit]
[edit]