Template talk:Ranking movements

(Redirected from Module talk:Ranking movements/sandbox)
Latest comment: 2 years ago by Frietjes in topic Proposed changes to the NR parameter

Highlight Highest Poll Ranking of the Week

edit

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)Reply

Bolding the highest rank would probably appear best using the current color scheme. --ben_b (talk) 23:06, 28 November 2011 (UTC)Reply
Good idea.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 13:32, 6 February 2012 (UTC)Reply

Discussion on Background Coloring

edit

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)Reply

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)Reply
I was going to ask you about that. There is no color at 2011–12_Harvard_Crimson_men's_basketball_team#Rankings such a situation. NR-RV Green/red, IMO.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 04:26, 6 February 2012 (UTC)Reply
P.S. looks good at 2011–12_Baylor_Bears_basketball_team#Rankings and 2011–12_Michigan_Wolverines_men's_basketball_team#Rankings.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 04:27, 6 February 2012 (UTC)Reply
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)Reply
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)Reply
  Done 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)Reply

Conference use

edit

Can I use this at 2011–12_Big_Ten_Conference_men's_basketball_season#Rankings?--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 04:27, 6 February 2012 (UTC)Reply

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)Reply
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)Reply
That would be as simple as having a show conference only games parameter. --ben_b (talk) 10:24, 16 February 2012 (UTC)Reply

Less than 5 polls

edit

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)Reply

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)Reply
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)Reply
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)Reply

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

usage problems

edit

(copied from User talk:Ben b) Please see 1992–93_Michigan_Wolverines_men's_basketball_team#Rankings, 1993–94_Michigan_Wolverines_men's_basketball_team#Rankings, and 1997–98_Michigan_Wolverines_men's_basketball_team#Rankings. 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)Reply

  Fixed This took forever to fix but I was finally able to figure it out. --ben_b (talk) 10:28, 15 April 2012 (UTC)Reply

Template for baseball

edit

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

Template for Softball

edit

Needed for:

--ben_b (talk) 09:12, 1 May 2012 (UTC)Reply

Help with # of weeks

edit

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

Answered at Wikipedia:Help desk#Help with Template:Ranking Movements. PrimeHunter (talk) 21:21, 10 March 2014 (UTC)Reply

Customizable week titles

edit

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 |week0=Pre, |week1=Wk 2, 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)Reply

Bug - Displays "poll6"

edit

See for instance, this article. Arbor to SJ (talk) 08:00, 12 January 2016 (UTC)Reply

Proposed changes to the NR parameter

edit

Can @Ben b, Bcf8609, WikiOriginal-9, and Wikid77: please join the discussion at Wikipedia_talk:WikiProject_College_Basketball#NR_in_rankings_tables regarding potential changes to the template.--TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 17:55, 28 April 2018 (UTC)Reply

@Frietjes: 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)Reply
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)Reply
The new LUA version is now live, please let me know if you see any problems. Frietjes (talk) 16:10, 28 February 2022 (UTC)Reply
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)Reply
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)Reply
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)Reply
now implemented, let me know if you see any bugs. Frietjes (talk) 15:11, 3 March 2022 (UTC)Reply

Unconverted tables

edit

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