Difference between revisions of "Template:Infobox college tennis 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 |
− | {{#if:{{{ | + | | above = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
− | + | ||
− | + | | headerstyle = {{#if:{{{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}}}}}}}}}} |
− | | | + | }} |
− | + | | 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 | |
− | + | | data2 = {{#if:{{{university|}}}|[[{{{university}}}]]}} | |
− | + | ||
− | + | | label3 = Conference | |
− | + | | data3 = {{#if:{{{conference|}}}|[[{{{conference}}}|{{{conference_short|{{{conf_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}}}]] |
− | + | }} | |
− | {{#if:{{{ | + | |{{{state|}}} |
− | {{ | + | }}</span>}} |
− | + | }} | |
− | + | ||
− | {{ | + | | label5 = Head coach |
− | }} | + | | data5 = {{#if:{{{coach|}}}|<span class="agent">{{{coach}}}</span> {{#if:{{{tenure|}}}|({{{tenure}}} year)}}}} |
− | {{ | + | |
− | {{ | + | | label6 = Home stadium |
− | { | + | | data6 = {{#if:{{{stadium|}}}|{{{stadium}}} {{#if:{{{capacity|}}}|<br />(Capacity: {{{capacity}}})}}}} |
− | {{ | + | |
− | + | | label7 = Nickname | |
− | + | | class7 = nickname | |
− | {{#if:{{{ | + | | data7 = {{{nickname|}}} |
− | {{ | + | |
− | {{ | + | | label8 = Colors |
− | {{ | + | | data8 = {{College color list |
− | + | | color1 = {{{color1|}}} | |
− | + | | color2 = {{{color2|}}} | |
− | {{#if:{{{ | + | | color3 = {{{color3|}}} |
− | {{ | + | | color4 = {{{color4|}}} |
− | {{ | + | | cite = {{{colorfootnotes|{{{color_footnotes|}}}}}} |
− | {{ | + | | hex1 = {{{hex1|}}} |
− | {{ | + | | hex2 = {{{hex2|}}} |
− | }} | + | | hex3 = {{{hex3|}}} |
− | {{#if:{{{ | + | | hex4 = {{{hex4|}}} |
− | + | | team = {{{athletics_name|{{{name|{{PAGENAMEBASE}}}}}}}} | |
− | {{ | + | }} |
− | {{ | + | |
− | + | | header9 = {{#if:{{{NCAAchampion|}}}|NCAA Tournament Champions}} | |
− | }} | + | | data10 = {{#if:{{{NCAAchampion|}}}|'''{{{NCAAchampion|N/A}}}'''}} |
− | {{#if:{{{ | + | |
− | {{ | + | | header11 = {{#if:{{{NCAArunnerup|}}}|NCAA Tournament Runner Up}} |
− | {{ | + | | data12 = {{#if:{{{NCAArunnerup|}}}|'''{{{NCAArunnerup|N/A}}}'''}} |
− | {{ | + | |
− | + | | header13 = {{#if:{{{NCAAsemifinals|}}}|NCAA Tournament Semifinals}} | |
− | } | + | | data14 = {{#if:{{{NCAAsemifinals|}}}|'''{{{NCAAsemifinals|N/A}}}'''}} |
− | + | ||
− | + | | header15 = {{#if:{{{NCAAquarterfinals|}}}|NCAA Tournament Quarterfinals}} | |
− | + | | data16 = {{#if:{{{NCAAquarterfinals|}}}|'''{{{NCAAquarterfinals|N/A}}}'''}} | |
− | + | ||
− | + | | header17 = {{#if:{{{NCAAroundof16|}}}|NCAA Tournament Round of 16}} | |
− | + | | data18 = {{#if:{{{NCAAroundof16|}}}|'''{{{NCAAroundof16|N/A}}}'''}} | |
− | + | ||
− | + | | header19 = {{#if:{{{NCAAroundof32|}}}|NCAA Tournament Round of 32}} | |
− | + | | data20 = {{#if:{{{NCAAroundof32|}}}|'''{{{NCAAroundof32|N/A}}}'''}} | |
− | + | ||
− | + | | header21 = {{#if:{{{NCAAtourneys|}}}|NCAA Tournament Appearances}} | |
− | + | | data22 = {{#if:{{{NCAAtourneys|}}}|'''{{{NCAAtourneys|N/A}}}'''}} | |
− | + | ||
− | + | | header23 = {{#if:{{{conference_tournament|}}}|Conference Tournament Champions}} | |
− | + | | data24 = {{#if:{{{conference_tournament|}}}|'''{{{conference_tournament|N/A}}}'''}} | |
− | + | ||
− | + | | header25 = {{#if:{{{conference_season|}}}|Conference Regular Season Champions}} | |
− | + | | data26 = {{#if:{{{conference_season|}}}|'''{{{conference_season|N/A}}}'''}} | |
+ | |||
+ | }}<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> |
Revision as of 19:55, 14 May 2016
[[Category:Infobox templates|Template:Remove first word]]
![]() | This template uses Lua: |
Contents
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
The above documentation is transcluded from Template:Infobox college tennis team/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |