Jump to content

Template:Basketballstats: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
add parameters, no changes to current output
m Changed protection settings for "Template:Basketballstats": High-risk template or module: 2555 transclusions (more info) ([Edit=Require extended confirmed access] (indefinite) [Move=Require extended confirmed access] (indefinite))
 
(10 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{#if: {{{nba|}}} {{{nba1|}}} {{{nba2|}}} {{{bbr|}}}
{{#if:{{{nba|{{#property:P3647}}}}}{{{bbr|{{#property:P2685}}}}}
|*Career statistics and player information from {{#if: {{{nba1|}}}
|*Career statistics and player information from {{#if:{{{nba|}}}
| [https://www.nba.com/players/{{{nba1}}} NBA.com]{{#if: {{{nba2|}}}{{{bbr|}}}
|[{{ifnumber|{{{nba}}}|https://stats.nba.com/player/{{{nba}}}/|{{#ifeq:{{str find|{{{nba}}}|/}}|-1|https://www.nba.com/playerfile/{{lc:{{{nba}}}}}|https://www.nba.com/players/{{{nba}}}}}}} NBA.com]
|{{#if:{{#property:P3647}}|[https://stats.nba.com/player/{{First word|1={{#property:P3647}}|sep=,}}/ NBA.com]{{EditAtWikidata|nbsp=y|pid=P3647}}}}
|, or 
}}{{#if:{{{bbr|{{#property:P2685}}}}}
}}
|{{#if:{{{nba|{{#property:P3647}}}}}| and }}[https://www.basketball-reference.com/players/{{#if: {{{bbr|}}} | {{{bbr}}} | {{First word|1={{#property:P2685}}|sep=,}} }}.html Basketball-Reference.com]{{EditAtWikidata|nbsp=y|pid=P2685|{{{bbr|}}}}}
}}{{#if: {{{nba2|}}}
}}
| [https://stats.nba.com/player/{{{nba2}}}/ Stats.NBA.com]{{#if: {{{bbr|}}}
}}{{#if:{{{wnba|{{#property:P3588}}}}}{{{wbbr|{{#property:P4561}}}}}
|, or 
|*Career statistics and player information from {{#if:{{{wnba|}}}
}}
|[{{ifnumber|{{{wnba}}}|https://stats.wnba.com/player/{{{wnba}}}/|https://www.wnba.com/player/{{{wnba}}}/}} WNBA.com]
}}{{#if: {{{nba|}}}
|{{#if:{{#property:P3588}}|[https://www.wnba.com/player/{{First word|1={{#property:P3588}}|sep=,}}/ WNBA.com]{{EditAtWikidata|nbsp=y|pid=P3588}}}}
| {{#if: {{{nba1|}}} {{{nba2|}}}
}}{{#if:{{{wbbr|{{#property:P4561}}}}}
| <!-- ignore old "nba" parameter if using "nba1" and/or "nba2" -->
|{{#if:{{{wnba|{{#property:P3588}}}}}|&nbsp;and&nbsp;}}[https://www.basketball-reference.com/wnba/players/{{#if: {{{wbbr|}}} | {{{wbbr}}} | {{First word|1={{#property:P4561}}|sep=,}} }}.html Basketball-Reference.com]{{EditAtWikidata|nbsp=y|pid=P4561|{{{wbbr|}}}}}
| [{{ifnumber|{{{nba}}}|https://stats.nba.com/player/{{{nba}}}/|https://www.nba.com/playerfile/{{lc:{{{nba}}}}}}} NBA.com]{{#if: {{{bbr|}}}
|, or&nbsp;
}}
}}
}}{{#if: {{{bbr|}}}
| [https://www.basketball-reference.com/players/{{{bbr}}}.html Basketball-Reference.com]
}}
}}
}}<noinclude>
}}<noinclude>

Latest revision as of 17:20, 26 October 2021