Template:AFL Tables coach/doc
![]() | This is a documentation subpage for Template:AFL Tables coach. It contains usage information, categories and other content that is not part of the original template page. |
![]() | This template uses Lua: |
Template:AFL Tables coach 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.
Contents
Usage
Unnamed parameters:
{{AFL Tables coach | ID }}
{{AFL Tables coach | ID | NAME }}
Named parameters (id, name):
{{AFL Tables coach | id= ID }}
{{AFL Tables coach | id= ID | name= NAME }}
Named parameters (ref, alt):
{{AFL Tables coach | ref= ID }}
{{AFL Tables coach | ref= ID | alt= NAME }}
Using Wikidata property P4885:
{{AFL Tables coach}}
{{AFL Tables coach | name= NAME }}
{{AFL Tables coach | alt= NAME }}
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.
Examples
Unnamed parameters
URL:
Usage:
{{AFL Tables coach | Chris_Fagan | Chris Fagan }}
Result:
- Chris Fagan's coaching statistics from AFL TablesScript error: No such module "EditAtWikidata".
Named parameters: id, name
URL:
Usage:
{{AFL Tables coach | id= Don_McKenzie1 | name= Don McKenzie }}
Result:
- Don McKenzie's coaching statistics from AFL TablesScript error: No such module "EditAtWikidata".
Named parameters: alt, ref
URL:
Usage:
{{AFL Tables coach | ref= Mark_Williams2 | alt= Mark Williams }}
Result:
- Mark Williams's coaching statistics from AFL TablesScript error: No such module "EditAtWikidata".
No parameters and Wikidata property not defined
Usage:
{{AFL Tables coach}}
Output:
- Template:PAGENAMEBASE's coaching statistics from AFL TablesScript error: No such module "EditAtWikidata".
TemplateData
TemplateData for AFL Tables coach
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
id | id ref 1 | This parameter should contain the ID portion of the URL. Example: Chris_Fagan is the ID portion of http://afltables.com/afl/stats/coaches/Chris_Fagan.html. It is optional if Wikidata property P4885 exists, but required if not.
| String | optional |
name | name alt 2 | This parameter may be used to specify 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)".
| String | optional |
See also
- {{AFL Tables}}
- {{AFL Tables umpire}}