Difference between revisions of "Template:Basketballstats/sandbox"
Jump to navigation
Jump to search
imported>Howcheng |
imported>Howcheng (wikidata with Steph Curry as the test item) |
||
| Line 1: | Line 1: | ||
| − | {{#if: {{{nba|{{wikidata|property|P3647}}}}}{{{bbr|{{wikidata|property|P2685}}}}} | + | {{#if: {{{nba|{{wikidata|property|Q352159|P3647}}}}}{{{bbr|{{wikidata|property|Q352159|P2685}}}}} |
| − | |*Career statistics and player information from {{#if:{{{nba|{{wikidata|property|P3647}}}}} | + | |*Career statistics and player information from {{#if:{{{nba|{{wikidata|property|Q352159|P3647}}}}} |
| − | |[{{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|{{wikidata|property|Q352159|P3647}}}}}|http://stats.nba.com/player/{{{nba|{{wikidata|property|Q352159|P3647}}}}}/|http://www.nba.com/{{ifnumber|{{#invoke:String|match|s={{{nba|{{wikidata|property|Q352159|P3647}}}}}|pattern=%d+$|nomatch=0}}|players|playerfile}}/{{lc:{{{nba|{{wikidata|property|Q352159|P3647}}}}}}}}} NBA.com]{{#if:{{{bbr|{{wikidata|property|Q352159|P2685}}}}}|, or |
}}<!-- #if:{{{bbr|}}} --> | }}<!-- #if:{{{bbr|}}} --> | ||
| − | }}<!-- #if:{{{nba}}} -->{{#if:{{{bbr|{{wikidata|property|P2685}}}}} | + | }}<!-- #if:{{{nba}}} -->{{#if:{{{bbr|{{wikidata|property|Q352159|P2685}}}}} |
| − | |[https://www.basketball-reference.com/players/{{{bbr|{{wikidata|property|P2685}}}}}.html Basketball-Reference.com] | + | |[https://www.basketball-reference.com/players/{{{bbr|{{wikidata|property|Q352159|P2685}}}}}.html Basketball-Reference.com] |
}}<!-- {{#if:{{{bbr|}}} --> | }}<!-- {{#if:{{{bbr|}}} --> | ||
}}<!--{{#if: {{{nba|}}}{{{bbr|}}}--> | }}<!--{{#if: {{{nba|}}}{{{bbr|}}}--> | ||
Revision as of 22:55, 15 February 2018
- Career statistics and player information from template:wikidata NBA.com, or Template:Wikidata.html Basketball-Reference.com