Difference between revisions of "Template:Infobox college soccer team"
Jump to navigation
Jump to search
imported>Frietjes |
imported>Frietjes |
||
Line 7: | Line 7: | ||
|{{#invoke:college color|header1|{{{athletics_name|{{{name|{{PAGENAMEBASE}}}}}}}}}} | |{{#invoke:college color|header1|{{{athletics_name|{{{name|{{PAGENAMEBASE}}}}}}}}}} | ||
}} | }} | ||
− | |subheader = {{# | + | |subheader = {{#switch:{{{current|}}}|defunct=(defunct)|=|#default=[[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|}}}}} | |image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|{{{logo|}}}}}}|size={{{image_size|{{{logo_size|}}}}}}|sizedefault=frameless|title={{{caption|}}}}} | ||
Line 15: | Line 15: | ||
|data1 = {{{founded|}}} | |data1 = {{{founded|}}} | ||
− | |label2 = | + | |label2 = Folded |
− | |data2 = {{ | + | |data2 = {{{folded|}}} |
− | |label3 = | + | |label3 = University |
− | |data3 = {{#if:{{{ | + | |data3 = {{#if:{{{university|}}}|[[{{{university}}}]]}} |
− | |label4 = Location | + | |label4 = Conference |
− | | | + | |data4 = {{#if:{{{conference|}}}|[[{{{conference}}}|{{{conference_short}}}]] {{#if:{{{division|}}}|<br>{{{division}}} Division}} }} |
− | | | + | |
+ | |label5 = Location | ||
+ | |class5 = label | ||
+ | |data5 = {{#if:{{{location|}}} | ||
|{{{location}}} | |{{{location}}} | ||
|{{#if:{{{city|}}}|[[{{{city}}}, {{{stateabb}}}|{{{city}}}]], <span class="region">{{#if:{{{stateabb|}}} | |{{#if:{{{city|}}}|[[{{{city}}}, {{{stateabb}}}|{{{city}}}]], <span class="region">{{#if:{{{stateabb|}}} | ||
Line 35: | Line 38: | ||
}} | }} | ||
− | | | + | | label6 = Head coach |
− | | | + | | class6 = agent |
− | | | + | | data6 = {{#if:{{{coach|}}}|{{{coach}}} {{#if:{{{tenure|}}}|({{{tenure}}} year)}}}} |
− | | | + | | label7 = Stadium |
− | | | + | | data7 = {{#if:{{{stadium|}}}|{{{stadium}}} {{#if:{{{capacity|}}}|<br />(Capacity: {{{capacity}}})}}}} |
| label8 = Nickname | | label8 = Nickname |
Revision as of 17:58, 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. |