Template:AFL Tables coach
{{{name}}}'s coaching statistics from AFL Tables
![](http://upload.wikimedia.org/wikipedia/commons/thumb/f/ff/Wikidata-logo.svg/40px-Wikidata-logo.svg.png)
![]() | 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.
Usage
[edit]- 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
{{AFL Tables coach}}
{{AFL Tables coach | name= NAME }}
{{AFL Tables coach | alt= NAME }}
Parameters
[edit]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
[edit]Unnamed parameters
[edit]- Usage
{{AFL Tables coach | Chris_Fagan | Chris Fagan }}
- Output
- Chris Fagan's coaching statistics from AFL Tables
Named parameters id, name
[edit]- Usage
{{AFL Tables coach | id= Don_McKenzie1 | name= Don McKenzie }}
{{AFL Tables coach | id= Don_McKenzie1.html | name= Don McKenzie }}
- Output
- Don McKenzie's coaching statistics from AFL Tables
- Don McKenzie's coaching statistics from AFL Tables (same as above)
Named parameters alt, ref
[edit]- Usage
{{AFL Tables coach | ref= Mark_Williams2 | alt= Mark Williams }}
- Output
- Mark Williams's coaching statistics from AFL Tables
No parameters and Wikidata property not defined
[edit]- Usage
{{AFL Tables coach}}
- Output
- {{AFL Tables coach}} template missing ID and not present in Wikidata.
TemplateData
[edit]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 | 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.
| String | optional |
name | name alt 2 | 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
[edit]- {{AFL Tables}}
- {{AFL Tables umpire}}