Template:All Blacks/doc

From blackwiki
< Template:All Blacks
Revision as of 01:27, 16 November 2014 by blackwiki>Zyxw (update documentation and examples, add TemplateData)
Jump to navigation Jump to search

This template generates an external link to a player's page at AllBlacks.com, the website of the New Zealand national rugby union team.

Usage

One parameter:

{{All Blacks | ID }}
{{All Blacks | id= ID }}

Two parameters:

{{All Blacks | ID | NAME }}
{{All Blacks | id= ID | name= NAME }}

Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for All Blacks

This template generates an external link to a player's page at AllBlacks.com, the website of the New Zealand national rugby union team.

Template parameters

ParameterDescriptionTypeStatus
ID1 id

ID number used in the URL.

Numberrequired
Name2 name

Name displayed in the link text. If not specified it defaults to the article's {{PAGENAME}}, without disambiguation.

Stringoptional

Examples

The following examples show a link to the page for Colin Meads:

http://stats.allblacks.com/asp/Profile.asp?ABID=601

One parameter

Usage:

{{All Blacks | 601 }}
{{All Blacks | id= 601 }}

Results:

Template:PAGENAMEBASE at AllBlacks.comScript error: No such module "EditAtWikidata".
Template:PAGENAMEBASE at AllBlacks.comScript error: No such module "EditAtWikidata".

Two parameters

Usage:

{{All Blacks | 601 | Colin Meads }}
{{All Blacks | id= 601 | name= Colin Meads }}

Results:

Colin Meads at AllBlacks.comScript error: No such module "EditAtWikidata".
Colin Meads at AllBlacks.comScript error: No such module "EditAtWikidata".