Template:Racing-Reference track/doc
Appearance
This is a documentation subpage for Template:Racing-Reference track. It may contain usage information, categories and other content that is not part of the original template page. |
This template uses the Wikidata property:
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
[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
-
- Charlotte Motor Speedway race results at Racing-Reference
Named parameters
[edit]- Usage in Circuit de Monaco
* {{Racing-Reference track | id= Circuit_de_Monaco }}
- Output
-
- Circuit de Monaco race results at Racing-Reference
No parameters
[edit]- Usage
* {{Racing-Reference track}}
- Output
-
- {{Racing-Reference track}} 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: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.
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 |
See also
[edit]External links
[edit]