Difference between revisions of "Template:Infobox college soccer team"
Jump to navigation
Jump to search
imported>WOSlinker (tidy style for better HTML5 compatibility) |
imported>Frietjes |
||
Line 1: | Line 1: | ||
− | {| | + | {{Infobox |
− | + | |bodyclass = vcard | |
− | | | + | |aboveclass = fn org |
− | | | + | |above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
− | | | + | | headerstyle = {{#if:{{{bgcolor|}}}{{{hex1|}}}{{{fontcolor|}}}{{{hex2|}}} |
− | {{#if:{{{ | + | | {{#if:{{{bgcolor|}}}|background: {{{bgcolor}}}|background: #{{{hex1|}}}}}; {{#if:{{{fontcolor|}}}|color: {{{fontcolor}}}|color: #{{{hex2|}}}}}; |
− | {{ | + | |{{#invoke:college color|header1|{{{athletics_name|{{{name|{{PAGENAMEBASE}}}}}}}}}} |
− | | | + | }} |
− | {{# | + | |subheader = {{#if:{{{current|}}}|[[File:Soccerball current event.svg|33px|alt=|link=]] ''[[{{{current}}}]]'' }} |
− | { | + | |
− | | | + | |image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{logo|}}}}}}|size={{{image_size|{{{logo_size|}}}}}}|sizedefault=frameless|title={{{caption|}}}}} |
− | + | |caption = {{{caption|{{{logo_caption|}}}}}} | |
− | | | + | |
− | | | + | |label1 = Founded |
− | + | |data1 = {{{founded|}}} | |
− | | | + | |
− | | | + | |label2 = University |
− | {{#if:{{{ | + | |data2 = {{#if:{{{university|}}}|[[{{{university}}}]]}} |
− | + | ||
− | {{ | + | |label3 = Conference |
− | }} | + | |data3 = {{#if:{{{conference|}}}|[[{{{conference}}}|{{{conference_short}}}]] {{#if:{{{division|}}}|<br>{{{division}}} Division}} }} |
− | | | + | |
− | + | |label4 = Location | |
− | + | |class4 = label | |
− | | | + | |data4 = {{#if:{{{location|}}} |
− | + | |{{{location}}} | |
− | | | + | |{{#if:{{{city|}}}|[[{{{city}}}, {{{stateabb}}}|{{{city}}}]], <span class="region">{{#if:{{{stateabb|}}} |
− | | | + | |{{#switch:{{{state}}} |
− | + | | Georgia = [[Georgia (U.S. state)|{{{stateabb}}}]] | |
− | | | + | | Washington = [[Washington (U.S. state)|{{{stateabb}}}]] |
− | | | + | | #default =[[{{{state}}}|{{{stateabb}}}]] |
− | + | }} | |
− | | | + | |{{{state|}}} |
− | | | + | }}</span>}} |
− | + | }} | |
− | | | + | |
− | + | | label5 = Head coach | |
− | + | | class5 = agent | |
− | + | | data5 = {{#if:{{{coach|}}}|{{{coach}}} {{#if:{{{tenure|}}}|({{{tenure}}} year)}}}} | |
− | {{ | + | |
− | {{#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 |
− | + | | 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 | + | </table>}} |
− | | | + | |
− | {{#if:{{{ISFAchampion | + | | header11 = {{#if:{{{ISFAchampion|}}}|ISFA (Pre-NCAA) Champions}} |
− | + | | data12 = {{#if:{{{ISFAchampion|}}}|'''{{{ISFAchampion|N/A}}}'''}} | |
− | + | ||
− | {{ | + | | header13 = {{#if:{{{NCAAchampion|}}}|NCAA Tournament Champions}} |
− | + | | data14 = {{#if:{{{NCAAchampion|}}}|'''{{{NCAAchampion|N/A}}}'''}} | |
− | + | ||
− | {{#if:{{{NCAAchampion | + | | header15 = {{#if:{{{NCAArunnerup|}}}|NCAA Tournament Runner Up}} |
− | + | | data16 = {{#if:{{{NCAArunnerup|}}}|'''{{{NCAArunnerup|N/A}}}'''}} | |
− | + | ||
− | + | | header17 = {{#if:{{{NCAAcollegecup|}}}|NCAA Tournament College Cup}} | |
− | + | | data18 = {{#if:{{{NCAAcollegecup|}}}|'''{{{NCAAcollegecup|N/A}}}'''}} | |
− | + | ||
− | {{#if:{{{NCAArunnerup | + | | header19 = {{#if:{{{NCAAfinalfour|}}}|NCAA Tournament Semifinal}} |
− | + | | data20 = {{#if:{{{NCAAfinalfour|}}}|'''{{{NCAAfinalfour|N/A}}}'''}} | |
− | + | ||
− | + | | header21 = {{#if:{{{NCAAeliteeight|}}}|NCAA Tournament Quarterfinal}} | |
− | + | | data22 = {{#if:{{{NCAAeliteeight|}}}|'''{{{NCAAeliteeight|N/A}}}'''}} | |
− | + | ||
− | {{#if:{{{NCAAcollegecup | + | | header23 = {{#if:{{{NCAAsweetsixteen|}}}|NCAA Tournament Round of 16}} |
− | + | | data24 = {{#if:{{{NCAAsweetsixteen|}}}|'''{{{NCAAsweetsixteen|N/A}}}'''}} | |
− | + | ||
− | + | | header25 = {{#if:{{{NCAAroundof32|}}}|NCAA Tournament Round of 32}} | |
− | + | | data26 = {{#if:{{{NCAAroundof32|}}}|'''{{{NCAAroundof32|N/A}}}'''}} | |
− | + | ||
− | {{#if:{{{NCAAfinalfour | + | | header27 = {{#if:{{{NCAAtourneys|}}}|NCAA Tournament Appearances}} |
− | + | | data28 = {{#if:{{{NCAAtourneys|}}}|'''{{{NCAAtourneys|N/A}}}'''}} | |
− | + | ||
− | + | | header29 = {{#if:{{{conference_tournament|}}}|Conference Tournament Champions}} | |
− | + | | data30 = {{#if:{{{conference_tournament|}}}|'''{{{conference_tournament|N/A}}}'''}} | |
− | + | ||
− | {{#if:{{{NCAAeliteeight | + | | header31 = {{#if:{{{conference_season|}}}|Conference Regular Season Champions}} |
− | + | | data32 = {{#if:{{{conference_season|}}}|'''{{{conference_season|N/A}}}'''}} | |
− | + | ||
− | + | }}<noinclude> | |
− | |||
− | |||
− | {{#if:{{{NCAAsweetsixteen | ||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | {{#if:{{{NCAAroundof32 | ||
− | |||
− | |||
− | {{ | ||
− | |||
− | |||
− | {{#if:{{{NCAAtourneys | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if:{{{conference_tournament | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | {{#if:{{{conference_season | ||
− | |||
− | |||
− | |||
− | }} | ||
− | |||
{{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]]
![]() | This template uses Lua: |
This template is designed to be put on general college soccer pages. It should be placed as the very first item in an article.
Contents
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
The above documentation is transcluded from Template:Infobox college soccer 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. |