Template talk:Basketball roster header

Sorting needs to be fixed

edit

Weight column doesn't seem to sort data properly (you can try it for yourself here). There is a way to get around this and force the sort mode (I'm guessing we should use data-sort-type="number" somewhere), but I'm not really sure how to implement it. Can anyone suggest a solution? Thanks! OxymoronNBG (talk) 23:27, 14 December 2014 (UTC)Reply

OxymoronNBG, fixed. Frietjes (talk) 20:00, 15 December 2014 (UTC)Reply
Great, Frietjes, thank you! OxymoronNBG (talk) 21:14, 15 December 2014 (UTC)Reply

Contrast

edit

I have added {{greater color contrast ratio}} to enforce WP:Contrast. Frietjes (talk) 15:15, 10 March 2017 (UTC)Reply

I have fixed the contrast for a second time. Frietjes (talk) 14:31, 10 April 2017 (UTC)Reply
edit

Malone should not be redlinked in Los Angeles Ballers, since it was deleted at AfD. This template needs an option to remove the player wikilink, if not by default when the article doesn't exist. (not watching, please {{ping}}) czar 23:39, 8 September 2018 (UTC)Reply

Any news? Caramelia14 (talk) 12:53, 7 June 2024 (UTC)Reply

Template:Player3 broken

edit

Hello. If you use |name= in {{Player3}}, then either |dab= or |link= has no effect, and you end up creating an incorrect link. These modifiers appear to work only when you use the |first= |last= form of the template. --R'n'B (call me Russ) 19:13, 25 September 2021 (UTC)Reply

For examples, see WT:DPL#Template:Player3. All those DABlinks seem to have been created in the last day or two (which means I expect to find more as I work through the alphabet in DPwL yet again). Narky Blert (talk) 19:47, 25 September 2021 (UTC)Reply
It probably needs {{autolink|{{{name}}}}} to be replaced by a more complex expression involving #if:{{{link|}}} ... #if:{{{dab|}}} ..., as is done later in the same line for first+last. Should we be using {{Auto link}} at all? According to its documentation, This template should not be used in the mainspace, as red links are good. I suppose it depends whether the existence of an article is our best guess as to notability. Certes (talk) 20:42, 25 September 2021 (UTC)Reply
{{Player3}} has been reverted to the last good version due to the issues identified above. --R'n'B (call me Russ) 19:37, 28 September 2021 (UTC)Reply
edit

... even for women's teams. For example:

{{player3 | num=2 | nat=USA | first=Chelsie | last=Hall | pos=SG | m=1.70 | kgs= | year=1999 | month=1 | date=12}}

(an entry in the roster of ŽKK Crvena zvezda) renders as:

Crvena zvezda roster
Players Coaches
Pos. No. Nat. Name Ht. Age
SG 2   Hall, Chelsie 1.70 m (5 ft 7 in) 25 – (1999-01-12)12 January 1999
Head coach
  • Vacant

Legend
  • (C) Team captain
  •   Injured

where the flag icon links to United States men's national basketball team.

This seems quite wrong. Can someone with template editing skills address this? (Either fix Player3 or create an alternative for women's teams.) WikiDan61ChatMe!ReadMe!! 19:21, 3 September 2024 (UTC)Reply