Template talk:Basketball roster header
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
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)
- OxymoronNBG, fixed. Frietjes (talk) 20:00, 15 December 2014 (UTC)
- Great, Frietjes, thank you! OxymoronNBG (talk) 21:14, 15 December 2014 (UTC)
Contrast
[edit]I have added {{greater color contrast ratio}} to enforce WP:Contrast. Frietjes (talk) 15:15, 10 March 2017 (UTC)
- I have fixed the contrast for a second time. Frietjes (talk) 14:31, 10 April 2017 (UTC)
Option to remove player wikilink
[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)
- Any news? Caramelia14 (talk) 12:53, 7 June 2024 (UTC)
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)
- 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)
- 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)- {{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)
Template:Player3 always links to the men's team...
[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 | ||||||||||||||||
|
|
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)