Template talk:Ranking movements

Highlight Highest Poll Ranking of the Week
Something I would like to add at some point is a way to highlight which of the polls ranked the team highest that week. --ben_b (talk) 05:46, 5 September 2011 (UTC)
 * Bolding the highest rank would probably appear best using the current color scheme. --ben_b (talk) 23:06, 28 November 2011 (UTC)
 * Good idea.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 13:32, 6 February 2012 (UTC)

Discussion on Background Coloring
Does anyone else think it is necessary to have the yellowish background color for "Not ranked the previous week"? I feel it would be more clear and straight forward if that was green. Additionally when going from NR to RV and vice versa should that be colored green/red or not? --ben_b (talk) 07:24, 28 November 2011 (UTC)
 * Take a look at how http://en.wikipedia.org/wiki/2011%E2%80%9312_NCAA_Division_I_men%27s_basketball_rankings and http://en.wikipedia.org/wiki/2011%E2%80%9312_Big_Ten_Conference_men%27s_basketball_season#Rankings and see if we want to do it the same way. --ben_b (talk) 02:12, 30 January 2012 (UTC)
 * I was going to ask you about that. There is no color at 2011–12_Harvard_Crimson_men's_basketball_team such a situation. NR-RV Green/red, IMO.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 04:26, 6 February 2012 (UTC)
 * P.S. looks good at 2011–12_Baylor_Bears_basketball_team and 2011–12_Michigan_Wolverines_men's_basketball_team.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 04:27, 6 February 2012 (UTC)
 * In my opinion the yellow does not signal well an increase in ranking. It should either be the same green we currently have or a darker/lighter green as green signals an increase. It is still debatable about the NR to RV and RV to NR coloring but I think it should be green/red as it indicates an increase/decrease of some sort. --ben_b (talk) 08:30, 6 February 2012 (UTC)
 * I don't know why it is debatable. It seems common usage to use standard improve/decline colorings for NR-RV changes.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 13:31, 6 February 2012 (UTC)
 * ✅ This has been changed in the latest update. Yellow is no longer used. Green means an increase while red means decrease. If the cell is blank it is assumed to be a not ranked week. --ben_b (talk) 11:39, 15 April 2012 (UTC)

Conference use
Can I use this at 2011–12_Big_Ten_Conference_men's_basketball_season?--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 04:27, 6 February 2012 (UTC)
 * Not sure and I see a number of problems with that page. Firstly the template at this time will not run like that. Secondly, I am not sure 10 versions of the template will render on a page without wikipedia freaking out about too many calculations, etc. Perhaps a slimmed down version could be created that does not create the legend, headers, etc. but the number of times the template would run on that page concerns me. Third and lastly, why are the schedules on the page not just a mirrored version of the schedules listed on the team pages? Seems like a lot of duplicated work keeping schedules up to date in two places when they could be just templates for each schedule. --ben_b (talk) 08:39, 6 February 2012 (UTC)
 * Conference schedule is not a duplicate because it does not include non-conference games. See Michigan's game against Arkansas for example.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 13:30, 6 February 2012 (UTC)
 * That would be as simple as having a show conference only games parameter. --ben_b (talk) 10:24, 16 February 2012 (UTC)

Less than 5 polls
There should be a way not to have to enter the blank entries for the poll parameters that you don't use.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 04:32, 6 February 2012 (UTC)
 * Because the poll is designed to show on the main template page it needs all the parameters. The only other way would be to have a parameter that says how many polls you are going to use. --ben_b (talk) 08:40, 6 February 2012 (UTC)
 * How difficult would it be to implement a parameter that says how many polls you are going to use?--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 13:29, 6 February 2012 (UTC)
 * Not entirely sure but I won't have a ton of time to dedicate towards this for awhile.--ben_b (talk) 10:25, 16 February 2012 (UTC)

I think I figured out a way to fix this. Stay tuned. --ben_b (talk) 22:15, 15 April 2012 (UTC)

usage problems
(copied from User talk:Ben b) Please see 1992–93_Michigan_Wolverines_men's_basketball_team, 1993–94_Michigan_Wolverines_men's_basketball_team, and 1997–98_Michigan_Wolverines_men's_basketball_team. It seems that there is a problem in the final ranking week. As I work my way backwards, I suspect each season that has a final week ranking will have the same problem--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 03:48, 16 February 2012 (UTC)
 * This took forever to fix but I was finally able to figure it out. --ben_b (talk) 10:28, 15 April 2012 (UTC)

Template for baseball
✅ See NCAA Division I baseball ranking movements. Open for suggestions on that templates talk page. --ben_b (talk) 08:20, 29 April 2012 (UTC)

Template for Softball
Needed for: --ben_b (talk) 09:12, 1 May 2012 (UTC)
 * California_Golden_Bears_softball

Help with # of weeks
At 2013–14_Michigan_Wolverines_men's_basketball_team and 2013-14_Harvard_Crimson_men's_basketball_team the number of weeks showing is different. Thus there will not be room for next weeks rankings at Harvard. Advice please.


 * Answered at Help desk. PrimeHunter (talk) 21:21, 10 March 2014 (UTC)

Customizable week titles
Is it possible to make it so that each week's titles are parameterized? For example, in college basketball in the United States, there is a preseason ranking, but no week 1 (see the column headings at 2014–15 NCAA Division I men's basketball rankings for how national rankings are released). Making these customizable through a,  , etc., with the status quo as default, would make this more useful not just for college basketball, but for a variety of other sports with similar requirements. Thanks! 70.208.147.170 (talk) 23:35, 13 October 2014 (UTC)

Bug - Displays "poll6"
See for instance, this article. Arbor to SJ (talk) 08:00, 12 January 2016 (UTC)

Proposed changes to the NR parameter
Can please join the discussion at Wikipedia_talk:WikiProject_College_Basketball regarding potential changes to the template.--TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 17:55, 28 April 2018 (UTC)


 * can you take a look at this? It appears consensus was reached to change the "not ranked" symbol in this table from an "NR" to a dash (archived discussion here).  However, none of the editors knew how to make the change.  Is this something you could handle? If possible, it would be great to keep the color coding for this alternate symbol (i.e. the first dash would be colored red, but the next subsequent RV or number would get colored green).
 * (Pinging TonyTheTiger) Hoof Hearted (talk) 17:05, 25 February 2022 (UTC)
 * Hoof Hearted, I rewrote the template to use Module:Ranking movements which is a much lower code complexity, and doesn't require "blanking" all the unused polls in the wrapper templates. the new version is in the sandbox. there are also other coding improvements possible, like the ability to have the wrappers call the module directly and implicitly translate the data poll1_0 -> AP_pre, poll2_1 -> coaches_1, ... but, first things first, we just need some level of confidence that the sandbox version is correct, and I can move that over to the live version.  there are some testcases, but I don't know if those testcases are complete. Frietjes (talk) 19:59, 25 February 2022 (UTC)
 * The new LUA version is now live, please let me know if you see any problems. Frietjes (talk) 16:10, 28 February 2022 (UTC)
 * Frietjes: Thanks as always. I think the legend just needs to be tweaked to show the m-dash rather than "NR" for not ranked (or else remove "not ranked" from the legend?).  Should the template documentation tell users to continue using "NR" in the code? Hoof Hearted (talk) 20:19, 28 February 2022 (UTC)
 * Hoof Hearted, I fixed the legend, but I could also see removing it. the module automatically converts NR and dashes to mdash, so either input method should work. another thing that is now possible is a "smart legend" that only adds entries to the legend if they are used in the table. let me know if you would like to see that implemented. Frietjes (talk) 16:13, 1 March 2022 (UTC)
 * Frietjes, that sounds interesting if it's not too much work, but I think it's fine as it is. Thanks for the quick work! Hoof Hearted (talk) 20:16, 2 March 2022 (UTC)
 * now implemented, let me know if you see any bugs. Frietjes (talk) 15:11, 3 March 2022 (UTC)

Unconverted tables
FYI, this search can be used to find unconverted tables (may have some false positives). Frietjes (talk) 21:56, 1 March 2022 (UTC)