Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Humanipedia
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Template:Adelplayer/doc
Template
Discussion
English
Read
Edit source
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit source
View history
General
What links here
Related changes
Special pages
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{Documentation subpage}} <!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata --> '''{{NAMESPACE}}:{{BASEPAGENAME}}''' displays an external link to an [[Australian rules football]] player's page at [http://www.afc.com.au/ AFC.com.au], the official website of the [[Adelaide Football Club]] in the [[Australian Football League]] (AFL). It is intended for use in the [[Wikipedia:External links|external links]] section of an article. == Usage == Unnamed parameters: : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' <nowiki>}}</nowiki></code> : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | ''ID'' | ''NAME'' <nowiki>}}</nowiki></code> Named parameters (id, name): : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' <nowiki>}}</nowiki></code> : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | id= ''ID'' | name= ''NAME'' <nowiki>}}</nowiki></code> Named parameters (link, alt): : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | link= ''ID'' <nowiki>}}</nowiki></code> : <code><nowiki>{{</nowiki>{{BASEPAGENAME}} | link= ''ID'' | alt= ''NAME'' <nowiki>}}</nowiki></code> No parameters (generates link based on Wikipedia article name, test first to ensure a working link): : <code><nowiki>{{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> == Parameters == ; 1 (first unnamed parameter) ; id ; link : Any of these parameters may be used specify the portion of the [[URL]] specific to an individual player, such as <kbd>taylor-walker</kbd> in <kbd>[http://www.afc.com.au/player-profile/taylor-walker http://www.afc.com.au/player-profile/{{hilite|taylor-walker}}]</kbd>. 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 the article for [[Taylor Walker (footballer)]], the default value is <kbd>taylor-walker</kbd> (which is correct, therefore this parameter would be optional). If used in the article for [[Cam Ellis-Yolmen]], the default value is <kbd>cam-ellis-yolmen</kbd> (which is not correct, so this parameter would be used with <kbd>cameron-ellisyolmen</kbd>). ; 2 (second unnamed parameter) ; name ; alt : Any of these parameters 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 [[Taylor Walker (footballer)]], the default would be Taylor Walker. This parameter is always optional unless the anchor text should be different than the article name. For example, in the article [[Cam Ellis-Yolmen]] the template might specify the name as Cameron Ellis-Yolmen. == Examples == === Unnamed parameters === URL: : <kbd>[http://www.afc.com.au/player-profile/taylor-walker http://www.afc.com.au/player-profile/{{hilite|taylor-walker}}]</kbd> Usage: : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | taylor-walker | Taylor Walker }}</code> Result: * {{{{BASEPAGENAME}} | taylor-walker | Taylor Walker }} === Named parameters: id, name === URL: : <kbd>[http://www.afc.com.au/player-profile/eddie-betts http://www.afc.com.au/player-profile/{{hilite|eddie-betts}}]</kbd> Usage: : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | id= eddie-betts | name= Eddie Betts }}</code> Result: * {{{{BASEPAGENAME}} | id= eddie-betts | name= Eddie Betts }} === Named parameters: link, alt === URL: : <kbd>[http://www.afc.com.au/player-profile/cameron-ellisyolmen http://www.afc.com.au/player-profile/{{hilite|cameron-ellisyolmen}}]</kbd> Usage: : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | link= cameron-ellisyolmen | alt= Cameron Ellis-Yolmen }}</code> Result: * {{{{BASEPAGENAME}} | link= cameron-ellisyolmen | alt= Cameron Ellis-Yolmen }} === Using default values === If used in the article for [[Taylor Walker (footballer)]], this template automatically generates the correct ID <kbd>taylor-walker</kbd> and the following links would work: : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}}<nowiki>}}</nowiki></code> If used in the article for [[Cam Ellis-Yolmen]], this template automatically generates an '''incorrect''' ID <kbd>cam-ellis-yolmen</kbd>. The correct ID <kbd>cameron-ellisyolmen</kbd> must be specified: : <code><nowiki>* {{</nowiki>{{BASEPAGENAME}} | cameron-ellisyolmen }}</code> == See also == Other templates implemented using {{tl|AFL player}}: <!-- * {{tl|Adelplayer}} for players in the [[Adelaide Football Club]] --> * {{tl|Brisplayer}} for players in the [[Brisbane Lions]] * {{tl|Carlplayer}} for players in the [[Carlton Football Club]] * {{tl|Collplayer}} for players in the [[Collingwood Football Club]] * {{tl|Essplayer}} for players in the [[Essendon Football Club]] * {{tl|Fremplayer}} for players in the [[Fremantle Football Club]] * {{tl|GCplayer}} for players in the [[Gold Coast Football Club]] * {{tl|Geelplayer}} for players in the [[Geelong Football Club]] * {{tl|GWSplayer}} for players in the [[Greater Western Sydney Giants]] * {{tl|Hawplayer}} for players in the [[Hawthorn Football Club]] * {{tl|Melbplayer}} for players in the [[Melbourne Football Club]] * {{tl|NMplayer}} for players in the [[North Melbourne Football Club]] * {{tl|Portplayer}} for players in the [[Port Adelaide Football Club]] * {{tl|Richplayer}} for players in the [[Richmond Football Club]] * {{tl|Stkplayer}} for players in the [[St Kilda Football Club]] * {{tl|Sydplayer}} for players in the [[Sydney Swans]] * {{tl|Wbplayer}} for players in the [[Western Bulldogs]] * {{tl|Wceplayer}} for players in the [[West Coast Eagles]] == External links == * [http://www.afc.com.au/season/players/senior Players page] at the official [[Adelaide Football Club]] website <includeonly>{{sandbox other|| <!-- Categories below this line; interwikis at Wikidata --> [[Category:Australian Football League templates]] [[Category:Australian rules football external link templates]] [[Category:Australia people and person external link templates]] [[Category:External link templates using Wikidata]] }}</includeonly>
Summary:
Please note that all contributions to Humanipedia may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Humanipedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Templates used on this page:
Template:AFL player
(
edit
)
Template:Adelplayer
(
edit
)
Template:Documentation subpage
(
edit
)
Template:Hilite
(
edit
)
Template:Mbox
(
edit
)
Template:Template link
(
edit
)
Template:Tl
(
edit
)
Module:Message box
(
edit
)