Jump to content

Template talk:College athlete recruit end

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

Issues

[edit]

So the template is mostly complete. I still have some issues I am figuring out. The main issue is the {{{year|}}} variable and the {{{accessdate|}}} variable in the overall rankings refs. I don't know why these aren't working. The refs are inside an {{#if: statement so that could be the issue. I tried replacing all the pipes with {{!}} but that did not resolve the issue. Any help would be appreciated.↔NMajdantalk 21:50, 6 February 2007 (UTC)[reply]

Bball references

[edit]

Could someone make it so the rivals team rankings reference link doesn't show up when you have bball=yes, or fix it so the correct page shows. It incorrectly points to the football rankings currently. I gave fixing it a shot, but didn't get it working right. Ryan2845 (talk) 02:15, 24 June 2008 (UTC)[reply]

Finally fixed it to show the proper bball link, someone will just have to add the new article ID to the switch statement each season Ryan2845 (talk) 15:32, 2 December 2008 (UTC)[reply]

I am having trouble getting Template:College athlete recruit end to work at 2009–10 Michigan Wolverines men's basketball team and will be also trying to use it at 2008-09 Michigan Wolverines men's basketball team (The source code has been added, but hidden). Can you provide some assistance.--TonyTheTiger (t/c/bio/WP:CHICAGO/WP:LOTM) 14:24, 2 December 2008 (UTC)[reply]

Fixed Ryan2845 (talk) 15:32, 2 December 2008 (UTC)[reply]

I am having problems with the Scout.com link in the {{College athlete recruit end}} for Kansas State Wildcats football. Does anyone know the ID to fix 2011 Kansas State Wildcats football team#Recruiting, 2010_Kansas_State_Wildcats_football_team#Recruiting, and Tyler Lockett.--TonyTheTiger (T/C/BIO/WP:CHICAGO/WP:FOUR) 09:06, 14 January 2012 (UTC)[reply]

Excess whitespace showing up on the bottom

[edit]

Looking at this article for example, there's a bunch of excess whitespace showing up beneath this template, above the following "Roster" section header. These templates a way out of my league--I think the '{{#ifeq:{{{collapse|}}}' stuff may be the culprit, but I'm not even sure exactly how it works or whether it's necessary, let alone begin to know how to fix it. Maybe someone more talented with complex template syntax could take a look? FWIW, this other collegeBB article, for example, doesn't even seem to use this 'end' template, perhaps to avoid the excess whitespace? 71.197.244.119 (talk) 02:56, 31 March 2012 (UTC)[reply]

you are correct about the collapse stuff at the end. the problem is that this was introducing an extra newline character when collapse was not set to yes. the most robust way to fix this is to switch to standard HTML markup, since it doesn't require whitespace/newline characters to work properly. for now, I fixed it by moving the end table inside of the if statement, which is somewhat redundant, but will fix the whitespace problems. thank you. Frietjes (talk) 16:00, 31 March 2012 (UTC)[reply]
I simplified it even more by making it use a single table in both the collapsed and uncollapsed case. this is a minor change in appearance, but a major simplification in the code. we now don't need to specify collapsed in both the start and end templates. Frietjes (talk) 16:20, 31 March 2012 (UTC)[reply]

Rivals URL change

[edit]

It seems that Rivals.com has changed their URL, which affects all players and teams that use this template. Is there any way to fix this other than try to find all the articles that use this template?--TonyTheTiger (T/C/WP:FOUR/WP:CHICAGO/WP:WAWARD) 13:47, 8 August 2013 (UTC)[reply]

seems like there is no easy fix. some are now fixed, but this fix is not reliable. now tracking with Category:Pages using college athlete recruit end with a malformed rivals school parameter. Frietjes (talk) 19:16, 9 August 2013 (UTC)[reply]
This seems odd. There should be dozens and dozens, if not hundreds of Michigan athletes in this category. I think other schools should be affected too.--TonyTheTiger (T/C/WP:FOUR/WP:CHICAGO/WP:WAWARD) 20:49, 9 August 2013 (UTC)[reply]
you have to wait for the servers to catch up re-caching the pages. check again in about 24 hours or so. Frietjes (talk) 22:54, 9 August 2013 (UTC)[reply]
Previously, the Rivals links to commit lists all linked to "alabama-xx" xx being the rivals ID # for colleges. I'd prefer the URLs to include the individual schools i.e. "oregon-60" etc. Arbor to SJ (talk) 07:45, 11 August 2013 (UTC)[reply]
the current code is mostly backwards compatible, using "school-xx" rather than "alabama", which appears to work most of the time. if you think the new scheme is better, then help out by converting all the instances listed in Category:Pages using college athlete recruit end with a malformed rivals school parameter. Frietjes (talk) 16:57, 11 August 2013 (UTC)[reply]
Another slightly unrelated issue: For example the article 2000 Oklahoma Sooners football team has 40 times for the recruits, but Rivals.yahoo.com and scout.com recruiting info dates back only to 2002. Where did the old data come from? Arbor to SJ (talk) 18:59, 11 August 2013 (UTC)[reply]

Scout.com code number

[edit]

at 2013–14 Harvard Crimson men's basketball team, I am having trouble with the Scout.com link at the bottom because I am using the wrong code. I could use a little help.--TonyTheTiger (T / C / WP:FOUR / WP:CHICAGO / WP:WAWARD) 06:11, 5 December 2013 (UTC)[reply]

[edit]

Does anyone know how to get the 247 sports links to show up using this template? Arbor to SJ (talk) 23:16, 10 August 2014 (UTC)[reply]

@Arbor to SJ: most of the documented 247 parameters are not implemented in the template. if you can provide an example, I could help add them, assuming they weren't explicitly removed for some reason. Frietjes (talk) 15:09, 11 August 2014 (UTC)[reply]
From the Ryan Otten article:
{{College athlete recruit start|40=yes|collapse=no|year=2008}}
{{College athlete recruit entry
| recruit      = Ryan Otten
| position     = TE
| hometown     = [[Loomis, California|Loomis, CA]]
| highschool   = [[Del Oro High School|Del Oro HS]]
| feet         = 6
| inches       = 5
| weight       = 200
| 40           = 4.59
| commitdate   = 2008-01-27
| scout stars  = 2
| rivals stars = 2
| 247 stars    = 2
| espn grade   = 66
}}
{{College athlete recruit end
| 40               = yes
| year             = 2008
| rivals ref title = 2008 San Jose St. Football Commitment List
| scout ref title  = 2008 San Jose State College Football Team Recruiting Prospects
'''| 247 ref title    = San Jose State 2008 Football Commits'''
| espn ref title   = San Jose State Football 2008 Player Commits
| rivals school    = sanjosestate-44
| scout s          = 199
'''| 247 school       = sanjosestate'''
| espn schoolid    =23
| scout overall    = 77 (TE), 119 (school)
| rivals overall   = 116 (school)
| 247 overall      = 160 (CA)
| espn overall     = 
| accessdate       = August 11, 2014
| archivedate      =
| rivals archiveurl=
| scout archiveurl =
| 247 archiveurl   =
| espn archiveurl  =
}}
The two 247 parameters are marked with quote marks. In order to get to Otten's recruiting info via 247, go here: http://247sports.com/Player/Ryan-Otten-31661?Institution=7975
Some more parameters obviously are needed here. Arbor to SJ (talk) 19:24, 11 August 2014 (UTC)[reply]
@Arbor to SJ: yes, it seems to be the case, that the parameters aren't matching what is needed to construct the URL. if that is the UR we need to useL, then I am assuming we would need both Ryan-Otten-31661 and 7975 passed to the template? or would we need to pass just Ryan-Otten-31661 and link to the more generic page? Frietjes (talk) 20:32, 11 August 2014 (UTC)[reply]
@Frietjes: My suggestion: Separate parameters for player (in this case Ryan-Otten-31661) and institution (7975) so the link shows the source of the 247sports ratings info. Arbor to SJ (talk) 20:37, 11 August 2014 (UTC)[reply]
@Arbor to SJ: updated the article, let me know if you see any problems, or suggestions for changes to the syntax. Frietjes (talk) 20:48, 11 August 2014 (UTC)[reply]
Thank you for the update. It works! Arbor to SJ (talk) 21:25, 11 August 2014 (UTC)[reply]

Also, could you add parameters please to accommodate links to 247sports recruiting class links? The general URL format is: <school>.247sports.com/Season/<year>-Football/Commits for instance, http://sanjosestate.247sports.com/Season/2012-Football/Commits for commits to the 2012 San Jose State Spartans football team. Arbor to SJ (talk) 21:29, 11 August 2014 (UTC)[reply]

@Arbor to SJ: sure, can we assume that the two 247sports parameters would not be used at the same time (i.e., if we are using |247 player= we aren't using |247 school=)? or do I need a separate |247 ref title= for both? Frietjes (talk) 21:46, 11 August 2014 (UTC)[reply]
I think the 247sports parameters should be formatted like the other websites, so there's a link to the commit list and then the user can click on the player profile from there. More convenient than the current format. Arbor to SJ (talk) 22:19, 11 August 2014 (UTC)[reply]
@Arbor to SJ: so get rid of |247 player= for linking to a specific player and just have |247 school= for linking to a commits page? Frietjes (talk) 22:35, 11 August 2014 (UTC)[reply]
@Frietjes: Yes! The "247 school" field can inherit the year field, so there can be a link to the 247 commits page. Arbor to SJ (talk) 00:55, 12 August 2014 (UTC)[reply]
@Arbor to SJ: makes more sense. now fixed. Frietjes (talk) 15:19, 12 August 2014 (UTC)[reply]

Rivals URL change (again)

[edit]

Sigh. And now Rivals has changed their URL again. And it's using data not currently in the template, the school name: it's now schoolname.rivals.com/commitments/sport/year (e.g.) -- which is a much bigger cleanup task than I'm up for (I'm already on one big task). Just putting this out there for someone to pick up on. Floatjon (talk) 05:06, 5 September 2016 (UTC)[reply]

Floatjon, are the links currently broken? if so, can you point me to an example? we may need a bot. Frietjes (talk) 16:32, 4 October 2016 (UTC)[reply]
Yes -- see, for example, Jordan Zumwalt, the first link under "Sources" in the box, labeled "UCLA Football Commitments". I think a bot would definitely be the way to go. Thanks, Frietjes --Floatjon (talk) 16:42, 4 October 2016 (UTC)[reply]
Floatjon, okay. I put in some transition code to automatically convert the ones that are easy to automatically convert, and tracking for the rest in Category:Pages using college athlete recruit end with a malformed rivals school parameter. basically, we need to change the number to the school name as it appears in the URL. the code will automatically handle cases where the school name is there, like oklahoma-24, but without knowing all the school numbers, the pure numeric ones are tricky. Frietjes (talk) 18:36, 4 October 2016 (UTC)[reply]
Cool, thanks. Glad to see that some (many?) could be auto-converted, and only a fairly manageable number remain to be fixed by hand. Looks like the documentation for the template needs some updates to reflect this, Frietjes --Floatjon (talk) 06:29, 5 October 2016 (UTC)[reply]
Floatjon, the first pass at cleanup is complete. some of the smaller schools don't have pages in the new restructured website. what we need is a list of all the valid values (i.e., schools with working links) for more robust tracking. I will see if there is an easy way to get such a list. Frietjes (talk) 21:51, 5 October 2016 (UTC)[reply]
Frietjes, thanks again for fixing this. Looks great now. --Floatjon (talk) 05:44, 6 October 2016 (UTC)[reply]

Template is not self-explanatory

[edit]

I believe that for a reader who is not well versed in US college sports (someone like me, for example), this template contains almost no useful information because those readers simply do not understand what this template is about and what the sections in this template mean. I myself am not sure what the template is about. Is it about high school athletes and their chances of getting college scholarships? Is it about college athletes and their chances of getting a high draft rank in the professional leagues? Or is it about something else?

  • I would suggest linking the description "Overall recruiting rankings" to a corresponding Wiki article. Do we have one? Is College recruiting the correct one?
  • I would further suggest linking the names to the corresponding Wiki pages, e.g. "Scout" to Scout.com and "Rivals" to Rivals.com.

I have noted further suggestions at Template_talk:College_athlete_recruit_start and Template_talk:College_athlete_recruit_entry. Spike (talk) 17:42, 16 June 2017 (UTC)[reply]

URL archive issues in women's basketball

[edit]

I was working on adding incoming recruits to the 2018–19 Oregon Ducks women's basketball team page, using the templates from the 2019–20 UConn Huskies women's basketball team page as a starting point and editing accordingly. When I finished the Oregon edit, I discovered a major issue.

In the "Sources" section, the URL for the "2018 player commits" points to ESPN's archived page for that season's Oregon women's recruits. However, the link in "Archived from the original" points to the Oregon men's recruiting page for that season. Could someone look into this? — Dale Arnett (talk) 00:48, 25 October 2019 (UTC)[reply]

Style issue with 'Overall recruiting rankings' in dark themes (iOS/Android)

[edit]

There is an issue with 'Template talk:College athlete recruit end' on iOS/Android when enable dark/black theme. Check - https://wiki.riteme.site/api/rest_v1/page/mobile-html/Baker_Mayfield?theme=dark. Table data element with class 'plainlist' has inline background that conflicts with the text while theme switching. Is it possible to disable it on the template level? Additional details - https://phabricator.wikimedia.org/T284327. VadimKovalenkoSNF (talk) 08:45, 6 September 2021 (UTC)[reply]

247 URL when bball is yes

[edit]

Can the template be updated to change the 247 URL from football to basketball when bball is set to yes? poketape (talk) 21:57, 8 April 2024 (UTC)[reply]

Dark mode improvement

[edit]

Implement changes in Template:College athlete recruit end/sandbox, which makes the notes appear a little less ugly in dark mode. Snowmanonahoe (talk · contribs · typos) 22:07, 6 May 2024 (UTC)[reply]

To editor Snowmanonahoe: I just tested this in dark mode preview at the Rashad McCants#High school career article and section, but I don't see any difference. What should we look for? P.I. Ellsworth , ed. put'er there 10:00, 7 May 2024 (UTC)[reply]
The page doesn't transclude the sandbox version. Have a look at Template:Template sandbox. Snowmanonahoe (talk · contribs · typos) 11:01, 7 May 2024 (UTC)[reply]
On second thought, not really happy with how it looks right now anyway. I'll do it a different way and reopen later. Snowmanonahoe (talk · contribs · typos) 13:31, 7 May 2024 (UTC)[reply]
Okay, because I think it actually did transclude the sandbox version when I added "/sandbox" and clicked on the Show preview button. And I don't see any difference in the "Notes" at Template:Template sandbox. You said that the edit would make "the notes appear a little less ugly in dark mode"? To me the notes look the same. Am I doing something wrong? P.I. Ellsworth , ed. put'er there 15:34, 7 May 2024 (UTC)[reply]
The light mode version is supposed to appear white with black text, and the dark mode version is supposed to appear black with white text. Snowmanonahoe (talk · contribs · typos) 16:19, 7 May 2024 (UTC)[reply]
Yes, I can see a difference now since your recent sandbox edit. Template:Template sandbox shows a significant change. Is that what you wanted? P.I. Ellsworth , ed. put'er there 16:46, 7 May 2024 (UTC)[reply]
No, that's not intended. I'll reopen the request when everything is ready. Snowmanonahoe (talk · contribs · typos) 16:49, 7 May 2024 (UTC)[reply]