Template talk:Infobox lacrosse player

Latest comment: 5 years ago by Mnnlaxer in topic PLL team has to be added

Markup

edit

I seem to have lost a little faint separator line when I made an edit recently. The CSS style info in this template is beyond me. If someone could figure out how to put that line back in, I'd appreciate it.

On a separate issue, I think it's a bad thing if reasonably competent people can't edit a page on a wiki. After all, it's supposed to be editable by anyone. I'm quite familiar with Wikipedia templates, optional infobox sections, etc. and vaguely familiar with CSS, and yet I still can't figure out what I broke, so perhaps this infobox is a bit too esoteric as it is.

Though, I do have to say, as esoteric as it is, the code is very well structured and commented. (MrBoo, I suspect you may be a professional web developer and/or programmer.) --Doradus 11:40, 22 September 2006 (UTC)Reply

I am a professional software developer, and I do some web development as a hobby (or at least I did, until I discovered Wikipedia!). However, I can't take credit in this case - I copied the page from the {{Infobox Ice Hockey Player}} page, then changed a few things here and there. I'll have a look at your changes and see if I can see what's wrong. --MrBoo (talk, contribs) 12:47, 22 September 2006 (UTC)Reply
I want to make the Pro career portion optional (for NCAA-only players)...I'd think that would be by adding {{#if: {{{career_start|}}}| at the top of that section? I didn't do it for fear of accidentally blowing up Wichita.--Diogenes00 02:35, 24 February 2007 (UTC)Reply
Done --MrBoo (talk, contribs) 03:09, 24 February 2007 (UTC)Reply

Hall of Fames

edit

Added the Canadian Lacrosse Hall of Fame, National Lacrosse League Hall of Fame & the US Lacrosse Hall of Fame to the player infobox. I think it is a nice feature from the NFL player infobox & NHL player infobox. I used the coloring from the NHL. There is probably a better color to use. The NHL color is perfect for hockey because (its like ice), but for lacrosse just "so-so". Ideas, comments?

First time working in a template. Happy I didn't (appear to) blow it up Mitico 18:20, 9 October 2007 (UTC)Reply

* Changed the <US Lacrosse HOF:> link -- url was changed slightly - should work now. 10stone5 (talk) 20:01, 1 August 2011 (UTC)Reply

Name

edit

In common with the vast majority of biographical infoboxes (e.g. {{Infobox person}}), I think that this template should include a "name" parameter. It could also then be upgraded to emit an hCard microformat. Would anyone object? Andy Mabbett | Talk to Andy Mabbett 21:10, 24 August 2008 (UTC)Reply

Conversion to {{infobox}}

edit

I have converted the template to use {{infobox}}. This causes only a few visible changes which I'll list here:

  • The header is slightly bigger (can be changed back but I think it's better this way anyway)
  • All the rows had to have their style standardized which only means if there is no image, there will be one of those blue lines between the header and the born/died section (this can be worked around by using File:Replace this image male.svg and similar placeholders)
  • The HOFs are now in one blue box instead of having their own blue boxes each

If anyone doesn't like the changes I am perfectly fine with reverting back, I just thought it makes the code a lot easier to work with. --Yarnalgo talk to me 04:45, 24 April 2009 (UTC)Reply

It's a good idea but it needs a little extra tweaking. Height and weight parameters should not be mandatory, see e.g. Mike Accursi, causes parser errors and looks pretty bad at the moment. GregorB (talk) 15:06, 25 April 2009 (UTC)Reply
I fixed it and I'll tell you what it does in a little bit but I'm really late right now and I got to go  . --Yarnalgo talk to me 16:50, 25 April 2009 (UTC)Reply
Alright, I'm back. So it was only making that weird error if the parameters were included but there was no value for them. The way I corrected it if they are not included it will show as 0 ft 0 in, etc. (the original intended display) and if they are included but not set to anything then the physical stats will be deleted from the infobox. It is however dependent on the "height_ft" parameter which means you can't just put weight (but I don't think we would ever have someone's weight and not their height).

Converting height_ft, height_in to height

edit

All big infoboxes use |height=. I'll try to convert height_ft, height_in to height using the convert template too. -- Magioladitis (talk) 23:21, 9 May 2011 (UTC)Reply

We probably have to do the same for weight_lb. -- Magioladitis (talk) 23:26, 9 May 2011 (UTC)Reply

I object. There are plenty of other infoboxes which use height_ft, height_in. For example, Template:Infobox NFL player and Template:Infobox ice hockey player. With over 15,000 transclusions combined, I would not call those "small". Frietjes (talk) 23:40, 9 May 2011 (UTC)Reply
But why to force someone to give the statistics in only lb and ft? What happens if a source gives the statistics in meter and kg? -- Magioladitis (talk) 09:01, 10 May 2011 (UTC)Reply
I would suggest asking that question at Template talk:Infobox ice hockey player. I am objecting to the premise for the removal that "all big infoboxes" use |height=, which is simply false. If someone wants to add |height_m= or |height_cm=, then we can add that as well. Frietjes (talk) 15:03, 10 May 2011 (UTC)Reply

Nationality flags

edit

Shouldn't the template be revised to remove the nationality flags per WP:MOSFLAG?--ukexpat (talk) 16:43, 23 August 2012 (UTC)Reply

National Hall of Fame id system broken

edit

US Lacrosse has changed their website, so "uslaxhof" profile ID no longer works. Worse, you can't even manually link to the profiles, because they are pop ups and don't have a separate URL. https://www.uslacrosse.org/about-us-lacrosse/hall-of-fame/hall-of-fame-inducteesMnnlaxer | talk | stalk 17:52, 16 November 2017 (UTC)Reply

I took out

<small>'''<span class="plainlinks">[http://apps.uslacrosse.org/museum/halloffame/view_profile.php?prof_id={{{uslaxhof}}} U.S. Lacrosse Hall of Fame]</span>{{#if: {{{uslaxhof_year|}}}|, {{{uslaxhof_year}}}}}'''</small><br>

and replaced it with the IF laxhof false argument, so that if uslaxhof names a profile ID, just the regular wikilink and year appear. - Mnnlaxer | talk | stalk 19:54, 16 November 2017 (UTC)Reply
Frietjes fixed the template so all uslaxhof_year uses ignores the uslaxhof parameter. I cleaned up the documentation. - Mnnlaxer | talk | stalk 02:58, 14 December 2017 (UTC)Reply

Take out "Lacrosse player" from the heading

edit

No other major sport person infobox states the sport as a header. Most don't list the sport at all because it is self-evident. So I'm proposing eliminating the "lacrosse player" header. The male / female symbols are particularly silly. Lacrosse has a unique feature of having three different major versions, field, box and women's, but I don't think that should neccesitate a call out of which version this person plays. I support completely taking the heading out. But I'm open some other subheading or other inclusion of a wikilink to lacrosse or a particular version. - Mnnlaxer | talk | stalk 02:58, 14 December 2017 (UTC)Reply

Another change to consider is using section dividers like {{Infobox college coach}}. That way there can be separate sections for box, field, and women's careers, with appropriate wikilinks in each. Positions can be distinguished for the different men's games. The main issue in implementation would be to figure out what to do with the parameter "league" and "team" which are intended for generic use. Men's bio have used this for college (before the ncaa_team was implemented) and Major Series Lacrosse teams. A msl_team can be added. I would be willing to find uses of "team" and update to either ncaa or msl team. Women's bios would most likely use "team" for NCAA teams, but I'm sure there are some exceptions. I'll have to look around to find out. - Mnnlaxer | talk | stalk 03:35, 17 December 2017 (UTC)Reply
the role was added with gender in this edit in 2013. I believe that Andy was adding this to all sportsperson infoboxes at the time (see this thread for example). the gender (and role) were removed from most all of the infoboxes. you can find the ones that remain with this search and/or this search. given that it has been removed from so many, I don't see a problem with remove it here. Frietjes (talk) 14:02, 17 December 2017 (UTC)Reply

Clean-up {{| league =}} tag

edit

I was going through infoboxes of players in the PLL and it looks like a lot of players infoboxes use the {{| league =}} tag instead of the {{| ncaa_team =}} which is creating a big clean-up issue for adding PLL to players boxes. Just wanted to put that out there. So if you are adding PLL to players history and it's now showing, its because of that issue. (Bes2224 (talk) 15:31, 2 June 2019 (UTC))Reply

PLL team has to be added

edit

Since the PLL is probably the biggest lacrosse league right now, it has to be added to the infobox. Twooeight (talk) 02:51, 23 June 2019 (UTC)Reply

I added PLL to the template. Please check my work. I also rearranged the leagues in this order: NCAA, NLL, MLL, PLL, CLA, other. I also took out other in the example and added a note to the documentation to only use "league" and "team" for leagues besides those listed. I will add a note on the PLL talk page about this. - Mnnlaxer | talk | stalk 16:00, 11 July 2019 (UTC)Reply