Template talk:Infobox lacrosse player

From Wikipedia, the free encyclopedia
Jump to: navigation, search
WikiProject Lacrosse (Rated NA-class)
WikiProject icon This template is within the scope of WikiProject Lacrosse, a collaborative effort to improve the coverage of the sport of lacrosse on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
 NA  This template does not require a rating on the project's quality scale.
 

Contents

[edit] Markup

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)

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)
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)
Done --MrBoo (talk, contribs) 03:09, 24 February 2007 (UTC)

[edit] Hall of Fames

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)

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

[edit] Name

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)

[edit] Conversion to {{infobox}}

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)

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)
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 Face-wink.svg. --Yarnalgo talk to me 16:50, 25 April 2009 (UTC)
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).

[edit] Converting height_ft, height_in to height

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)

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

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)
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)
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)
Personal tools
Namespaces

Variants
Actions
Navigation
Interaction
Toolbox