Template:Hockey Australia/doc
This is a documentation subpage for Template:Hockey Australia. It may contain usage information, categories and other content that is not part of the original template page. |
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]- Usage
* {{Hockey Australia | jane-claxton | Jane Claxton }}
* {{Hockey Australia | 956 | Jane Claxton }}
* {{Hockey Australia | jane-claxton | Jane Claxton | id2= 956 }}
- Output
Named parameters
[edit]- 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
-
- {{Hockey Australia}} template missing ID.
TemplateData
[edit]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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ID | id 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. | String | required |
name | name 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)".
| String | optional |
ID 2 | id2 | 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. | Number | optional |
Tracking categories
[edit]- Category:Hockey Australia template using non-numeric ID (51) – players with current page at Hockey.org.au
- Category:Hockey Australia template using numeric ID (88) – players without current page at Hockey.org.au
See also
[edit]- {{International Hockey Federation}}
- {{European Hockey Federation}}
- {{Field Hockey Canada}}
- {{England Hockey}}
- {{Hockey New Zealand}}
- {{South African Hockey Association}}
External links
[edit]- Kookaburras (men) at Hockey.org.au
- Hockeyroos (women) at Hockey.org.au
- HockeyAustralia.altiusrt.com people search page