Jump to content

Template:IOF/doc

From Wikipedia, the free encyclopedia

Template:IOF displays an external link to an athlete's page at the International Orienteering Federation (IOF) website. It is intended for use in the external links section of an article.

Usage[edit]

Unnamed parameters
{{IOF | ID }}
{{IOF | ID | NAME }}
Named parameters
{{IOF | id= ID }}
{{IOF | id= ID | name= NAME }}
Using Wikidata property P3672
{{IOF}}
{{IOF | name= NAME }}

Instructions[edit]

  1. Search for an athlete at the IOF Eventor website.
  2. Click on the correct link to go to the athlete's page
  3. The page URL should look like
https://eventor.orienteering.org/Athletes/Details/nnnnn
where "nnnnn" indicates the ID number for a specific athlete.

Examples[edit]

Unnamed parameters[edit]

URL
https://eventor.orienteering.org/Athletes/Details/65
Usage
* {{IOF | 65 | Tove Alexandersson }}
Output

Named parameters[edit]

URL
https://eventor.orienteering.org/Athletes/Details/10849
Usage
* {{IOF | id= 10849 | name= Daniel Hubmann }}
Output

No parameters and Wikidata property not defined[edit]

Usage
* {{IOF}}
Output
  • {{IOF}} 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:IOF in articles based on its TemplateData.

TemplateData for IOF

This template displays an external link to an athlete's page at the International Orienteering Federation (IOF) website. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
idid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 65 is the ID portion of https://eventor.orienteering.org/Athletes/Details/65. This parameter is optional if Wikidata property P3672 exists, but required if not.

Default
Wikidata property P3672
Numberoptional
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the athlete. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(orienteer)".

Default
{{PAGENAMEBASE}}
Stringoptional

External links[edit]