Difference between revisions of "Template:Infobox college track and field"
Jump to navigation
Jump to search
imported>Corkythehornetfan (updated) |
imported>Colonies Chris m (→top: minor fixes, replaced: Washington (U.S. state)| → Washington (state)|) |
||
(2 intermediate revisions by one other user not shown) | |||
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 = | + | | label3 = Conference |
− | | data3 = {{{ | + | | data3 = {{#if:{{{conference|}}}|[[{{{conference}}}|{{{conference_short|{{{conf_short}}}}}}]] {{#if:{{{division|}}}|<br /> {{{division}}} Division}}}} |
− | |||
− | | | ||
− | |||
− | | | + | | label4 = Location |
− | + | | class4 = label | |
− | + | | data4 = {{#if:{{{location|}}} | |
− | |||
− | | | ||
− | | | ||
|{{{location}}} | |{{{location}}} | ||
|{{#if:{{{city|}}}|[[{{{city}}}, {{{stateabb}}}|{{{city}}}]], <span class="region">{{#if:{{{stateabb|}}} | |{{#if:{{{city|}}}|[[{{{city}}}, {{{stateabb}}}|{{{city}}}]], <span class="region">{{#if:{{{stateabb|}}} | ||
|{{#switch:{{{state}}} | |{{#switch:{{{state}}} | ||
| Georgia = [[Georgia (U.S. state)|{{{stateabb}}}]] | | Georgia = [[Georgia (U.S. state)|{{{stateabb}}}]] | ||
− | | Washington = [[Washington ( | + | | Washington = [[Washington (state)|{{{stateabb}}}]] |
| #default =[[{{{state}}}|{{{stateabb}}}]] | | #default =[[{{{state}}}|{{{stateabb}}}]] | ||
}} | }} | ||
Line 41: | Line 34: | ||
}} | }} | ||
− | | | + | | label5 = Head coach |
− | | | + | | data5 = {{#if:{{{coach|}}}|<span class="agent">{{{coach}}}</span> {{#if:{{{tenure|}}}|({{{tenure}}} season)}}}} |
− | | | + | | label6 = Indoor facility |
− | | | + | | data6 = {{#if:{{{indoor_facility|}}}|{{{indoor_facility}}} {{#if:{{{indoor_capacity|}}}|<br />(Capacity: {{{indoor_capacity}}})}}}} |
− | | | + | | label7 = Outdoor facility |
− | | | + | | data7 = {{#if:{{{outdoor_facility|}}}|{{{outdoor_facility}}} {{#if:{{{outdoor_capacity|}}}|<br />(Capacity: {{{outdoor_capacity}}})}}}} |
− | | | ||
− | | | + | | label8 = Nickname |
− | | | + | | class8 = nickname |
+ | | data8 = {{{nickname|}}} | ||
+ | |||
+ | | label9 = Colors | ||
+ | | data9 = {{College color list | ||
| color1 = {{{color1|}}} | | color1 = {{{color1|}}} | ||
| color2 = {{{color2|}}} | | color2 = {{{color2|}}} | ||
Line 65: | Line 61: | ||
}} | }} | ||
− | | | + | | header10 = {{#if:{{{men_indoor|}}}|Men indoor national championships}} |
− | | | + | | 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}}}'''}} | ||
− | | | + | | header16 = {{#if:{{{women_outdoor|}}}|Women outdoor national championships}} |
− | | | + | | data17 = {{#if:{{{women_outdoor|}}}|'''{{{women_outdoor|N/A}}}'''}} |
− | | | + | | header18 = {{#if:{{{indoor NCAA|}}}|Indoor NCAA appearances}} |
− | | | + | | data19 = {{#if:{{{indoor NCAA|}}}|'''{{{indoor NCAA|N/A}}}'''}} |
− | | | + | | header20 = {{#if:{{{outdoor NCAA|}}}|Outdoor NCAA appearances}} |
− | | | + | | data21 = {{#if:{{{outdoor NCAA|}}}|'''{{{outdoor NCAA|N/A}}}'''}} |
− | | | + | | header22 = {{#if:{{{indoor_conference_tournament|}}}|Indoor conference champions}} |
− | | | + | | data23 = {{#if:{{{indoor_conference_tournament|}}}|'''{{{indoor_conference_tournament|N/A}}}'''}} |
− | | | + | | header24 = {{#if:{{{outdoor_conference_champion|}}}|Outdoor conference champions}} |
− | | | + | | 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 | + | }}{{#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> |
Latest revision as of 12:25, 15 May 2020
[[Category:Infobox templates|Template:Remove first word]]
![]() | This template uses Lua: |
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
The above documentation is transcluded from Template:Infobox college track and field/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. |