Jump to content

Template:Basketballstats: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Update to use Wikidata property if no ID in template. Tested with /sandbox.
m remove comma before "or" since template never displays more than two links
Line 4: Line 4:
|{{#if:{{#property:P3647}}|[https://stats.nba.com/player/{{First word|1={{#property:P3647}}|sep=,}}/ NBA.com]{{EditAtWikidata|pid=P3647}}}}
|{{#if:{{#property:P3647}}|[https://stats.nba.com/player/{{First word|1={{#property:P3647}}|sep=,}}/ NBA.com]{{EditAtWikidata|pid=P3647}}}}
}}{{#if:{{{bbr|{{#property:P2685}}}}}
}}{{#if:{{{bbr|{{#property:P2685}}}}}
|{{#if:{{{nba|{{#property:P3647}}}}}|, or }}[https://www.basketball-reference.com/players/{{#if: {{{bbr|}}} | {{{bbr}}} | {{First word|1={{#property:P2685}}|sep=,}} }}.html Basketball-Reference.com]{{EditAtWikidata|pid=P2685|{{{bbr|}}}}}
|{{#if:{{{nba|{{#property:P3647}}}}}| or }}[https://www.basketball-reference.com/players/{{#if: {{{bbr|}}} | {{{bbr}}} | {{First word|1={{#property:P2685}}|sep=,}} }}.html Basketball-Reference.com]{{EditAtWikidata|pid=P2685|{{{bbr|}}}}}
}}
}}
}}{{#if:{{{wnba|{{#property:P3588}}}}}{{{wbbr|{{#property:P4561}}}}}
}}{{#if:{{{wnba|{{#property:P3588}}}}}{{{wbbr|{{#property:P4561}}}}}
Line 11: Line 11:
|{{#if:{{#property:P3588}}|[https://www.wnba.com/player/{{First word|1={{#property:P3588}}|sep=,}}/ WNBA.com]{{EditAtWikidata|pid=P3588}}}}
|{{#if:{{#property:P3588}}|[https://www.wnba.com/player/{{First word|1={{#property:P3588}}|sep=,}}/ WNBA.com]{{EditAtWikidata|pid=P3588}}}}
}}{{#if:{{{wbbr|{{#property:P4561}}}}}
}}{{#if:{{{wbbr|{{#property:P4561}}}}}
|{{#if:{{{wnba|{{#property:P3588}}}}}|, or }}[https://www.basketball-reference.com/wnba/players/{{#if: {{{wbbr|}}} | {{{wbbr}}} | {{First word|1={{#property:P4561}}|sep=,}} }}.html Basketball-Reference.com]{{EditAtWikidata|pid=P4561|{{{wbbr|}}}}}
|{{#if:{{{wnba|{{#property:P3588}}}}}| or }}[https://www.basketball-reference.com/wnba/players/{{#if: {{{wbbr|}}} | {{{wbbr}}} | {{First word|1={{#property:P4561}}|sep=,}} }}.html Basketball-Reference.com]{{EditAtWikidata|pid=P4561|{{{wbbr|}}}}}
}}
}}
}}<noinclude>
}}<noinclude>

Revision as of 03:12, 7 October 2020