Jump to content

Template:Hockey Australia/doc

From Wikipedia, the free encyclopedia

Template:Hockey Australia displays an external link to an Australian field hockey player's profile at the Hockey Australia websites hockey.org.au and/or hockeyaustralia.altiusrt.com. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{Hockey Australia | ID }}
{{Hockey Australia | ID | id2= ID2 }}
{{Hockey Australia | ID | NAME }}
{{Hockey Australia | ID | NAME | id2= ID2 }}
Named parameters
{{Hockey Australia | id= ID }}
{{Hockey Australia | id= ID | id2= ID2 }}
{{Hockey Australia | id= ID | name= NAME }}
{{Hockey Australia | id= ID | name= NAME | id2= ID2 }}

Examples

[edit]

Unnamed parameters

[edit]
URLs
https://www.hockey.org.au/jane-claxton/
https://hockeyaustralia.altiusrt.com/people/956
Usage
* {{Hockey Australia | jane-claxton | Jane Claxton }}
* {{Hockey Australia | 956 | Jane Claxton }}
* {{Hockey Australia | jane-claxton | Jane Claxton | id2= 956 }}
Output

Named parameters

[edit]
URLs
https://www.hockey.org.au/andrew-charter/
https://hockeyaustralia.altiusrt.com/people/734
Usage
* {{Hockey Australia | id= andrew-charter | name= Andrew Charter }}
* {{Hockey Australia | id= 734 | name= Andrew Charter }}
* {{Hockey Australia | id= andrew-charter | name= Andrew Charter | id2= 734 }}
Output

No parameters

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

TemplateData for Hockey Australia

This template displays an external link to an Australian field hockey player's profile at the Hockey Australia websites hockey.org.au and/or hockeyaustralia.altiusrt.com. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The ID from the hockey.org.au or hockeyaustralia.altiusrt.com URL. Examples: jane-claxton in https://www.hockey.org.au/jane-claxton/ or 956 in https://hockeyaustralia.altiusrt.com/people/956.

Stringrequired
namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify 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
ID 2id2

The ID number from the hockeyaustralia.altiusrt.com URL. Used to display 2nd link as shown in examples Example: 956 in https://hockeyaustralia.altiusrt.com/people/956.

Numberoptional

Tracking categories

[edit]

See also

[edit]
[edit]