Difference between revisions of "Template:Infobox college tennis team"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style for better HTML5 compatibility)
imported>Colonies Chris
m (→‎top: minor fixes, replaced: Washington (U.S. state)| → Washington (state)|)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding="4" width={{{width|"300"}}} style="font-size: 90%;"right;"
+
{{infobox
|-
+
| bodyclass = vcard
| colspan="2" style="text-align: center; font-size: larger;" | '''{{{name|{{FULLPAGENAME}}}}}'''
+
 
|-
+
| aboveclass = fn org
{{#if:{{{logo<includeonly>|</includeonly>}}}|
+
| above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{logo<noinclude>|Placeholder.png</noinclude>}}}|{{#if:{{{logo_size|}}}|{{{logo_size}}}|100x150}}px|center|{{{name|&#32;}}}|<small>''{{{name|}}} athletic logo'']]</small><br/>}}
+
 
|-
+
| headerstyle = {{#if:{{{bgcolor|}}}{{{hex1|}}}
! University
+
|{{#if:{{{bgcolor|}}}|background-color:{{{bgcolor}}}|background-color:#{{{hex1|}}}}};color:{{Greater color contrast ratio|{{#if:{{{bgcolor|}}}|{{{bgcolor}}}|{{{hex1|}}}}}}};
|style="padding-right: 1em;" | [[{{{university}}}]]
+
|{{#invoke:college color|header1|{{{athletics_name|{{{name|{{PAGENAMEBASE}}}}}}}}}}
|-
+
}}
! Conference
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{logo|}}}}}}|size={{{image_size|{{{logo_size|}}}}}}|sizedefault=frameless|title={{{caption|}}}}}
|style="padding-right: 1em;" | [[{{{conference}}}|{{{conference_short}}}]] {{#if:{{{division<includeonly>|</includeonly>}}}|<br /> {{{division}}} Division}}
+
| caption = {{{caption|{{{logo_caption|}}}}}}
|-
+
 
! Location
+
| label1 = Founded
|style="padding-right: 1em;" | [[{{{city}}}, {{{state}}}|{{{city}}}]], [[{{{state}}}|{{{stateabb}}}]]
+
| data1 = {{{founded|}}}
|-
+
 
! Head Coach
+
| label2 = University
|style="padding-right: 1em;" | {{{coach}}} ({{{tenure}}} year)
+
| data2 = {{#if:{{{university|}}}|[[{{{university}}}]]}}
|-
+
 
! Stadium
+
| label3 = Athletic director
|style="padding-right: 1em;" | {{{stadium}}}
+
| data3 = {{{athletic_director|}}}
|-
+
 
! Nickname
+
| label4 = Head coach
|style="padding-right: 1em;" | {{{nickname}}}  
+
| data4 = {{#if:{{{coach|}}}|<span class="agent">{{{coach}}}</span> {{#if:{{{tenure|}}}|({{{tenure}}} season)}}}}
|-
+
 
! Colors
+
| label5 = Conference
|style="padding-right: 1em;" | [[{{{color1|}}} (color)|{{{color1|}}}]] and [[{{{color2|}}} (color)|{{{color2|}}}]] {{#if:{{{color3<includeonly>|</includeonly>}}}| and [[{{{color3|}}} (color)|{{{color3|}}}]]}}
+
| data5 = {{#if:{{{conference|}}}|[[{{{conference}}}|{{{conference_short|{{{conf_short}}}}}}]] {{#if:{{{division|}}}|<br /> {{{division}}} Division}}}}
<span style="background-color:#{{{hex1|}}};width:50px;border:1px solid #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+
 
&nbsp;
+
| label6 = Location
<span style="background-color:#{{{hex2|}}};width:50px;border:1px solid #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+
| class6 = label
{{#if:{{{hex3<includeonly>|</includeonly>}}}|&nbsp;&nbsp;<span style="background-color:#{{{hex3|}}};width:50px;border:1px solid #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>}}
+
| data6 = {{#if:{{{location|}}}
|-
+
  |{{{location}}}
{{#if:{{{NCAAchampion<includeonly>|</includeonly>}}}|
+
  |{{#if:{{{city|}}}|[[{{{city}}}, {{{stateabb}}}|{{{city}}}]], <span class="region">{{#if:{{{stateabb|}}}
{{!}} colspan="2" style="text-align:center;background-color:#{{{hex1|}}};" {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Champions'''</font>
+
    |{{#switch:{{{state}}}
{{!}}-
+
      | Georgia    = [[Georgia (U.S. state)|{{{stateabb}}}]]
{{!}} colspan="2" style="text-align:center;background-color:#FFFFFF;" {{!}} '''{{{NCAAchampion|N/A}}}'''
+
      | Washington = [[Washington (state)|{{{stateabb}}}]]
{{!}}-
+
      | #default =[[{{{state}}}|{{{stateabb}}}]]
}}
+
      }}
{{#if:{{{NCAArunnerup<includeonly>|</includeonly>}}}|
+
    |{{{state|}}}
{{!}} colspan="2" style="text-align:center;background-color:#{{{hex1|}}};" {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Runner Up'''</font>
+
    }}</span>}}
{{!}}-
+
  }}
{{!}} colspan="2" style="text-align:center;background-color:#FFFFFF;" {{!}} '''{{{NCAArunnerup|N/A}}}'''
+
 
{{!}}-
+
| label7 = Home Court
}}
+
| data7 = {{#if:{{{stadium|}}}|{{{stadium}}} {{#if:{{{capacity|}}}|<br />(Capacity: {{{capacity}}})}}}}
{{#if:{{{NCAAsemifinals<includeonly>|</includeonly>}}}|
+
 
{{!}} colspan="2" style="text-align:center;background-color:#{{{hex1|}}};" {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Semifinals'''</font>
+
| label8 = Nickname
{{!}}-
+
| class8 = nickname
{{!}} colspan="2" style="text-align:center;background-color:#FFFFFF;" {{!}} '''{{{NCAAsemifinals|N/A}}}'''
+
| data8 = {{{nickname|}}}  
{{!}}-
+
 
}}
+
| label9 = Colors
{{#if:{{{NCAAquarterfinals<includeonly>|</includeonly>}}}|
+
| data9 = {{College color list
{{!}} colspan="2" style="text-align:center;background-color:#{{{hex1|}}};" {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Quarterfinals'''</font>
+
| color1 = {{{color1|}}}
{{!}}-
+
| color2 = {{{color2|}}}
{{!}} colspan="2" style="text-align:center;background-color:#FFFFFF;" {{!}} '''{{{NCAAquarterfinals|N/A}}}'''
+
| color3 = {{{color3|}}}
{{!}}-
+
| color4 = {{{color4|}}}
}}
+
| cite = {{{colorfootnotes|{{{color_footnotes|}}}}}}
{{#if:{{{NCAAroundof16<includeonly>|</includeonly>}}}|
+
| hex1 = {{{hex1|}}}
{{!}} colspan="2" style="text-align:center;background-color:#{{{hex1|}}};" {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Round of 16'''</font>
+
| hex2 = {{{hex2|}}}
{{!}}-
+
| hex3 = {{{hex3|}}}
{{!}} colspan="2" style="text-align:center;background-color:#FFFFFF;" {{!}} '''{{{NCAAroundof16|N/A}}}'''
+
| hex4 = {{{hex4|}}}
{{!}}-
+
| team = {{{athletics_name|{{{name|{{PAGENAMEBASE}}}}}}}}
}}
+
}}
{{#if:{{{NCAAroundof32<includeonly>|</includeonly>}}}|
+
 
{{!}} colspan="2" style="text-align:center;background-color:#{{{hex1|}}};" {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Round of 32'''</font>
+
| header10 = {{#if:{{{NCAAchampion|}}}|NCAA Tournament championships}}
{{!}}-
+
| data11 = {{#if:{{{NCAAchampion|}}}|'''{{{NCAAchampion|N/A}}}'''}}
{{!}} colspan="2" style="text-align:center;background-color:#FFFFFF;" {{!}} '''{{{NCAAroundof32|N/A}}}'''
+
 
{{!}}-
+
| header12 = {{#if:{{{NCAArunnerup|}}}|NCAA Tournament runner-up}}
}}
+
| data13 = {{#if:{{{NCAArunnerup|}}}|'''{{{NCAArunnerup|N/A}}}'''}}
{{#if:{{{NCAAtourneys<includeonly>|</includeonly>}}}|
+
 
{{!}} colspan="2" style="text-align:center;background-color:#{{{hex1|}}};" {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Appearances'''</font>
+
| header14 = {{#if:{{{NCAAsemifinals|}}}|NCAA Tournament Semifinals}}
{{!}}-
+
| data15 = {{#if:{{{NCAAsemifinals|}}}|'''{{{NCAAsemifinals|N/A}}}'''}}
{{!}} colspan="2" style="text-align:center;background-color:#FFFFFF;" {{!}} '''{{{NCAAtourneys|N/A}}}'''
+
 
{{!}}-
+
| header16 = {{#if:{{{NCAAquarterfinals|}}}|NCAA Tournament Quarterfinals}}
}}
+
| data17 = {{#if:{{{NCAAquarterfinals|}}}|'''{{{NCAAquarterfinals|N/A}}}'''}}
{{#if:{{{conference_tournament<includeonly>|</includeonly>}}}|
+
 
{{!}} colspan="2" style="text-align:center;background-color:#{{{hex1|}}};" {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''Conference Tournament Champions'''</font>
+
| header18 = {{#if:{{{NCAAroundof16|}}}|NCAA Tournament Round of 16}}
{{!}}-
+
| data19 = {{#if:{{{NCAAroundof16|}}}|'''{{{NCAAroundof16|N/A}}}'''}}
{{!}} colspan="2" style="text-align:center;background-color:#FFFFFF;" {{!}} '''{{{conference_tournament|N/A}}}'''
+
 
{{!}}-
+
| header20 = {{#if:{{{NCAAroundof32|}}}|NCAA Tournament Round of 32}}
}}
+
| data21 = {{#if:{{{NCAAroundof32|}}}|'''{{{NCAAroundof32|N/A}}}'''}}
{{#if:{{{conference_season<includeonly>|</includeonly>}}}|
+
 
{{!}} colspan="2" style="text-align:center;background-color:#{{{hex1|}}};" {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''Conference Regular Season Champions'''</font>
+
| header22 = {{#if:{{{NCAAtourneys|}}}|NCAA Tournament appearances}}
{{!}}-
+
| data23 = {{#if:{{{NCAAtourneys|}}}|'''{{{NCAAtourneys|N/A}}}'''}}
{{!}} colspan="2" style="text-align:center;background-color:#FFFFFF;" {{!}} '''{{{conference_season|N/A}}}'''
+
 
}}
+
| header24 = {{#if:{{{conference_tournament|}}}|Conference Tournament championships}}
|}<noinclude>
+
| data25 = {{#if:{{{conference_tournament|}}}|'''{{{conference_tournament|N/A}}}'''}}
 +
 
 +
| header26 = {{#if:{{{conference_season|}}}|Conference regular season champions}}
 +
| data27 = {{#if:{{{conference_season|}}}|'''{{{conference_season|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 tennis team]] with unknown parameter "_VALUE_"|ignoreblank=y| athletics_name | bgcolor | capacity | caption | city | athletic_director | coach | color_footnotes | color1 | color2 | color3 | color4 | colorfootnotes | conf_short | conference | conference_season | conference_short | conference_tournament | division | founded | hex1 | hex2 | hex3 | hex4 | image | image_size | location | logo | logo_caption | logo_size | name | NCAAchampion | NCAAquarterfinals | NCAAroundof16 | NCAAroundof32 | NCAArunnerup | NCAAsemifinals | NCAAtourneys | nickname | stadium | state | stateabb | tenure | university }}<noinclude>
 
{{documentation}}
 
{{documentation}}
 
[[Category:College tennis teams in the United States|*]]
 
[[Category:College tennis teams in the United States|*]]
 
[[Category:American college sports infobox templates|Tennis teams]]
 
[[Category:American college sports infobox templates|Tennis teams]]
 
</noinclude>
 
</noinclude>

Latest revision as of 12:24, 15 May 2020

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

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

Usage

Template:Parameter names example

{{Infobox college tennis team
| name = 
| logo = 
| logo_size = 
| founded = 
| university = 
| athletic_director = 
| coach = 
| tenure = 
| conference = 
| conference_short = 
| division = 
| location = 
| city = 
| state = 
| stateabb = 
| stadium = 
| nickname = 
| color1 = 
| color2 = 
| color3 = 
| color4 = 
| colorfootnotes = 
| hex1 = 
| hex2 = 
| hex3 = 
| hex4 = 
| NCAAchampion = 
| NCAArunnerup = 
| NCAAsemifinals = 
| NCAAquarterfinals = 
| NCAAroundof16 = 
| NCAAroundof32 = 
| NCAAtourneys = 
| conference_tournament = 
| conference_season = 
}}

Parameters

Required parameters

logo
The team's logo (e.g., Image.jpg)
university
conference
city
state
stateabb
coach
tenure
stadium
nickname
color1
color2
hex1
hex2

Optional parameters

name
Team name (defaults to full page name)
logo_size
The size in pixels at which the logo should be displayed (defaults to 100x150)
founded
conference_short
division
location
Alternative to using city/state/stateabb
color3
color4
colorfootnotes
hex3
hex4
NCAAchampion
List years of NCAA championships
NCAArunnerup
List years of NCAA Championship Runner Ups
NCAAsemifinals
List years of NCAA Championship Semifinals
NCAAquarterfinals
List years of NCAA Championship Quarterfinals
NCAAroundof16
List years of NCAA Championship Round of 16
NCAAroundof32
List years of NCAA Championship Round of 32
NCAAtourneys
List years of NCAA Tournament Appearances
conference_tournament
List years in which team won conference tournament
conference_season
List years in which team won conference regular season championship

Tracking category

Supporting template