Jump to content

Template:International Hockey Federation/doc

From Wikipedia, the free encyclopedia

Template:International Hockey Federation displays an external link to a field hockey player's profile at tms.fih.ch, an official website of the International Hockey Federation (FIH: Fédération Internationale de Hockey). It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{International Hockey Federation | ID }}
{{International Hockey Federation | ID | NAME }}
Named parameters
{{International Hockey Federation | id= ID }}
{{International Hockey Federation | id= ID | name= NAME }}
; Using Wikidata property
{{International Hockey Federation}}
{{International Hockey Federation | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
URL
https://tms.fih.ch/people/348
Usage
* {{International Hockey Federation | 348 | Luciana Aymar }}
Output

Named parameters

[edit]
URL
https://tms.fih.ch/people/670
Usage
* {{International Hockey Federation | id= 670 | name= Simon Child }}
Output

No parameters and Wikidata property not defined

[edit]
Usage
* {{International Hockey Federation}}
Output

TemplateData

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

TemplateData for International Hockey Federation

This template displays an external link to a field hockey player's profile at tms.fih.ch, an official website of the International Hockey Federation (FIH: Fédération Internationale de Hockey). 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 348 in https://tms.fih.ch/people/348. This parameter is optional if Wikidata property P3742 exists, but required if not.

Default
Wikidata property P3742
Numberoptional
namename 2

The link text, which should be the name of the field hockey player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(field hockey)".

Default
{{PAGENAMEBASE}}
Stringoptional

Tracking categories

[edit]
template with ID
template missing ID

See also

[edit]
[edit]