Template:AFL Tables coach/doc

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

Usage

 * Unnamed parameters


 * Named parameters (id, name)


 * Named parameters (ref, alt)


 * Using Wikidata property

Parameters
The first parameter ("id" or "ref") is the exact folder and page name used in the URL at the AFL Tables website. This is in the form of FirstName_LastName, such as Chris_Fagan for http://afltables.com/afl/stats/coaches/Chris_Fagan.html. Where a coach has the same name as another coach or player, the usual system is to add a number, such as Don_McKenzie1.

The second parameter ("name" or "alt") is an optional alternative parameter to specify a coach's name. If not given it defaults to the Wikipedia article name, without any disambiguation such as (footballer). This parameter is only needed if you want to display text other than the article name.

Unnamed parameters

 * URL


 * Usage


 * Output

Named parameters id, name

 * URL


 * Usage


 * Output
 * (same as above)
 * (same as above)

Named parameters alt, ref

 * URL


 * Usage


 * Output

No parameters and Wikidata property not defined

 * Usage


 * Output

TemplateData
{ "description": "This template displays a uniformly formatted external link to a Victorian Football League/Australian Football League (VFL/AFL) coach's profile page on the AFL Tables website. It is intended for use in the external links section of an article.", "params": { "id": { "label": "id", "aliases": ["ref", "1"], "description": "The ID portion of the URL, such as Chris_Fagan in http://afltables.com/afl/stats/coaches/Chris_Fagan.html. It is optional if Wikidata property P4885 exists, but required if not.", "default": "Wikidata property P4885", "type": "string", "required": false },   "name": { "label": "name", "aliases": ["alt", "2"], "description": "The link text, which should be the name of the coach. It is optional and defaults to the Wikipedia article name, without any disambiguation such as \"(footballer)\".", "default": "", "type": "string", "required": false } },  "paramOrder": [ "id", "name" ] }