{{{name}}} at ITRA
- ITRA runner ID (P3584) (see uses)
This template uses Lua: |
Template:ITRA displays an external link to a runner's profile at the official website of the International Trail Running Association (ITRA), the governing body for trail running. It is intended for use in the external links section of an article.
Usage
edit- Unnamed parameters
{{ITRA | ID }}
{{ITRA | ID | NAME }}
- Named parameters
{{ITRA | id= ID }}
{{ITRA | id= ID | name= NAME }}
- Using Wikidata property
{{ITRA}}
{{ITRA | name= NAME }}
Examples
editUnnamed parameters
edit- Usage
* {{ITRA | 117050 | Caroline Chaverot }}
- Output
- URLs using ITRA ID number
- https://itra.run/RunnerSpace/117050 (used in template)
- https://itra.run/RunnerSpace/CHAVEROT.Caroline/117050 (used in links at website)
- Both URLs above redirect here
- https://itra.run/api/RunnerSpace/GetRunnerSpace?memberString=jCCym%2BlkUHpTAXFTZqkM7Q%3D%3D
Named parameters
edit- Usage
* {{ITRA | id= 184572 | name= Rob Krar }}
- URLs using ITRA ID number
- https://itra.run/RunnerSpace/184572 (used in template)
- https://itra.run/RunnerSpace/KRAR.Rob/184572 (used in links at website)
- Both URLs above redirect here
- https://itra.run/api/RunnerSpace/GetRunnerSpace?memberString=XzOWR1EV9H2feN4GAMH2zA%3D%3D
No parameters and Wikidata property not defined
edit- Usage
* {{ITRA}}
- Output
-
- {{ITRA}} template missing ID and not present in Wikidata.
TemplateData
editTemplateData for ITRA
This template displays an external link to a runner's profile at the official website of the International Trail Running Association (ITRA), the governing body for trail running. It is intended for use in the external links section of an article.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Runner's ITRA ID Number | id 1 | The runner's ITRA ID number, such as 117050. This is displayed on the runner's ITRA profile page and it may also be found in URLs, such as https://itra.run/RunnerSpace/CHAVEROT.Caroline/117050. This parameter is optional if Wikidata property P3584 exists, but required if not.
| Number | optional |
Runner's Name | name 2 | The link text, which should be the name of the runner. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(runner)".
| String | optional |
Templates and modules used
edit- Template:First word, implemented with Module:String
- Module:EditAtWikidata