Jump to content

Template:Hockey New Zealand/doc

From Wikipedia, the free encyclopedia

Template:Hockey New Zealand displays an external link to a field hockey player's profile at hockeynz.altiusrt.com, an official website of Hockey New Zealand. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{Hockey New Zealand | ID }}
{{Hockey New Zealand | ID | NAME }}
Named parameters
{{Hockey New Zealand | id= ID }}
{{Hockey New Zealand | id= ID | name= NAME }}
Using Wikidata property
{{Hockey New Zealand}}
{{Hockey New Zealand | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
URL
https://hockeynz.altiusrt.com/people/348
Usage
* {{Hockey New Zealand | 348 | Aleesha Unka }}
Output

Named parameters

[edit]
URL
https://hockeynz.altiusrt.com/people/670
Usage
* {{Hockey New Zealand | id= 670 | name= Danielle Deans }}
Output

No parameters

[edit]
Usage
* {{Hockey New Zealand}}
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:Hockey New Zealand in articles based on its TemplateData.

TemplateData for Hockey New Zealand

This template displays an external link to a field hockey player's profile at hockeynz.altiusrt.com, an official website of Hockey New Zealand. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID number from the URL, such as 348 in https://hockeynz.altiusrt.com/people/348. This parameter is optional if Wikidata property P11004 exists, but required if not.

Default
Wikidata property P11004
Example
348
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}}
Example
Aleesha Unka
Stringoptional

See also

[edit]
[edit]