Template:Racing-Reference track
{{{name}}} race results at Racing-Reference
This template uses Lua: |
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
- 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
Unnamed parameters
- Usage in Charlotte Motor Speedway
* {{Racing-Reference track | Charlotte_Motor_Speedway }}
- Output
-
- Charlotte Motor Speedway race results at Racing-Reference
Named parameters
- Usage in Circuit de Monaco
* {{Racing-Reference track | id= Circuit_de_Monaco }}
- Output
-
- Circuit de Monaco race results at Racing-Reference
No parameters
- Usage
* {{Racing-Reference track}}
- Output
-
- {{Racing-Reference track}} template missing ID and not present in Wikidata.
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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.
| String | optional |
Name | name 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).
| String | optional |