Jump to content

Template:Basketballstats: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
now with Wikidata!
Wikidata might have the format firstname/lastname/ID ... but if I can't use regex, not sure how to accommodate that
Line 1: Line 1:
{{#if: {{{nba|{{wikidata|property|P3647}}}}}{{{bbr|{{wikidata|property|P2685}}}}}
{{#if: {{{nba|}}}{{{bbr|}}}
|*Career statistics and player information from {{#if:{{{nba|{{wikidata|property|P3647}}}}}
|*Career statistics and player information from {{#if:{{{nba|}}}
|[{{ifnumber|{{{nba|{{wikidata|property|P3647}}}}}|http://stats.nba.com/player/{{{nba|{{wikidata|property|P3647}}}}}/|http://www.nba.com/playerfile/{{lc:{{{nba|{{wikidata|property|P3647}}}}}}}}} NBA.com]{{#if:{{{bbr|{{wikidata|property|P2685}}}}}|, or 
|[{{ifnumber|{{{nba}}}|http://stats.nba.com/player/{{{nba}}}/|http://www.nba.com/playerfile/{{lc:{{{nba}}}}}}} NBA.com]{{#if:{{{bbr|}}}|, or 
}}<!-- #if:{{{bbr|}}} -->
}}<!-- #if:{{{bbr|}}} -->
}}<!-- #if:{{{nba}}} -->{{#if:{{{bbr|{{wikidata|property|P2685}}}}}
}}<!-- #if:{{{nba}}} -->{{#if:{{{bbr|}}}
|[https://www.basketball-reference.com/players/{{{bbr|{{wikidata|property|P2685}}}}}.html Basketball-Reference.com]
|[https://www.basketball-reference.com/players/{{{bbr}}}.html Basketball-Reference.com]
}}<!-- {{#if:{{{bbr|}}} -->
}}<!-- {{#if:{{{bbr|}}} -->
}}<!--{{#if: {{{nba|}}}{{{bbr|}}}--><noinclude>
}}<!--{{#if: {{{nba|}}}{{{bbr|}}}--><noinclude>

Revision as of 00:54, 10 February 2018