Template talk:Hockey team

From Wikipedia, the free encyclopedia

This article is part of Wikipedia:WikiProject Ice Hockey, an attempt at building a useful ice hockey resource. If you would like to participate, you can choose to edit the article attached to this page (see Wikipedia:Contributing FAQ for more information).

Ice hockey Portal

??? This article has not yet received a rating on the quality scale.

Usage Example

A sample empty template.
  • Team, City and League fields are standard.
  • All other fields are optional.
  • Logosize if used must be ???px format.

{{Hockey team |
 team =  |
 logo =  |
 logosize =  |
 city =  |
 league =  |
 conference =  |
 division =  |
 founded =  |
 operated =  |
 arena =  |
 colours =  |
 coach =  |
 GM =  |
 affiliates =  |
 parentclub =  |
 farmclub =  |
<!---optional current franchise history--->
 name1 =  |
 dates1 =  |
 name2 =  |
 dates2 =  |
 name3 =  | 
 dates3 =  |
 name4 =  |
 dates4 =  |
 name5 =  |
 dates5 =  |
 name6 =  |
 dates6 =  |
 name7 =  |
 dates7 =  |
 name8 =  |
 dates8 =  |
 name9 =  |
 dates9 =  |
 name10 =  |
 dates10 =  |
<!---optional previous franchise history--->
 altname1 =  |
 altdates1 =  |
 altname2 =  |
 altdates2 =  |
 altname3 =  |
 altdates3 =  |
 altname4 =  |
 altdates4 =  |
 altname5 =  |
 altdates5 =  |
 altname6 =  |
 altdates6 =  |
 altname7 =  |
 altdates7 =  |
 altname8 =  |
 altdates8 =  |
|}}

Contents

[edit] Foreign equivalents

Does anyone know to make mention of a Finnish translation of this template, without disrupting formatting on team pages this template is included on? See this tag below. Flibirigit 15:12, 14 September 2006 (UTC)

sv:Mall:CHL-lag
  • I think it figured it out. A pair of "div" tags needed to be added. Flibirigit 15:19, 14 September 2006 (UTC)

[edit] Templates and Template:CHL team

(message to DMighton from ArglebargleIV)

Instead of creating a table for each of the teams you are editing, you should consider either using an existing infobox template or creating a new one. I can help with the template stuff if you wish. -- ArglebargleIV 16:01, 26 October 2006 (UTC)

My problem with building a template for ever team is that there is not enough variable from team to team if I need it... like southern ontario junior b team sometimes have parent and farm clubs... If the team has folded or gone on hiatus... then there is a problem with setting up years of operation on it... also... if the logo has a crappy bitrate... then I have to variate size... I've used the ones for the Canadian Hockey League in the past... and other leagues too... but I often have not found the right fit. DMighton 16:05, 26 October 2006 (UTC)

(Response) : I've had some experience with conditionals in templates, which could take care of most if not all of those problems. If you can give me a few examples of "problem" team articles, or ones that it's been difficult to fit possible standards to, I can take a shot at creating a composite conditional template over the next day or so that could be useful for all the articles. But don't let that stop you from adding your infoboxes, if what I had in mind works, they can be retrofitted. -- ArglebargleIV 16:11, 26 October 2006 (UTC)
Alright... here are a few example of the many different leagues and issues I got here lol... Owen Sound Greys, Aguasabon River Rats, Bramalea Blues, St. Michael's Buzzers. These are just some of the variety... a cross section... ummm... here is the template used in the Canadian Hockey League... I've had problems with it in the past: Sarnia Sting. DMighton 16:17, 26 October 2006 (UTC)
(Response) OK, thanks, I'll take a look and get back to you. -- ArglebargleIV 16:53, 26 October 2006 (UTC)
If I may interject to save you both some work, Template:CHL team already has the necessary fields, and optional parameters. It could be tweaked if you need anything else. Flibirigit 17:14, 26 October 2006 (UTC)

Thanks for the note -- actually, that's the template I'm modifying a copy of, off on a temp page in my userspace. Once I get it down, and where it won't break anything else, I'll discuss copying my changes back over the CHL team template. -- ArglebargleIV 17:17, 26 October 2006 (UTC)

Take a look at User:ArglebargleIV/testing team template. I used your examples in there, let me know what you think. -- ArglebargleIV 18:09, 26 October 2006 (UTC)

I've put together an extended and fully conditional version of Template:CHL team in my userspace, currently called User:ArglebargleIV/teamtemplate. Take a look at User:ArglebargleIV/testing team template. I used DMighton's examples in there, let me know what you think, and thanks for the advice!. -- ArglebargleIV 18:12, 26 October 2006 (UTC)

[edit] Background Info

I originally designed Template:CHL team for all teams in the Canadian Hockey League. At the time only Template:OHL team existed. and the QMJHL and WHL had only tables or no infobox. Devan and I chose to add "affiliates" to the box, but it needed to be optional. The "conference" field as also made optional for the QMJHL.

Since then, I've planned to make changes, but have not had much time. I'd like to add more optional fields to make the template applicable to defunct teams. Such fields are, "existence," "nhl affiliation" (which could be parent club) and so on. For examples, look at:

I'm comfortable adding these optional fields. I'd rather exclude the arena capacity and rink size. I just haven't had time to replace the text on over 100 teams.

A further project which I may not get to for a while is making Template:AHL team. Currently all those teams use tables. Flibirigit 19:02, 26 October 2006 (UTC)

[edit] Implementation

Well Flib, what do you think of it? DMighton 19:36, 26 October 2006 (UTC)

I'd like to implement it for every hockey team in Canada, professional leagues excluded for now. Flibirigit 19:43, 26 October 2006 (UTC)
Alright... then lets do it... the ones I've been doing so far have been very "rag-tag"... let's clean it up. Is it set up to go now? Or are the kinks worked out yet? DMighton 19:49, 26 October 2006 (UTC)
  • I've implemented the changes worked on and suggested by ArglebargleIV, with the following changes:
    • Tean name is fixed as per article title.
    • League is a mandatory field.
    • City is a mandatory field.

Flibirigit 20:16, 26 October 2006 (UTC)

LET'S UPDATE PAGES!! THANKS GUYS!! Flibirigit 20:20, 26 October 2006 (UTC)

[edit] Other leagues?

I've added capacity and ice size to my test version, but as optional sub-field of Home Arena -- take a look, if you like it I'll copy it over to CHL team template. -- ArglebargleIV 20:42, 26 October 2006 (UTC)

I'd rather leave it out, but if folks at Wikipedia:WikiProject Ice Hockey want it, then so be it. I'd also like to convince them that Template:CHL team is sufficient for American Hockey League teams. Thanks! Flibirigit 20:47, 26 October 2006 (UTC)
Subnote: Ice size, Mascots and ticket prices were omitted from older templates due to cumbersome sizes, and questionable wikiworthiness. Flibirigit 21:15, 26 October 2006 (UTC)
I like those changes. I'll try to update some of the Jr A/Jr B teams as I have time. Resolute 20:57, 26 October 2006 (UTC)
Incidentally, given that the scope of this template is being expanded to include other levels of junior hockey, and possibly even minor pro (which I would support), would it perhaps make sense to rename the template to something a little more generic? Resolute 23:40, 26 October 2006 (UTC)
It could be renamed, but then we have to change the text on every article its included on. Anyone have a robot? It could be called Template:Hockey team. Flibirigit 23:44, 26 October 2006 (UTC)
  • I just moved the template. It still works!! Flibirigit 23:50, 26 October 2006 (UTC)
Jason, can you help me... what is going on with the logo here: Oak Ridges Dynes. DMighton 07:16, 27 October 2006 (UTC)
If you have a photo that is 131x129 pixels, it may not resolve well to the parameters at 125x124 pixels. Needs a greater change in size to display well. Flibirigit 07:58, 27 October 2006 (UTC)
Also, the team name in the infobox doesn't reflect the team name entered into the text -- See: Richmond Hill Rams (MetJHL). So, I've done all the related teams for the Ontario Provincial Junior A Hockey League, Superior International Junior Hockey League, and Greater Metro Junior A Hockey League so far... DMighton 08:04, 27 October 2006 (UTC)
You can add the Northern Ontario Junior Hockey League to the done list. DMighton 10:51, 27 October 2006 (UTC)
I changed the paramter for the title. If you do not enter a name.. the default will be the article title. For the cases that have a (bracketed suffix) you can enter a name without the bracket, ie. Richmond Hill Rams. Flibirigit 08:12, 27 October 2006 (UTC)
I have only had time to update the Defunct QMJHL teams. Flibirigit 08:12, 27 October 2006 (UTC)
Sorry, not Richmond Hill... I meant Hamilton Red Wings Jr. A... I figured it out though... I was using the CHL Team Template... DMighton 08:18, 27 October 2006 (UTC)

[edit] Ten franchise moves

I've changed this to allow up to ten franchise moves. -- ArglebargleIV 21:24, 20 November 2006 (UTC)