Difference between revisions of "Template:AFL player"

From blackwiki
Jump to navigation Jump to search
blackwiki>Frietjes
(add tfd per request)
blackwiki>The-Pope
(As this is currently broken due to the AFL website changes, I might as well trial the updated code live, not in a sandbox.)
Line 1: Line 1:
[http://afl.com.au/{{#switch:{{{Club}}}
+
[http://www.{{#switch:{{{Club}}}
 
|ADE=afc
 
|ADE=afc
 
|BRI=lions
 
|BRI=lions
 
|CAR=carltonfc
 
|CAR=carltonfc
 
|COL=collingwoodfc
 
|COL=collingwoodfc
|ESS=bombersfc
+
|ESS=essendonfc
 
|FRE=fremantlefc
 
|FRE=fremantlefc
|GEE=gfc
+
|GEE=geelongcats
 +
|GC=goldcoastfc
 +
|GWS=gwsgiants
 
|HAW=hawthornfc
 
|HAW=hawthornfc
|KAN=kangaroos
+
|KAN=nmfc
 +
|NM=nmfc
 
|MEL=melbournefc
 
|MEL=melbournefc
 
|POR=portadelaidefc
 
|POR=portadelaidefc
Line 16: Line 19:
 
|WBD=westernbulldogs
 
|WBD=westernbulldogs
 
|WCE=westcoasteagles
 
|WCE=westcoasteagles
}}/tabid/{{#switch:{{{Club}}}
+
|afl
|ADE=4502
+
}}.com.au/player-profile/{{#if:{{{link|}}}|{{{link}}}|{{First word|{{PAGENAME}}}}-{{Remove first word|{{PAGENAME}}}}}} {{#if:{{{alt|}}}|{{{alt}}}|{{PAGENAME}}}}'s profile] on the official website of the {{#switch:{{{Club}}}
|BRI=5189
+
|ADE=Adelaide Football Club
|CAR=7854
 
|COL=8170
 
|ESS=7739
 
|FRE=8469
 
|GEE=8137
 
|HAW=8483
 
|KAN=8141
 
|MEL=8357
 
|POR=8475
 
|RIC=8473
 
|STK=8471
 
|SYD=8472
 
|WBD=9150
 
|WCE=7302
 
}}/playerId/{{{playerID|0}}}/Default.aspx {{#if:{{{alt|}}}|{{{alt}}}|{{PAGENAME}}}}'s profile] on the Official AFL Website of the {{#switch:{{{Club}}}
 
|ADE=Adelaide
 
 
|BRI=Brisbane Lions
 
|BRI=Brisbane Lions
|CAR=Carlton
+
|CAR=Carlton Football Club
|COL=Collingwood
+
|COL=Collingwood Football Club
|ESS=Essendon
+
|ESS=Essendon Football Club
|FRE=Fremantle
+
|FRE=Fremantle Football Club
|GEE=Geelong
+
|GEE=Geelong Football Club
|HAW=Hawthorn
+
|GC=Gold Coast Football Club
|KAN=North Melbourne
+
|GWS=Greater Western Sydney Football Club
|MEL=Melbourne
+
|HAW=Hawthorn Football Club
|POR=Port Adelaide
+
|NM=North Melbourne Football Club
|RIC=Richmond
+
|MEL=Melbourne Football Club
|STK=St Kilda
+
|POR=Port Adelaide Football Club
 +
|RIC=Richmond Football Club
 +
|STK=St Kilda Football Club
 
|SYD=Sydney Swans
 
|SYD=Sydney Swans
 
|WBD=Western Bulldogs
 
|WBD=Western Bulldogs
 
|WCE=West Coast Eagles
 
|WCE=West Coast Eagles
}} Football Club {{Template for discussion/dated|page=AFL player|type=tiny|link=Wikipedia:Templates for discussion/Log/2013 January 7#Template:AFL player}}<noinclude>
+
|Australian Football League
 +
}}  
 +
{{Template for discussion/dated|page=AFL player|type=tiny|link=Wikipedia:Templates for discussion/Log/2013 January 7#Template:AFL player}}<noinclude>
 
[[Category:WikiProject Australian rules football|{{PAGENAME}}]]
 
[[Category:WikiProject Australian rules football|{{PAGENAME}}]]
 
[[Category:Sports external link templates]]
 
[[Category:Sports external link templates]]
 
</noinclude>
 
</noinclude>

Revision as of 05:18, 8 January 2013

Template:Remove first word AFL player's profile on the official website of the Australian Football League Template:Template for discussion/dated