Template:AFL player/doc

From blackwiki
< Template:AFL player
Revision as of 15:51, 17 April 2017 by blackwiki>Zyxw (create documentation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:AFL player displays an external link to an Australian rules football player's page at the website for a club in the Australian Football League (AFL).

Usage

{{AFL player | Club= }}
{{AFL player | Club= | link= }}
{{AFL player | Club= | alt= }}
{{AFL player | Club= | link= | alt= }}

Parameters

Club (required)

|Club= Name Website Template
ADE Adelaide Football Club www.afc.com.au {{Adelplayer}}
BRI Brisbane Lions www.lions.com.au {{Brisplayer}}
CAR Carlton Football Club www.carltonfc.com.au {{Carlplayer}}
COL Collingwood Football Club www.collingwoodfc.com.au {{Collplayer}}
ESS Essendon Football Club www.essendonfc.com.au {{Essplayer}}
FRE Fremantle Football Club www.fremantlefc.com.au {{Fremplayer}}
GC Gold Coast Football Club www.goldcoastfc.com.au {{GCplayer}}
GEE Geelong Football Club www.geelongcats.com.au {{Geelplayer}}
GWS Greater Western Sydney Giants www.gwsgiants.com.au {{GWSplayer}}
HAW Hawthorn Football Club www.hawthornfc.com.au {{Hawplayer}}
MEL Melbourne Football Club www.melbournefc.com.au {{Melbplayer}}
NM North Melbourne Football Club www.nmfc.com.au {{NMplayer}}
POR Port Adelaide Football Club www.portadelaidefc.com.au {{Portplayer}}
RIC Richmond Football Club www.richmondfc.com.au {{Richplayer}}
STK St Kilda Football Club www.saints.com.au {{Stkplayer}}
SYD Sydney Swans www.sydneyswans.com.au {{Sydplayer}}
WBD Western Bulldogs www.westernbulldogs.com.au {{Wbplayer}}
WCE West Coast Eagles www.westcoasteagles.com.au {{Wceplayer}}

link (optional)

This parameter may be used specify the portion of the URL specific to an individual player, such as tom-jonas in http://www.portadelaidefc.com.au/player-profile/tom-jonas. It defaults to the Wikipedia article name, without any disambiguation such as "(footballer)", converted to lower case and with a hyphen added after the first word. If used in an article named "Tom Jonas (footballer)", the default would be tom-jonas).

alt (optional)

This parameter may be used to specify the anchor text used for the external link, which should be the name of the player. It defaults to the Wikipedia article name, without any disambiguation such as "(footballer)". If used in an article named "Tom Jonas (footballer)", the default would be Tom Jonas).

Example

URL:

http://www.portadelaidefc.com.au/player-profile/tom-jonas

Usage:

{{AFL player | Club = POR | link= tom-jonas | alt= Tom Jonas }}
{{Portplayer | link= tom-jonas | alt= Tom Jonas }}

Result:

Template:PAGENAMEBASE Tom Jonas's profile on the official website of the Port Adelaide Football Club
Template:Portplayer