Jump to content

Template:ITRA/doc

From Wikipedia, the free encyclopedia

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[edit]

Unnamed 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 }}
Output
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[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:ITRA in articles based on its TemplateData.

TemplateData 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.

Template parameters

ParameterDescriptionTypeStatus
idid 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.

Default
Wikidata property P3584
Numberoptional
namename 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)".

Default
{{PAGENAMEBASE}}
Stringoptional

Templates and modules used[edit]

External links[edit]