Jump to content

Template:All Blacks/doc

From Wikipedia, the free encyclopedia

Template:All Blacks displays an external link to a rugby union player's page at AllBlacks.com, the website of the New Zealand national rugby union team. It is intended for use in the external links section of an article.

Usage

[edit]
Unnamed parameters
{{All Blacks | ID }}
{{All Blacks | ID | NAME }}
Named parameters
{{All Blacks | id= ID }}
{{All Blacks | id= ID | name= NAME }}
Using Wikidata property All Blacks player ID (P3645)
{{All Blacks}}
{{All Blacks | name= NAME }}

Examples

[edit]

Unnamed parameters

[edit]
URL
http://stats.allblacks.com/asp/Profile.asp?ABID=601
Usage
* {{All Blacks | 601 | Colin Meads }}
Output

Named parameters

[edit]
URL
http://stats.allblacks.com/asp/Profile.asp?ABID=506
Usage
* {{All Blacks |id= 506 |name= Jonah Lomu }}
Output

No parameters and Wikidata property not defined

[edit]
Usage
* {{All Blacks}}
Output
  • {{All Blacks}} template missing ID and not present in Wikidata.

TemplateData

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

TemplateData for All Blacks

This template displays an external link to a rugby union player's page at AllBlacks.com, the website of the New Zealand national rugby union team. It is intended for use in the external links section of an article.

Template parameters

ParameterDescriptionTypeStatus
IDid 1

The "id" parameter (or unnamed parameter "1") should contain the ID portion of the URL. Example: 601 is the ID portion of http://stats.allblacks.com/asp/Profile.asp?ABID=601. This parameter is optional if Wikidata property P3645 exists, but required if not.

Default
Wikidata property P3645
Numberoptional
Namename 2

The "name" parameter (or unnamed parameter "2") may be used to specify the link text, which should be the name of the rugby union player. This parameter is optional; it defaults to the Wikipedia article name, without any disambiguation such as "(rugby union)"

Default
{{PAGENAMEBASE}}
Stringoptional