Template talk:College coach infobox
From Wikipedia, the free encyclopedia
Contents |
---|
[edit] Documentation
[edit] Purpose
This is a template to be used for coaches of collegiate athletics.
[edit] Usage
[edit] Required fields
{{College coach infobox | Name = (Coach's name) | Sport = (Sport coached) | Coach = (Field that triggers the next 2 attributes) | CoachYears = (Years coached at schools) | CoachTeams = (Schools coached) }}
[edit] Optional fields
| Image = (Image of the coach) | ImageWidth = (If image is smaller than 200px wide) | Caption = (Caption for the image) | DateOfBirth = (Coach's birthday) | Birthplace = (Birthplace of the coach) | DateOfDeath = (Date of death for the coach) | Deathplace = (Place of death for the coach) | College = (Name of school currently coached) | Title = (Official title) | Awards = (Awards the coach has received) | Championships = (Championship won by the coach) | CurrentRecord = (Record at current school) | OverallRecord = (Overall coaching record) | CFbDWID = (The ID of the coach on cfbdatawarehouse.com) | Player = (Field that triggers the next 2 attributes) | Years = (Years the coach played football) | Team = (The team the coach played college football for) | Position = (The position the coach played in college) | FootballHOF = (Year the coach was inducted into the [[College Football Hall of Fame]] | BBallHOF = (Year the coach was inducted into the [[Basketball Hall of Fame]]
[edit] Empty
{{College coach infobox | Name = | Image = | ImageWidth = | Caption = | DateOfBirth = | Birthplace = | DateOfDeath = | Deathplace = | Sport = | College = | Title = | CurrentRecord = | OverallRecord = | Awards = | Championships = | CFbDWID = | Player = | Years = | Team = | Position = | Coach = | CoachYears = | CoachTeams = | FootballHOF = | BBallHOF = }}
[edit] Example
Coach's Image | ||
Date of birth | January 1, 1940 | |
---|---|---|
Place of birth | New York City, New York | |
Sport | Football | |
College | University of Oklahoma | |
Title | Head coach | |
Record with Team | 55-11 | |
Overall Record | 102-33 | |
Awards | 2000 Walter Camp Coach of the Year 2003 AP Coach of the Year |
|
Championships won |
2004 BCS National Championship | |
Coaching Stats | College Football DataWarehouse | |
School as a player | ||
1960-1963 | University of Minnesota | |
Position | Quarterback | |
Schools as a coach | ||
1983-current 1976-1982 1970-1976 |
University of Oklahoma University of Texas University of Miami |
{{College coach infobox | Name = Coach's Name | Image = | Caption = Coach's Image | DateOfBirth = [[January 1]], [[1940]] | Birthplace = [[New York City, New York]] | DateOfDeath = | Sport = [[American football|Football]] | College = [[University of Oklahoma]] | Title = [[Head coach]] | CurrentRecord = 55-11 | OverallRecord = 102-33 | Awards = 2000 Walter Camp Coach of the Year <br>2003 AP Coach of the Year | Championships = 2004 [[BCS]] National Championship | CFbDWID = 2504 | Player = Any text will trigger | Years = 1960-1963 | Team = [[University of Minnesota]] | Position = Quarterback | Coach = Any text will trigger | CoachYears = 1983-current<br>1976-1982<br>1970-1976 | CoachTeams = [[University of Oklahoma]]<br> [[University of Texas]]<br> [[University of Miami]] | FootballHOF = |
- Note: Line broken for readability.
[edit] History
- Created
- NMajdan•talk 18:42, 22 June 2006 (UTC)
- DOB no longer required
- NMajdan•talk 20:39, 26 June 2006 (UTC)
[edit] Discussion
Contents |
[edit] Overlay
- Great work, User:Nmajdan - thanks for creating this. My only problem is that the example does not display correctly for me - the example is overlayed on top of itself. I am using Firefox on a 1024 x 768 disply. (Off topic - nice picture of Stoops - I'm glad we have one where he is not wearing that God-awful golf visor.) Johntex\talk 17:03, 23 June 2006 (UTC)
- Hmmm, I too am using Firefox with the same resolution and I see no problem. What do you mean overlayed on top of itself? (Off topic - I'd like to see a pic of Mack without that God-awful hook'em sign.)--NMajdan•talk 17:46, 23 June 2006 (UTC)
- Ha! Right back at me. touché. I will upload a screenshot of what I am seeing to the commons. Johntex\talk 17:54, 23 June 2006 (UTC)
- Ok. Any issue on the Bob Stoops page? Maybe its just an issue on this page with the <pre></pre> right next to it.--NMajdan•talk 17:58, 23 June 2006 (UTC)
- Here is the screenshot: Image:Wikipedia template screenshot.JPG. I think the problem is that my Task Bar is on the left-hand side of the screen, thereby reducing the browser width slightly. I find this very efficient because the names of the running programs have more room to be written in this format than when they are competing for a single line at the bottom of the screen. I don't know how common my configuration is. You will see the same effect if you take your browser window off maximum size. I guess it would be fixable here by placing the example below rather than beside the other text, or we could just not worry about it. Johntex\talk 18:01, 23 June 2006 (UTC)
- I assume this problem would be worse at 800x600, even if the browser is maximized. Johntex\talk 18:03, 23 June 2006 (UTC)
- Saw the screenshot. I have that too. Its normal. I have style="background: transparent;" in the code of the example. I copied this discussion page layout from {{Infobox University}} so that is where that came from. That line of code is not in the actual template (its actually in the <pre> section and not the template) and thus doesn't affect the actual pages.--NMajdan•talk 18:04, 23 June 2006 (UTC)
- Ha! Right back at me. touché. I will upload a screenshot of what I am seeing to the commons. Johntex\talk 17:54, 23 June 2006 (UTC)
- Hmmm, I too am using Firefox with the same resolution and I see no problem. What do you mean overlayed on top of itself? (Off topic - I'd like to see a pic of Mack without that God-awful hook'em sign.)--NMajdan•talk 17:46, 23 June 2006 (UTC)
[edit] Coaching Positions
I think we should only have head coaching positions listed under the coach's resume in the box. Comments? What about if there is a break in the years? It might look funny, but is listing the entire resume part of the point of this box? If someone wants the entire details, they can read the article which should list it. Mecu 15:47, 3 July 2006 (UTC)
- Since there is no field in the infobox for coaching position, I think that the assumption when it was created was that only head coaching jobs would be listed. However, I think an important part of each coach's philosophy and attitude toward the game comes from what positions they held as assitant coaches (i.e. all the Stoops brothers were defensive coaches/coordinators so have a defence-first mentality). Maybe head coaching and coordinator positions? Of course, that would require some adjustment to the infobox and the use of abbreviations (HC = head coach, OC = offensive coordinator, DC = defensive coordinator are the standards, I think). Z4ns4tsu 19:49, 17 July 2006 (UTC)
- I think only having head coaching positions in the resume box is smart. Otherwise, the box could get pretty long. However, there is a field for coaching positions. Its Title. If you look on some filled in examples of the template, you'll see | title=Head coach. I intended this field to be used if someone was entering in an OC or DC. Unless you were meaning there was no field in the coaching history part for coaching position, in which case, that is true. I based this infobox on the NFL infobox and they only include head coaching positions so I think we should be consistent with that.--NMajdan•talk 20:47, 17 July 2006 (UTC)
[edit] Cleaning up optional parameters
I have cleaned this template up by replacing the nasty HiddenStructure with nice ParserFunctions. In the process I have hopefully made it simpler to use, because you won't need to use the Player and Coach parameters to "trigger" the display of the relevant sections: just filling in one of the parameters used in that section will cause it to display. Slightly surprisingly, I found that Coach was being treated as "optional" despite the instructions above, so I have preserved this. There is further simplification which can be done which I can do which would enable those parameters to be removed entirely. If anybody objects to this, please drop me a message. Otherwise I'll get to it as soon as my next shipment of round tuits arrives. HTH HAND —Phil | Talk 13:33, 5 October 2006 (UTC)