Difference between revisions of "Template:Infobox college baseball team"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
[[Category:Infobox templates|Template:Remove first word]]
imported>João Do Rio |
imported>Corkythehornetfan (Being bold and adding the AD slot — I've tested it and it worked (at least it did on the test page)) |
||
| Line 24: | Line 24: | ||
| data3 = {{#if:{{{university|}}}|[[{{{university}}}]]}} | | data3 = {{#if:{{{university|}}}|[[{{{university}}}]]}} | ||
| − | | label4 = | + | | label4 = Athletic director |
| − | | data4 = {{ | + | | data4 = {{{athletic_director}}} |
| − | | label5 = Location | + | | label5 = Head coach |
| − | | | + | | data5 = {{#if:{{{coach|}}}|<span class="agent">{{{coach}}}</span> {{#if:{{{tenure|}}}|({{{tenure}}} year)}}}} |
| − | | | + | |
| + | | label6 = Conference | ||
| + | | data6 = {{#if:{{{conference|}}}|[[{{{conference}}}|{{{conference_short|{{{conf_short}}}}}}]] {{#if:{{{division|}}}|<br /> {{{division}}} Division}}}} | ||
| + | |||
| + | | label7 = Location | ||
| + | | class7 = label | ||
| + | | data7 = {{#if:{{{location|}}} | ||
|{{{location}}} | |{{{location}}} | ||
|{{#if:{{{city|}}}|[[{{{city}}}, {{{stateabb}}}|{{{city}}}]], <span class="region">{{#if:{{{stateabb|}}} | |{{#if:{{{city|}}}|[[{{{city}}}, {{{stateabb}}}|{{{city}}}]], <span class="region">{{#if:{{{stateabb|}}} | ||
| Line 41: | Line 47: | ||
}} | }} | ||
| − | | | + | | label8 = Home stadium |
| − | + | | data8 = {{#if:{{{stadium|}}}|{{{stadium}}} {{#if:{{{capacity|}}}|<br />(Capacity: {{{capacity}}})}}}} | |
| − | |||
| − | |||
| − | | | ||
| − | | | + | | label9 = Nickname |
| − | | | + | | class9 = nickname |
| − | | | + | | data = {{{nickname|}}} |
| − | | | + | | label10 = Colors |
| − | | | + | | data10 = {{College color list |
| color1 = {{{color1|}}} | | color1 = {{{color1|}}} | ||
| color2 = {{{color2|}}} | | color2 = {{{color2|}}} | ||
| Line 65: | Line 68: | ||
}} | }} | ||
| − | | | + | | label11 = Conference history |
| − | | | + | | data11 = {{{conference_history|}}} |
| − | | | + | | label12 = Overall record |
| − | | | + | | data12 = {{{record|}}} |
| − | | | + | | header13 = {{#if:{{{national_champion|{{{nat_champ|}}}}}}|NCAA Tournament champions}} |
| − | | | + | | data14 = {{#if:{{{national_champion|{{{nat_champ|}}}}}}|'''{{{national_champion|{{{nat_champ}}}}}}'''}} |
| − | | | + | | header15 = {{#if:{{{runner-up|{{{runner_up|}}}}}}|College World Series runner-up}} |
| − | | | + | | data16 = {{#if:{{{runner-up|{{{runner_up|}}}}}}|'''{{{runner-up|{{{runner_up}}}}}}'''}} |
| − | | | + | | header17 = {{#if:{{{cws|}}}|College World Series appearances}} |
| − | | | + | | data18 = {{#if:{{{cws|}}}|'''{{{cws}}}'''}} |
| − | | | + | | header19 = {{#if:{{{regional_champion|{{{regional_champ|}}}}}}|NCAA regional champions}} |
| − | | | + | | data20 = {{#if:{{{regional_champion|{{{regional_champ|}}}}}}|'''{{{regional_champion|{{{regional_champ}}}}}}'''}} |
| − | | | + | | header21 = {{#if:{{{ncaa_tourneys|{{{ncaa_tourn|}}}}}}|NCAA Tournament appearances}} |
| − | | | + | | data22 = {{#if:{{{ncaa_tourneys|{{{ncaa_tourn|}}}}}}|'''{{{ncaa_tourneys|{{{ncaa_tourn}}}}}}'''}} |
| − | | | + | | header23 = {{#if:{{{conference_tournament|{{{conf_tourn|}}}}}}|Conference tournament champions}} |
| − | | | + | | data24 = {{#if:{{{conference_tournament|{{{conf_tourn|}}}}}}|'''{{{conference_tournament|{{{conf_tourn}}}}}}'''}} |
| − | | | + | | header25 = {{#if:{{{conference_champion|{{{conf_champ|}}}}}}|Conference champions}} |
| − | | | + | | data26 = {{#if:{{{conference_champion|{{{conf_champ|}}}}}}|'''{{{conference_champion|{{{conf_champ}}}}}}'''}} |
| − | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox college sports team with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox college baseball team]] with unknown parameter "_VALUE_"|ignoreblank=y| athletics_name | bgcolor | capacity | caption | city | coach | color_footnotes | color1 | color2 | color3 | color4 | colorfootnotes | conf_champ | conf_short | conf_tourn | conference | conference_champion | conference_history | conference_short | conference_tournament | current | cws | division | founded | defunct | hex1 | hex2 | hex3 | hex4 | image | image_size | location | logo | logo_caption | logo_size | name | nat_champ | national_champion | ncaa_tourn | ncaa_tourneys | nickname | record | regional_champ | regional_champion | runner_up | runner-up | stadium | state | stateabb | tenure | university }}<noinclude>{{documentation}}</noinclude> | + | }}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox college sports team with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox college baseball team]] with unknown parameter "_VALUE_"|ignoreblank=y| athletics_name | bgcolor | capacity | caption | city | athletic_director | coach | color_footnotes | color1 | color2 | color3 | color4 | colorfootnotes | conf_champ | conf_short | conf_tourn | conference | conference_champion | conference_history | conference_short | conference_tournament | current | cws | division | founded | defunct | hex1 | hex2 | hex3 | hex4 | image | image_size | location | logo | logo_caption | logo_size | name | nat_champ | national_champion | ncaa_tourn | ncaa_tourneys | nickname | record | regional_champ | regional_champion | runner_up | runner-up | stadium | state | stateabb | tenure | university }}<noinclude>{{documentation}}</noinclude> |
Revision as of 00:47, 19 June 2017
| Athletic director | {{{athletic_director}}} |
|---|
[[Category:Infobox templates|Template:Remove first word]]
| 30px | This template uses Lua: |
This template is designed to be put on general college baseball pages. It should be placed as the very first item in an article.
Contents
Usage
Template:Parameter names example
{{Infobox college baseball team
| name =
| current =
| logo =
| logo_size =
| founded = {{Start date|YYYY}}
| defunct =
| university =
| athletic_director =
| coach =
| tenure =
| conference =
| division =
| location =
| stadium =
| capacity =
| nickname =
| color1 =
| color2 =
| color3 =
| color4 =
| colorfootnotes = <!--or: | color_footnotes = -->
| hex1 =
| hex2 =
| hex3 =
| hex4 =
| conference_history =
| record =
| nat_champ = <!--or: | national_champion = -->
| runner_up = <!--or: | runner-up = -->
| cws =
| regional_champ = <!--or: | regional_champion = -->
| ncaa_tourn = <!--or: | ncaa_tourneys = -->
| conf_tourn = <!--or: | conference_tournament = -->
| conf_champ = <!--or: | conference_champion = -->
}}
Parameters
- name
- Team name (defaults to full page name)
- logo
- The team's logo (e.g., Image.jpg)
- founded
- The year the baseball team was founded. Use {{Start date}}
- defunct
- The year the baseball team was discontinued
- university
- Name of the university
- conference
- Name of the conference (use conf_short to abbreviate the name if necessary)
- location
- alternative to using cite/state/stateabb parameters
- city
- The baseball team's home city
- stateabb
- Abbreviation of the baseball team's home state
- state
- The baseball team's home state
- coach
- The name of the head coach
- tenure
- Ordinal for the number of years the head coach has been the head coach
- stadium
- Name of the home stadium
- capacity
- Capacity of the home stadium
- nickname
- Nickname for the team
- color1
- Name of the first team color (e.g., Red)
- color2
- Name of the second team color (e.g., White)
- hex1
- Hex value for the first team color (e.g., FFEEEE)
- hex2
- Hex value for the second team color (e.g., FFFFFF)
Optional parameters
- current
- Link to current season
- record
- Team's overall record
- logo_size
- The size in pixels at which the logo should be displayed (defaults to 100x150)
- cws
- List years of CWS appearances
- ncaa_tourn
- List years of NCAA Tournament appearances
- conf_short
- short name for the conference
- division
- name of the division
- color3
- for teams with three colors (syntax is the same as color1 and color2)
- fontcolor
- sets the font color for the lower headings (default is to use #hex2)
- bgcolor
- sets the background color for the lower headings (default is to use #hex1)
- nat_champ
- List years of National Championships
- runner_up
- List years of team being runner-up in the College World Series
- cws
- Appearances in the College World Series
- regional_champ
- List years in which team won NCAA Regional championship
- conf_tourn
- List years in which team won conference tournament
- conf_champ
- List years in which team won conference championship
Examples
| Houston Cougars | |
|---|---|
| 33px 2011 Houston Cougars baseball team | |
| Founded | 1947 |
| University | University of Houston |
| Athletic director | {{{athletic_director}}} |
| Head coach | Rayner Noble (14th year) |
| Conference | C-USA West Division |
| Location | Houston, TX |
| Home stadium | Cougar Field (Capacity: 3,500) |
| College World Series appearances | |
| 1953, 1967 | |
| NCAA regional champions | |
| 1953, 1967, 2000, 2002, 2003 | |
| NCAA Tournament appearances | |
| 1951, 1953, 1958, 1960, 1966, 1967, 1982, 1985, 1987, 1990, 1997, 1999, 2000, 2001, 2002, 2003, 2006 | |
| Conference tournament champions | |
| 1951, 1997, 2000 | |
| Conference champions | |
| 1950, 1951, 1953, 1960, 1999, 2000, 2002 | |
{{Infobox college baseball team
| name = Houston Cougars
| current = 2011 Houston Cougars baseball team
| logo =
| logo_size = 100px
| founded = {{Start date|1947}}
| university = University of Houston
| conference = Conference USA
| conf_short = C-USA
| division = West
| city = Houston
| stateabb = TX
| state = Texas
| coach = [[Rayner Noble]]
| tenure = 14th
| stadium = [[Cougar Field]]
| capacity = 3,500
| nickname = [[Houston Cougars|Cougars]]
| nat_champ =
| cws = 1953, 1967
| regional_champ = 1953, 1967, 2000, 2002, 2003
| ncaa_tourn = 1951, 1953, 1958, 1960, 1966, 1967, 1982, 1985, 1987, 1990, 1997, 1999, 2000, 2001, 2002, 2003, 2006
| conf_tourn = 1951, 1997, 2000
| conf_champ = 1950, 1951, 1953, 1960, 1999, 2000, 2002
}}
| Tulane Green Wave | |
|---|---|
| 33px 2011 Tulane Green Wave baseball team | |
| Founded | 1893 |
| University | Tulane University |
| Athletic director | {{{athletic_director}}} |
| Head coach | Rick Jones (15th year) |
| Conference | CUSA |
| Location | New Orleans, LA |
| Home stadium | Greer Field at Turchin Stadium (Capacity: 5,000) |
| College World Series appearances | |
| 2001, 2005 | |
| NCAA regional champions | |
| 2001, 2004, 2005 | |
| NCAA Tournament appearances | |
| 1979, 1982, 1983, 1986, 1987, 1988, 1992, 1994, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 | |
| Conference tournament champions | |
| Metro: 1979, 1982, 1992 CUSA: 1996, 1998, 1999, 2001, 2005 | |
| Conference champions | |
| SEC: 1948 CUSA: 1997, 1998, 2001, 2005 | |
{{Infobox college baseball team
| name = Tulane Green Wave
| current = 2011 Tulane Green Wave baseball team
| logo =
| logo_size =
| founded = {{Start date|1893}}
| university = Tulane University
| conference = Conference USA
| conf_short = CUSA
| division =
| city = New Orleans
| stateabb = LA
| state = Louisiana
| coach = [[Rick Jones (baseball coach)|Rick Jones]]
| tenure = 15th
| stadium = [[Greer Field at Turchin Stadium]]
| capacity = 5,000
| nickname = [[Tulane Green Wave|Green Wave]]
| nat_champ =
| cws = 2001, 2005
| regional_champ = 2001, 2004, 2005
| ncaa_tourn = 1979, 1982, 1983, 1986, 1987, 1988, 1992, 1994, 1996, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
| conf_tourn = Metro: 1979, 1982, 1992<br />CUSA: 1996, 1998, 1999, 2001, 2005
| conf_champ = SEC: 1948<br />CUSA: 1997, 1998, 2001, 2005
}}
Microformat
Tracking category
Supporting template
| The above documentation is transcluded from Template:Infobox college baseball team/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |