This is a documentation subpage for Template:ITRA. It may contain usage information, categories and other content that is not part of the original template page. |
- 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
- https://itra.run/RunnerSpace/117050 (used in template)
- https://itra.run/RunnerSpace/CHAVEROT.Caroline/117050 (used at website)
Named parameters
edit- Usage
* {{ITRA | id= 184572 | name= Rob Krar }}
- URLs
- https://itra.run/RunnerSpace/184572 (used in template)
- https://itra.run/RunnerSpace/KRAR.Rob/184572 (used at website)
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 | |
---|---|---|---|---|
id | id 1 | The ID number in the URL, such as 117050 in https://itra.run/RunnerSpace/CHAVEROT.Caroline/117050 or https://itra.run/RunnerSpace/117050. This parameter is optional if Wikidata property P3584 exists, but required if not.
| Number | optional |
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
External links
edit