Jump to content

Template:New Zealand Sports Hall of Fame/doc

From Wikipedia, the free encyclopedia

Template:New Zealand Sports Hall of Fame displays an external link to an inductee's profile at the New Zealand Sports Hall of Fame. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{New Zealand Sports Hall of Fame | ID }}
{{New Zealand Sports Hall of Fame | ID | NAME }}
Named parameters
{{New Zealand Sports Hall of Fame | id= ID }}
{{New Zealand Sports Hall of Fame | id= ID | name= NAME }}
Using Wikidata property
{{New Zealand Sports Hall of Fame}}
{{New Zealand Sports Hall of Fame | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
Usage
* {{New Zealand Sports Hall of Fame | J/Linda-Jones | Linda Jones }}
Output
URLs
https://www.nzhalloffame.co.nz/Inductees/J/Linda-Jones
https://www.nzhalloffame.co.nz/New-Zealand-Sports-Hall-of-Fame-Inductees/J/Linda-Jones

Named parameters

[edit]
Usage
* {{New Zealand Sports Hall of Fame | id= A/All-Blacks-1905 | name= All Blacks, 1905 }}
Output
URLs
https://www.nzhalloffame.co.nz/Inductees/A/All-Blacks-1905
https://www.nzhalloffame.co.nz/New-Zealand-Sports-Hall-of-Fame-Inductees/A/All-Blacks-1905

No parameters and Wikidata property not defined

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

TemplateData for New Zealand Sports Hall of Fame

This template displays an external link to an inductee's profile at the New Zealand Sports Hall of Fame. It is intended for use in the external links section of an article. .

Template parameters

ParameterDescriptionTypeStatus
idid 1

The ID portion of the URL, such as J/Linda-Jones in https://www.nzhalloffame.co.nz/Inductees/J/Linda-Jones or https://www.nzhalloffame.co.nz/New-Zealand-Sports-Hall-of-Fame-Inductees/J/Linda-Jones. This parameter is optional if Wikidata property P4418 exists, but required if not.

Default
Wikidata property P4418
Stringoptional
namename 2

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 "(athlete)".

Default
{{PAGENAMEBASE}}
Stringoptional
[edit]