Template:NZOC profile/doc

It is intended for use in the external links section of an article.

Usage

 * Unnamed parameters


 * Named parameters


 * Using Wikidata property

Unnamed parameters

 * Usage


 * Output


 * Current URL
 * https://www.olympic.org.nz/athletes/valerie-adams/


 * Former URLs
 * https:// www.olympic.org.nz/index.php/athletes/valerie-adams/ (archive 2020-09-27)
 * http:// www.olympic.org.nz/nzolympic/athlete/valerie-adams/ (archive 2016-02-05)

Named parameters

 * Usage


 * Output


 * Current URL
 * https://www.olympic.org.nz/athletes/ian-ferguson/


 * Former URLs
 * https:// www.olympic.org.nz/index.php/athletes/ian-ferguson/ (archive 2017-05-20)
 * http:// www.olympic.org.nz/nzolympic/athlete/ian-ferguson/ (archive 2016-02-07)

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays an external link to an athlete's profile at the official website of the New Zealand Olympic Committee (NZOC). It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": ["1"], "description": "The ID portion of the URL, such as valerie-adams in https://www.olympic.org.nz/athletes/valerie-adams/. This parameter is optional if Wikidata property P4056 exists, but required if not.", "default": "Wikidata property P4056", "type": "string", "required": false },   "name": { "label": "name", "aliases": ["2"], "description": "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": "", "type": "string", "required": false } },  "paramOrder": [ "id", "name" ] }

Templates and modules used

 * Template:First word, implemented with Module:String
 * Module:EditAtWikidata
 * Module:WikidataCheck