Difference between revisions of "Template:Infobox college track and field"

From blackwiki
Jump to navigation Jump to search
imported>Corkythehornetfan
(updated)
imported>Corkythehornetfan
(Undid revision 787022601 by Corkythehornetfan (talk) Nvm)
Line 8: Line 8:
 
  |{{#if:{{{bgcolor|}}}|background-color:{{{bgcolor}}}|background-color:#{{{hex1|}}}}};color:{{Greater color contrast ratio|{{#if:{{{bgcolor|}}}|{{{bgcolor}}}|{{{hex1|}}}}}}};
 
  |{{#if:{{{bgcolor|}}}|background-color:{{{bgcolor}}}|background-color:#{{{hex1|}}}}};color:{{Greater color contrast ratio|{{#if:{{{bgcolor|}}}|{{{bgcolor}}}|{{{hex1|}}}}}}};
 
  |{{#invoke:college color|header1|{{{athletics_name|{{{name|{{PAGENAMEBASE}}}}}}}}}}
 
  |{{#invoke:college color|header1|{{{athletics_name|{{{name|{{PAGENAMEBASE}}}}}}}}}}
  }}
+
  }}  
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{logo|}}}}}}|size={{{image_size|{{{logo_size|}}}}}}|sizedefault=frameless|title={{{caption|}}}}}
 
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{logo|}}}}}}|size={{{image_size|{{{logo_size|}}}}}}|sizedefault=frameless|title={{{caption|}}}}}
 
| caption = {{{caption|{{{logo_caption|}}}}}}
 
| caption = {{{caption|{{{logo_caption|}}}}}}
 
 
| label1 = Founded
 
| label1 = Founded
 
| data1 = {{{founded|}}}
 
| data1 = {{{founded|}}}
Line 18: Line 17:
 
| data2 = {{#if:{{{university|}}}|[[{{{university}}}]]}}
 
| data2 = {{#if:{{{university|}}}|[[{{{university}}}]]}}
  
| label3 = Athletic director
+
| label3 = Conference
| data3 = {{{athletic_director|}}}
+
| data3 = {{#if:{{{conference|}}}|[[{{{conference}}}|{{{conference_short|{{{conf_short}}}}}}]] {{#if:{{{division|}}}|<br /> {{{division}}} Division}}}}
 
 
| label4 = Head coach
 
| data4 = {{#if:{{{coach|}}}|<span class="agent">{{{coach}}}</span> {{#if:{{{tenure|}}}|({{{tenure}}} year)}}}}
 
  
| label5 = Conference
+
| label4 = Location
| data5 = {{#if:{{{conference|}}}|[[{{{conference}}}|{{{conference_short|{{{conf_short}}}}}}]] {{#if:{{{division|}}}|<br /> {{{division}}} Division}}}}
+
| class4 = label
 
+
| data4 = {{#if:{{{location|}}}
| label6 = Location
 
| class6 = label
 
| data6 = {{#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 34:
 
   }}
 
   }}
  
| label7 =Indoor track facility
+
| label5 = Head coach
| data7 = {{{indoortrack_facility|}}}
+
| data5 = {{#if:{{{coach|}}}|<span class="agent">{{{coach}}}</span> {{#if:{{{tenure|}}}|({{{tenure}}} year)}}}}
  
| label8 =Outdoor track facility
+
| label6 = Indoor facility
| data8 ={{{outdoortrack_facility|}}}
+
| data6 = {{#if:{{{indoor_facility|}}}|{{{indoor_facility}}} {{#if:{{{indoor_capacity|}}}|<br />(Capacity: {{{indoor_capacity}}})}}}}
  
| label9 = Nickname
+
| label7 = Outdoor facility
| class9 = nickname
+
| data7 = {{#if:{{{outdoor_facility|}}}|{{{outdoor_facility}}} {{#if:{{{outdoor_capacity|}}}|<br />(Capacity: {{{outdoor_capacity}}})}}}}
| data9 = {{{nickname|}}}  
 
  
| label10 = Colors
+
| label8 = Nickname
| data10 = {{College color list
+
| class8 = nickname
 +
| data8 = {{{nickname|}}}
 +
 
 +
| label9 = Colors
 +
| data9 = {{College color list
 
  | color1 = {{{color1|}}}
 
  | color1 = {{{color1|}}}
 
  | color2 = {{{color2|}}}
 
  | color2 = {{{color2|}}}
Line 65: Line 61:
 
  }}
 
  }}
  
| header11 = {{#if:{{{NCAAindoorchampion|}}}|NCAA indoor championships}}
+
| header10 = {{#if:{{{men_indoor|}}}|Men indoor national championships}}
| data12 = {{#if:{{{NCAAindoorchampion|}}}|'''{{{NCAAindoorchampion|N/A}}}'''}}
+
| data11 = {{#if:{{{men_indoor|}}}|'''{{{men_indoor|N/A}}}'''}}
 +
 
 +
| header12 = {{#if:{{{women_indoor|}}}|Women indoor national championships}}
 +
| data13 = {{#if:{{{women_indoor|}}}|'''{{{women_indoor|N/A}}}'''}}
 +
 
 +
| header14 = {{#if:{{{men_outdoor|}}}|Men outdoor national championships}}
 +
| data15 = {{#if:{{{men_outdoor|}}}|'''{{{men_outdoor|N/A}}}'''}}
  
| header13 = {{#if:{{{NCAAoutdoorchampion|}}}|NCAA outdoor championships}}
+
| header16 = {{#if:{{{women_outdoor|}}}|Women outdoor national championships}}
| data14 = {{#if:{{{NCAAoutdoorchampion|}}}|'''{{{NCAAoutdoorchampion|N/A}}}'''}}
+
| data17 = {{#if:{{{women_outdoor|}}}|'''{{{women_outdoor|N/A}}}'''}}
  
| header15 = {{#if:{{{NCAAindoortourneys|}}}|NCAA Indoor Tournament appearances}}
+
| header18 = {{#if:{{{indoor NCAA|}}}|Indoor NCAA appearances}}
| data16 = {{#if:{{{NCAAindoortourneys|}}}|'''{{{NCAAindoortourneys|N/A}}}'''}}
+
| data19 = {{#if:{{{indoor NCAA|}}}|'''{{{indoor NCAA|N/A}}}'''}}
  
| header17 = {{#if:{{{NCAAoutdoortourneys|}}}|NCAA Outdoor Tournament appearances}}
+
| header20 = {{#if:{{{outdoor NCAA|}}}|Outdoor NCAA appearances}}
| data18 = {{#if:{{{NCAAoutdoortourneys|}}}|'''{{{NCAAoutdoortourneys|N/A}}}'''}}
+
| data21 = {{#if:{{{outdoor NCAA|}}}|'''{{{outdoor NCAA|N/A}}}'''}}
  
| header19 = {{#if:{{{conference_indoor|}}}|Conference indoor championships}}
+
| header22 = {{#if:{{{indoor_conference_tournament|}}}|Indoor conference champions}}
| data20 = {{#if:{{{conference_indoor|}}}|'''{{{conference_indoor|N/A}}}'''}}
+
| data23 = {{#if:{{{indoor_conference_tournament|}}}|'''{{{indoor_conference_tournament|N/A}}}'''}}
  
| header21 = {{#if:{{{conference_outdoor|}}}|Conference outdoor championships}}
+
| header24 = {{#if:{{{outdoor_conference_champion|}}}|Outdoor conference champions}}
| data22 = {{#if:{{{conference_outdoor|}}}|'''{{{conference_outdoor|N/A}}}'''}}
+
| data25 = {{#if:{{{outdoor_conference_champion|}}}|'''{{{outdoor_conference_champion|N/A}}}'''}}
  
}}{{#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 track and field team]] with unknown parameter "_VALUE_"|ignoreblank=y| athletics_name | bgcolor | caption | city | athletic_director | coach | color_footnotes | color1 | color2 | color3 | color4 | colorfootnotes | conf_short | conference | conference_indoor | conference_outdoor | conference_short | division | founded | hex1 | hex2 | hex3 | hex4 | image | image_size | indoortrack_facility | location | logo | logo_caption | logo_size | name | NCAAindoorchampion | NCAAindoortourneys | NCAAoutdoorchampion | NCAAoutdoortourneys | nickname | outdoortrack_facility | state | stateabb | tenure | university }}<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 track and field]] with unknown parameter "_VALUE_"|ignoreblank=y| athletics_name | bgcolor | caption | city | coach | color_footnotes | color1 | color2 | color3 | color4 | colorfootnotes | conf_short | conference | conference_short | division | founded | hex1 | hex2 | hex3 | hex4 | image | image_size | indoor NCAA | indoor_capacity | indoor_conference_tournament | indoor_facility | location | logo | logo_caption | logo_size | men_indoor | men_outdoor | name | nickname | outdoor NCAA | outdoor_capacity | outdoor_conference_champion | outdoor_facility | state | stateabb | tenure | university | women_indoor | women_outdoor }}<noinclude>
 
{{documentation}}
 
{{documentation}}
 +
[[Category:American college sports infobox templates|Track and field]]
 
</noinclude>
 
</noinclude>

Revision as of 23:44, 22 June 2017

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

This template is designed to be put on general college track and field pages. It should be placed as the very first item in an article.

Blank template

Template:Parameter names example

{{Infobox college track and field
| name = 
| logo = 
| logo_size = 
| founded = 
| university = 
| conference = 
| conference_short = 
| division = 
| location = 
| city = 
| state = 
| stateabb = 
| coach = 
| tenure = 
| indoor_facility = 
| indoor_capacity = 
| outdoor_facility = 
| outdoor_capacity = 
| nickname = 
| color1 = 
| color2 = 
| color3 = 
| color4 = 
| colorfootnotes = 
| hex1 = 
| hex2 = 
| hex3 = 
| hex4 = 
| men_indoor = 
| women_indoor = 
| men_outdoor = 
| women_outdoor = 
| indoor NCAA = 
| outdoor NCAA = 
| indoor conference_tournament = 
| outdoor conference_champion = 
}}

Parameters

logo
The team's logo (e.g., Image.jpg)
founded
The year the team was founded
university
conference
conference_short
division
location
Alternative to cite/state/stateabb
city
state
stateabb
coach
tenure
indoor_facility
indoor_capacity
outdoor_facility
outdoor_capacity
nickname
color1
color2
color3
color4
colorfootnotes
hex1
hex2
hex3
hex4
men_indoor
List years of National Championships
women_indoor
List years of National Championships
men_outdoor
List years of National Championships
women_outdoor
List years of National Championships
indoor NCAA
List years of NCAA appearances
outdoor NCAA
List years of NCAA appearances
indoor conference_tournament
List years in which team won conference tournament
outdoor conference_champion
List years in which team won conference championship

Tracking category

Supporting template

See also