Jump to content

Template talk:NBA roster header

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

Below parameter

[edit]

Can this template be augmented so that I can use the below parameter to add content like this:
|below={{NBA roster list footer}} --TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 01:50, 18 August 2011 (UTC)[reply]

Done, but I added the Template:NBA roster list footer to the Template:NBA roster footer instead of here. — MT (talk) 16:01, 18 August 2011 (UTC)[reply]

Nationality

[edit]

There is no consensus to have a nationality column per Wikipedia_talk:WikiProject_National_Basketball_Association/Archive_24#Flags_in_rosters.—Bagumba (talk) 16:20, 18 March 2017 (UTC)[reply]

Semi-protected edit request on 23 March 2019

[edit]

Add empty header column between Number and Name. As it is right now, all columns to the right of Number sort incorrect column. 2607:FEA8:61F:EDF6:A152:DCCB:4373:30FC (talk) 03:02, 23 March 2019 (UTC)[reply]

 Not done: Template:Los Angeles Lakers roster looks fine. Do you have an example of the issue you are referring to?—Bagumba (talk) 04:08, 23 March 2019 (UTC)[reply]
2006–07 Boston Celtics season has column headers that do not align with the column content. I notice that the DOB is missing from the player information, and the {{player2}} templates include the optional, undocumented |nat= parameter, if that helps with troubleshooting. I have copied the table to the testcases page. See also this Template:Player2 discussion from 2017. We should probably remove |nat= from {{player2}} in that article and somehow test for it (or use the TemplateData monthly report to check for it in NBA articles). – Jonesey95 (talk) 04:52, 22 August 2020 (UTC)[reply]
Jonesey95: Yes. See the #Nationality thread above. There is no consensus to list nationality for NBA rosters.—Bagumba (talk) 06:10, 22 August 2020 (UTC)[reply]

DOB

[edit]

Can you please correct the transfer of the DOB column to 2 different lines.

Now it look like:

2002-01
-21

Please make it:

2002-01-21

ZVER18 (talk) 22:27, 1 November 2024 (UTC)[reply]

Name order

[edit]

Is there any reason why this orders players (and not everybody including coaches) by surname? I can't think of another roster template/table that does this and we have sorting keys that can keep the order if that was its intention. ~ Dissident93 (talk) 18:28, 9 March 2025 (UTC)[reply]

Are you referring to the display of <surname>, <given name>, or the actual sorting of players by surname? As for the display, the surname wasn't shown first until 2007.—Bagumba (talk) 16:18, 11 March 2025 (UTC)[reply]
The display. I don't see why it was even done that way to begin with and I'm sure it goes against some general MOS guideline. Players can be still be sorted by surname (manually or with templates) without having to use this style of display, as we see in rosters for other sports. ~ Dissident93 (talk) 17:22, 11 March 2025 (UTC)[reply]
I decided to WP:BEBOLD and change it as it seemingly goes against WP:NCBIO without any good reason. ~ Dissident93 (talk) 04:25, 18 March 2025 (UTC)[reply]
@Dissident93: The display change is fine, but clicking on the sort button on the table header now incorrectly sorts the roster by first name instead of last. —Bagumba (talk) 04:51, 18 March 2025 (UTC)[reply]
Yeah, I'll get that working tomorrow. ~ Dissident93 (talk) 04:57, 18 March 2025 (UTC)[reply]
Sorting by surname works again. ~ Dissident93 (talk) 15:34, 18 March 2025 (UTC)[reply]
@Dissident93: It seems that players like Yao Ming, whose surname Yao appears first, used {{{name}}} while leaving {{{first}}} and {{{last}}} blank. Can they be made backwards compatible? See 2003–04 Houston Rockets season.—Bagumba (talk) 16:50, 18 March 2025 (UTC)[reply]
Is there any reason why Ming couldn't just use |first= and |last=? Seems like a complicated solution to an easy problem but I can check if that doesn't suffice for whatever reason. ~ Dissident93 (talk) 23:17, 18 March 2025 (UTC)[reply]
I guess the issue was that his surname (Yao) needs to be displayed first (Yao Ming not Ming Yao), but the sorting should also be by his surname. —Bagumba (talk) 03:50, 19 March 2025 (UTC)[reply]
Technically the template doesn't go by personal name and surname, so it shouldn't matter if Yao (or any other player that uses non-Western name order in their native language/culture) is listed under |first= for the purposes of sorting. But I'll try and get sorting working for |name= since I'd have to manually fix every case otherwise. ~ Dissident93 (talk) 22:31, 19 March 2025 (UTC)[reply]
Maybe I am missing something. If we made it |first=Yao and |last=Ming, the sorting would incorrectly use "Ming". If we did |first=Ming and |last=Yao, the display would incorrectly show "Ming Yao". —Bagumba (talk) 00:03, 20 March 2025 (UTC)[reply]
So you'd like for sorting to work differently with Ming and other Chinese players? Again, the template doesn't technically account for actual surnames and just sorts by whatever the second part of their commonly listed name is in English. Are he and other Chinese players listed this way in places like NBA.com and Basketball Reference? I actually had Yao being sorted your intended way earlier but assumed it was an error. ~ Dissident93 (talk) 00:27, 20 March 2025 (UTC)[reply]
So far, it seems like the NBA players from China have their surname first, but WP ultimately goes by WP:COMMONNAME and how English sources refer to them. I get that the |last= doesn't mean surname per se. For backwards compatability, we're just kludging the existing |name= that Yao was already using. Actually, Player2 ideally also needs a similar "optional sort key" functionaliy like {{sortname}} does. It seems that Jbvann05 had to change all the player names w/ suffixes because of the recent changes (e.g. |first=Derrick Jr. and |last=Jones was changed to |first=Derrick and |last=Jones Jr..[1] If Derrick Jones Jr. had Tre Jones as a teammate, "Jones, Derrick Jr." should sort before "Jones, Tre" and not as "Jones, Tre" before "Jones Jr, Derrick". —Bagumba (talk) 04:05, 20 March 2025 (UTC)[reply]