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

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style for better HTML5 compatibility)
imported>Frietjes
Line 1: Line 1:
{| class="infobox" cellpadding="4" width={{{width|"300"}}} style="font-size: 90%;"
+
{{Infobox
|-
+
|bodyclass    = vcard
| colspan="2" style="text-align: center; font-size: larger;" | '''{{{name|{{FULLPAGENAME}}}}}'''
+
|aboveclass  = fn org
|-
+
|above        = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
|-
+
| headerstyle = {{#if:{{{bgcolor|}}}{{{hex1|}}}{{{fontcolor|}}}{{{hex2|}}}
{{#if:{{{current|}}}|
+
| {{#if:{{{bgcolor|}}}|background: {{{bgcolor}}}|background: #{{{hex1|}}}}}; {{#if:{{{fontcolor|}}}|color: {{{fontcolor}}}|color: #{{{hex2|}}}}};
{{!}} colspan=2 style="text-align:center;" {{!}} [[File:Soccerball current event.svg|33px|alt=|link=]] ''[[{{{current}}}]]'' }}
+
|{{#invoke:college color|header1|{{{athletics_name|{{{name|{{PAGENAMEBASE}}}}}}}}}}
|-
+
}}
{{#if:{{{logo<includeonly>|</includeonly>}}}|
+
|subheader = {{#if:{{{current|}}}|[[File:Soccerball current event.svg|33px|alt=|link=]] ''[[{{{current}}}]]'' }}
{{!}} 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/>}}
+
 
|-
+
|image        = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{logo|}}}}}}|size={{{image_size|{{{logo_size|}}}}}}|sizedefault=frameless|title={{{caption|}}}}}
! University
+
|caption      = {{{caption|{{{logo_caption|}}}}}}
|style="padding-right: 1em;" | [[{{{university}}}]]  
+
 
|-
+
|label1  = Founded
! Conference
+
|data1    = {{{founded|}}}
|style="padding-right: 1em;" | [[{{{conference}}}|{{{conference_short}}}]] {{#if:{{{division<includeonly>|</includeonly>}}}|<br /> Division {{{division}}}}}
+
 
|-
+
|label2  = University
{{#if:{{{founded|}}}
+
|data2    = {{#if:{{{university|}}}|[[{{{university}}}]]}}
! Founded
+
 
{{!}} style="padding-right: 1em;" {{!}} {{{founded}}}
+
|label3  = Conference
}}
+
|data3    = {{#if:{{{conference|}}}|[[{{{conference}}}|{{{conference_short}}}]] {{#if:{{{division|}}}|<br>{{{division}}} Division}} }}
|-
+
 
! Location
+
|label4  = Location
|style="padding-right: 1em;" | [[{{{city}}}, {{{stateabb}}}|{{{city}}}]], [[{{{state}}}|{{{stateabb}}}]]
+
|class4  = label
|-
+
|data4    = {{#if:{{{location|}}}
! Head Coach
+
  |{{{location}}}
|style="padding-right: 1em;" | {{{coach}}} {{#if:{{{tenure|}}}|({{{tenure}}} year)}}
+
  |{{#if:{{{city|}}}|[[{{{city}}}, {{{stateabb}}}|{{{city}}}]], <span class="region">{{#if:{{{stateabb|}}}
|-
+
    |{{#switch:{{{state}}}
! Stadium
+
      | Georgia    = [[Georgia (U.S. state)|{{{stateabb}}}]]
|style="padding-right: 1em;" | {{{stadium}}} <br />(Capacity: {{{capacity}}})
+
      | Washington = [[Washington (U.S. state)|{{{stateabb}}}]]
|-
+
      | #default =[[{{{state}}}|{{{stateabb}}}]]
! Nickname
+
      }}
|style="padding-right: 1em;" | {{{nickname}}}  
+
    |{{{state|}}}
|-
+
    }}</span>}}
! Colors
+
  }}
|style="padding-right: 1em;" | [[{{{color1|}}} (color)|{{{color1|}}}]] and [[{{{color2|}}} (color)|{{{color2|}}}]] {{#if:{{{color3<includeonly>|</includeonly>}}}| and [[{{{color3|}}} (color)|{{{color3|}}}]]}}
+
 
<span style="background-color:#{{{hex1|}}};width:50px;border:1px solid #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+
| label5 = Head coach
&nbsp;
+
| class5 = agent
<span style="background-color:#{{{hex2|}}};width:50px;border:1px solid #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>
+
| data5 = {{#if:{{{coach|}}}|{{{coach}}} {{#if:{{{tenure|}}}|({{{tenure}}} year)}}}}
{{#if:{{{hex3<includeonly>|</includeonly>}}}|&nbsp;&nbsp;<span style="background-color:#{{{hex3|}}};width:50px;border:1px solid #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span>}}
+
 
{{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}} {{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}|
+
| label6 = Stadium
<tr><td class="toccolours" style="padding: 0; background: #ffffff; text-align: center;" colspan="2">
+
| data6 = {{#if:{{{stadium|}}}|{{{stadium}}} {{#if:{{{capacity|}}}|<br />(Capacity: {{{capacity}}})}}}}
<table style="width:100%; text-align:center;">
+
 
 +
| label8 = Nickname
 +
| class8 = nickname
 +
| data8 = {{{nickname|}}}  
 +
 
 +
|label9  = Colors
 +
|data9    = {{#if:{{{colors|}}}|{{{colors|}}}|{{College color list
 +
| color1 = {{{color1|}}}
 +
| color2 = {{{color2|}}}
 +
| color3 = {{{color3|}}}
 +
| color4 = {{{color4|}}}
 +
| cite = {{{colorfootnotes|{{{color_footnotes|}}}}}}
 +
| hex1 = {{{hex1|}}}
 +
| hex2 = {{{hex2|}}}
 +
| hex3 = {{{hex3|}}}
 +
| hex4 = {{{hex4|}}}
 +
| team = {{{athletics_name|{{{name|{{PAGENAMEBASE}}}}}}}}
 +
}}}}
 +
 
 +
| data10 = {{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{socks1|}}} {{{pattern_la2|}}}{{{pattern_b2|}}}{{{pattern_ra2|}}}{{{leftarm2|}}}{{{body2|}}}{{{rightarm2|}}}{{{shorts2|}}}{{{socks2|}}}|<table style="width:100%; text-align:center;">
 
<tr>
 
<tr>
 
{{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{pattern_sh1|}}}{{{socks1|}}}{{{pattern_so1|}}}|
 
{{#if:{{{pattern_la1|}}}{{{pattern_b1|}}}{{{pattern_ra1|}}}{{{leftarm1|}}}{{{body1|}}}{{{rightarm1|}}}{{{shorts1|}}}{{{pattern_sh1|}}}{{{socks1|}}}{{{pattern_so1|}}}|
Line 72: Line 91:
 
}}</td>
 
}}</td>
 
}}</tr>
 
}}</tr>
</table></td></tr>}}
+
</table>}}
|-
+
 
{{#if:{{{ISFAchampion<includeonly>|</includeonly>}}}|
+
| header11 = {{#if:{{{ISFAchampion|}}}|ISFA (Pre-NCAA) Champions}}
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''ISFA (Pre-NCAA) Champions'''</font>
+
| data12 = {{#if:{{{ISFAchampion|}}}|'''{{{ISFAchampion|N/A}}}'''}}
{{!}}-
+
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{ISFAchampion|N/A}}}'''
+
| header13 = {{#if:{{{NCAAchampion|}}}|NCAA Tournament Champions}}
{{!}}-
+
| data14 = {{#if:{{{NCAAchampion|}}}|'''{{{NCAAchampion|N/A}}}'''}}
}}
+
 
{{#if:{{{NCAAchampion<includeonly>|</includeonly>}}}|
+
| header15 = {{#if:{{{NCAArunnerup|}}}|NCAA Tournament Runner Up}}
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Champions'''</font>
+
| data16 = {{#if:{{{NCAArunnerup|}}}|'''{{{NCAArunnerup|N/A}}}'''}}
{{!}}-
+
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{NCAAchampion|N/A}}}'''
+
| header17 = {{#if:{{{NCAAcollegecup|}}}|NCAA Tournament College Cup}}
{{!}}-
+
| data18 = {{#if:{{{NCAAcollegecup|}}}|'''{{{NCAAcollegecup|N/A}}}'''}}
}}
+
 
{{#if:{{{NCAArunnerup<includeonly>|</includeonly>}}}|
+
| header19 = {{#if:{{{NCAAfinalfour|}}}|NCAA Tournament Semifinal}}
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Runner Up'''</font>
+
| data20 = {{#if:{{{NCAAfinalfour|}}}|'''{{{NCAAfinalfour|N/A}}}'''}}
{{!}}-
+
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{NCAArunnerup|N/A}}}'''
+
| header21 = {{#if:{{{NCAAeliteeight|}}}|NCAA Tournament Quarterfinal}}
{{!}}-
+
| data22 = {{#if:{{{NCAAeliteeight|}}}|'''{{{NCAAeliteeight|N/A}}}'''}}
}}
+
 
{{#if:{{{NCAAcollegecup<includeonly>|</includeonly>}}}|
+
| header23 = {{#if:{{{NCAAsweetsixteen|}}}|NCAA Tournament Round of 16}}
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament College Cup'''</font>
+
| data24 = {{#if:{{{NCAAsweetsixteen|}}}|'''{{{NCAAsweetsixteen|N/A}}}'''}}
{{!}}-
+
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{NCAAcollegecup|N/A}}}'''
+
| header25 = {{#if:{{{NCAAroundof32|}}}|NCAA Tournament Round of 32}}
{{!}}-
+
| data26 = {{#if:{{{NCAAroundof32|}}}|'''{{{NCAAroundof32|N/A}}}'''}}
}}
+
 
{{#if:{{{NCAAfinalfour<includeonly>|</includeonly>}}}|
+
| header27 = {{#if:{{{NCAAtourneys|}}}|NCAA Tournament Appearances}}
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Semifinal'''</font>
+
| data28 = {{#if:{{{NCAAtourneys|}}}|'''{{{NCAAtourneys|N/A}}}'''}}
{{!}}-
+
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{NCAAfinalfour|N/A}}}'''
+
| header29 = {{#if:{{{conference_tournament|}}}|Conference Tournament Champions}}
{{!}}-
+
| data30 = {{#if:{{{conference_tournament|}}}|'''{{{conference_tournament|N/A}}}'''}}
}}
+
 
{{#if:{{{NCAAeliteeight<includeonly>|</includeonly>}}}|
+
| header31 = {{#if:{{{conference_season|}}}|Conference Regular Season Champions}}
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Quarterfinal'''</font>
+
| data32 = {{#if:{{{conference_season|}}}|'''{{{conference_season|N/A}}}'''}}
{{!}}-
+
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{NCAAeliteeight|N/A}}}'''
+
}}<noinclude>
{{!}}-
 
}}
 
{{#if:{{{NCAAsweetsixteen<includeonly>|</includeonly>}}}|
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Round of 16'''</font>
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{NCAAsweetsixteen|N/A}}}'''
 
{{!}}-
 
}}
 
{{#if:{{{NCAAroundof32<includeonly>|</includeonly>}}}|
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Round of 32'''</font>
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{NCAAroundof32|N/A}}}'''
 
{{!}}-
 
}}
 
{{#if:{{{NCAAtourneys<includeonly>|</includeonly>}}}|
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''NCAA Tournament Appearances'''</font>
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{NCAAtourneys|N/A}}}'''
 
{{!}}-
 
}}
 
{{#if:{{{conference_tournament<includeonly>|</includeonly>}}}|
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''Conference Tournament Champions'''</font>
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{conference_tournament|N/A}}}'''
 
{{!}}-
 
}}
 
{{#if:{{{conference_season<includeonly>|</includeonly>}}}|
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#{{{hex1|}}} {{!}} <font color="{{{fontcolor|#{{{hex2|}}}}}}">'''Conference Regular Season Champions'''</font>
 
{{!}}-
 
{{!}} colspan="2" style="text-align:center;" bgcolor=#FFFFFF {{!}} '''{{{conference_season|N/A}}}'''
 
}}
 
|}<noinclude>
 
 
{{documentation}}
 
{{documentation}}
 
[[Category:American college sports infobox templates|Soccer teams]]
 
[[Category:American college sports infobox templates|Soccer teams]]

Revision as of 14:59, 14 May 2016

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

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

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

Usage

Template:Parameter names example

{{Infobox college soccer team
| name = 
| current = 
| logo = 
| logo_size = 
| founded = 
| folded = 
| university = 
| athletic_director = 
| coach = 
| tenure = 
| conference = 
| conference_short = 
| division = 
| city = 
| state = 
| stateabb = 
| stadium = 
| capacity = 
| nickname = 
| colors = 
| color1 = 
| color2 = 
| color3 = 
| color4 = 
| colorfootnotes = 
| hex1 = 
| hex2 = 
| hex3 = 
| hex4 = 
| pattern_la1 = 
| pattern_b1 = 
| pattern_ra1 = 
| leftarm1 = 
| body1 = 
| rightarm1 = 
| shorts1 = 
| pattern_sh1 = 
| socks1 = 
| pattern_so1 = 
| pattern_la2 = 
| pattern_b2 = 
| pattern_ra2 = 
| leftarm2 = 
| body2 = 
| rightarm2 = 
| shorts2 = 
| pattern_sh2 = 
| socks2 = 
| pattern_so2 = 
| PreISFA = 
| ASHAchampion =
| IFRAchampion =
| ISFAchampion = 
| NCAAchampion = 
| NCAArunnerup = 
| NCAAcollegecup = 
| NCAAfinalfour = 
| NCAAeliteeight = 
| NCAAsweetsixteen = 
| NCAAroundof32 = 
| NCAAtourneys = 
| conference_tournament = 
| conference_season = 
}}

Parameters

Required parameters

logo
The team's logo (e.g., Image.jpg)
full name
founded
color1
color2
hex1
hex2

Optional parameters

name
Team name (defaults to full page name)
current
The article name of the current or upcoming season of the team
logo_size
The size in pixels at which the logo should be displayed (defaults to 100x150)
folded
conference_short
division
location
Alternative to using city/state/stateabb
city
state
stateabb
color3
color4
hex3
hex4
ISFAchampion
List years of ISFA (Pre-NCAA) Championships meaning any national titles won prior to 1959
NCAArunnerup
List years of NCAA Championship Runner Ups
NCAAcollegecup
List years of NCAA College Cup Appearances
NCAAfinalfour
NCAAeliteeight
List years of NCAA Elite 8 Appearances
NCAAsweetsixteen
List years of NCAA Sweet 16 Appearances
NCAAroundof32
List years of NCAA Round of 32 Appearances
NCAAtourneys
List years of NCAA Tournament Appearances

Uniform parameters

pattern_la1
pattern_b1
pattern_ra1
leftarm1
body1
rightarm1
shorts1
pattern_sh1
socks1
pattern_so1
pattern_la2
pattern_b2
pattern_ra2
leftarm2
body2
rightarm2
shorts2
pattern_sh2
socks2
pattern_so2

Tracking category

Supporting template