Difference between revisions of "Template:Infobox college basketball tournament"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
[[Category:Infobox templates|Template:Remove first word]]
imported>Frietjes |
imported>Jonesey95 (fix invalid input to formatnum causing articles to appear in Category:Pages with non-numeric formatnum arguments) |
||
| (14 intermediate revisions by 7 users not shown) | |||
| Line 1: | Line 1: | ||
{{Infobox | {{Infobox | ||
| bodystyle = width:auto | | bodystyle = width:auto | ||
| − | | | + | | title = {{Infobox college basketball tournament/label|label=title|type={{{Type|}}}|year={{{Year}}}|gender={{{Gender|}}}|division={{{Division|I}}}}} |
| − | + | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{ImageSize|}}}|upright={{{ImageUpright|}}}}} | |
| − | | image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{ImageSize|}}}}} | ||
| caption = {{{Caption|}}} | | caption = {{{Caption|}}} | ||
| Line 23: | Line 22: | ||
| label4 = Champions | | label4 = Champions | ||
| − | | data4 = {{#if:{{{Champions|}}}|{{{Champions}}} | + | | data4 = {{#if:{{{Champions|}}}|{{{Champions}}} {{#if:{{{TitleCount|}}}|({{{TitleCount}}} title{{#if:{{{ChampGameCount|}}} |, {{{ChampGameCount}}} title game}}{{#if:{{{ChampFFCount|}}}|,<br>{{{ChampFFCount}}} Final Four}})}}}} |
| label5 = Runner-up | | label5 = Runner-up | ||
| − | | data5 = {{#if: {{{RunnerUp|}}} |{{{RunnerUp}}} | + | | data5 = {{#if: {{{RunnerUp|}}} |{{{RunnerUp}}} ({{{GameCount}}} title game{{#if:{{{RunnerFFCount|}}}|,<br>{{{RunnerFFCount}}} Final Four}})}} |
| label6 = Semifinalists | | label6 = Semifinalists | ||
| Line 34: | Line 33: | ||
|{{unbulleted list | |{{unbulleted list | ||
|1= {{#if: {{{Semifinal1|}}} | |1= {{#if: {{{Semifinal1|}}} | ||
| − | |{{{Semifinal1}}} {{#if:{{{FinalFourCount|}}} | + | |{{{Semifinal1}}} {{#if:{{{FinalFourCount|}}} |({{{FinalFourCount}}} Final Four) |{{#if:{{{SemifinalCount|}}} |({{{SemifinalCount}}} semifinal) }} }} |
}} | }} | ||
|2= {{#if: {{{Semifinal2|}}} | |2= {{#if: {{{Semifinal2|}}} | ||
| − | |{{{Semifinal2}}} {{#if:{{{FinalFourCount2|}}} | + | |{{{Semifinal2}}} {{#if:{{{FinalFourCount2|}}}|({{{FinalFourCount2}}} Final Four)|{{#if:{{{SemifinalCount2|}}}|({{{SemifinalCount2}}} semifinal)}}}} |
}} | }} | ||
}} | }} | ||
| Line 43: | Line 42: | ||
}} | }} | ||
| label7 = Third place | | label7 = Third place | ||
| − | | data7 = {{#if:{{{ThirdPlace|}}}| {{{ThirdPlace}}} {{#if:{{{FinalFourCount|}}} | + | | data7 = {{#if:{{{ThirdPlace|}}}| {{{ThirdPlace}}} {{#if:{{{FinalFourCount|}}} |({{{FinalFourCount}}} Final Four)}} }} |
| label8 = Fourth place | | label8 = Fourth place | ||
| − | | data8 = {{#if:{{{FourthPlace|}}}| {{{FourthPlace}}} {{#if:{{{FinalFourCount2|}}} | + | | data8 = {{#if:{{{FourthPlace|}}}| {{{FourthPlace}}} {{#if:{{{FinalFourCount2|}}}|({{{FinalFourCount2}}} Final Four)}} }} |
| label9 = Winning coach | | label9 = Winning coach | ||
| − | | data9 = {{#if:{{{Coach|}}}|{{{Coach}}} {{#if:{{{CoachCount|}}} | + | | data9 = {{#if:{{{Coach|}}}|{{{Coach}}} {{#if:{{{CoachCount|}}}|({{{CoachCount}}} title)}}}} |
| − | | label10 = {{Infobox college basketball tournament/label|label=MOP|type={{{Type|}}}|year={{{Year}}}|gender={{{Gender|}}}}} | + | | label10 = {{Infobox college basketball tournament/label|label=MOP|type={{{Type|}}}|year={{{Year}}}|gender={{{Gender|}}}}} |
| − | | data10 = {{#if: {{{MOP|}}} |{{{MOP}}} {{#if:{{{MOPTeam|}}}| | + | | data10 = {{#if: {{{MOP|}}} |{{{MOP}}} {{#if:{{{MOPTeam|}}}|({{{MOPTeam}}})}}}} |
| label11 = Attendance | | label11 = Attendance | ||
| − | | data11 = {{#if: {{{Attendance|}}} |{{formatnum: {{{Attendance|0}}}}} }} | + | | data11 = {{#if: {{{Attendance|}}} |{{formatnum: {{replace|{{{Attendance|0}}}|,|}}}} }} |
| label12 = Top scorer{{#if:{{{TopScorer2|}}}|s}} | | label12 = Top scorer{{#if:{{{TopScorer2|}}}|s}} | ||
| data12 = {{#if:{{{TopScorer2|}}} | | data12 = {{#if:{{{TopScorer2|}}} | ||
| − | |{{{TopScorer}}} {{#if:{{{TopScorerTeam|}}} | + | |{{{TopScorer}}} {{#if:{{{TopScorerTeam|}}}|{{{TopScorerTeam}}}}}<br />{{{TopScorer2}}} {{#if:{{{TopScorer2Team|}}}|{{{TopScorer2Team}}}}}<br />({{{Points}}} points) |
|{{#if:{{{TopScorer|}}} | |{{#if:{{{TopScorer|}}} | ||
| − | |{{{TopScorer}}} {{#if:{{{TopScorerTeam|}}} | + | |{{{TopScorer}}} {{#if:{{{TopScorerTeam|}}}|{{{TopScorerTeam}}}}}<br />({{{Points}}} points) |
}} | }} | ||
}} | }} | ||
| − | | | + | | rowstyle13 = background:#F2CECE; font-weight:bold |
| + | | data13 = {{{Canceled|}}} | ||
| + | |||
| + | | belowstyle = background:#eee; | ||
| below = | | below = | ||
<table style="width:100%; border-collapse:collapse; margin:0"> | <table style="width:100%; border-collapse:collapse; margin:0"> | ||
| − | <tr><th colspan=2>{{Infobox college basketball tournament/label|label=succession_heading|type={{{Type|}}}|year={{{Year|{{CURRENTYEAR}}}}}|gender={{{Gender|}}}|division={{{Division|I}}}}}</th></tr> | + | <tr><th style="text-align:center" colspan=2>{{Infobox college basketball tournament/label|label=succession_heading|type={{{Type|}}}|year={{{Year|{{CURRENTYEAR}}}}}|gender={{{Gender|}}}|division={{{Division|I}}}}}</th></tr> |
| − | <tr style=" | + | <tr style="line-height:90%;"> |
<td style="width:50%; text-align:center; padding-right:1em">{{Infobox college basketball tournament/label|label=succession_before|type={{{Type|}}}|year={{{Year|{{CURRENTYEAR}}}}}|gender={{{Gender|}}}|division={{{Division|I}}}}}</td> | <td style="width:50%; text-align:center; padding-right:1em">{{Infobox college basketball tournament/label|label=succession_before|type={{{Type|}}}|year={{{Year|{{CURRENTYEAR}}}}}|gender={{{Gender|}}}|division={{{Division|I}}}}}</td> | ||
<td style="width:50%; text-align:center; padding-right:1em">{{Infobox college basketball tournament/label|label=succession_after|type={{{Type|}}}|year={{{Year|{{CURRENTYEAR}}}}}|gender={{{Gender|}}}|division={{{Division|I}}}}}</td> | <td style="width:50%; text-align:center; padding-right:1em">{{Infobox college basketball tournament/label|label=succession_after|type={{{Type|}}}|year={{{Year|{{CURRENTYEAR}}}}}|gender={{{Gender|}}}|division={{{Division|I}}}}}</td> | ||
</tr></table> | </tr></table> | ||
}}<noinclude>{{Documentation}}</noinclude> | }}<noinclude>{{Documentation}}</noinclude> | ||
Latest revision as of 14:58, 29 September 2020
| |||||
[[Category:Infobox templates|Template:Remove first word]]
Blank template:
{{Infobox NCAA Basketball Tournament
| Type =
| Gender =
| Year =
| Image =
| ImageSize = <!-- Discouraged per [[WP:IMAGESIZE]]. Use ImageUpright instead, if necessary. -->
| ImageUpright =
| Caption = <!-- Not necessary for logos -->
| Teams =
| FinalFourArena =
| FinalFourCity =
| Champions =
| TitleCount =
| RunnerUp =
| GameCount =
| Semifinal1 =
| FinalFourCount =
| Semifinal2 =
| FinalFourCount2 =
| Coach =
| CoachCount =
| MOP =
| MOPTeam =
| Attendance =
| TopScorer =
| TopScorerTeam =
| TopScorer2 =
| TopScorer2Team =
| Points =
| Canceled = <!-- A note explaining why the event was canceled (leave blank for non-canceled events) -->
}}
Example 1
| Teams | 65 | ||||
|---|---|---|---|---|---|
| Finals site | Georgia Dome Atlanta, Georgia | ||||
| Champions | Maryland (1st title) | ||||
| Runner-up | Indiana (6th title game) | ||||
| Semifinalists | |||||
| Winning coach | Gary Williams (1st title) | ||||
| MOP | Juan Dixon (Maryland) | ||||
| Attendance | 720,433 | ||||
| Top scorers | Juan Dixon Maryland Jared Jeffries Indiana (155 points) | ||||
| |||||
{{Infobox college basketball tournament
| Gender = Men's
| Year = 2002
| Image = 2002FinalFour.png
| ImageSize =
| ImageUpright =
| Caption =
| Teams = 65
| FinalFourArena = [[Georgia Dome]]
| FinalFourCity = [[Atlanta, Georgia]]
| Champions = [[Maryland Terrapins men's basketball|Maryland]]
| TitleCount = 1st
| RunnerUp = [[Indiana Hoosiers|Indiana]]
| GameCount = 6th
| Semifinal1 = [[Kansas Jayhawks basketball|Kansas]]
| FinalFourCount = 11th
| Semifinal2 = [[Oklahoma Sooners|Oklahoma]]
| FinalFourCount2 = 4th
| Coach = [[Gary Williams]]
| CoachCount = 1st
| MOP = [[Juan Dixon]]
| MOPTeam = Maryland
| Attendance = 720,433
| TopScorer = Juan Dixon
| TopScorerTeam = Maryland
| TopScorer2 = [[Jared Jeffries]]
| TopScorer2Team = Indiana
| Points = 155
| Canceled =
}}
Example 2
| Teams | 64 | ||||
|---|---|---|---|---|---|
| Finals site | Smoothie King Center New Orleans, Louisiana | ||||
| Canceled due to COVID-19 pandemic | |||||
| |||||
{{Infobox college basketball tournament
| Gender = Women's
| Year = 2020
| Image =
| ImageSize =
| ImageUpright =
| Caption =
| Teams = 64
| FinalFourArena = [[Smoothie King Center]]
| FinalFourCity = [[New Orleans, Louisiana]]
| Champions =
| TitleCount =
| RunnerUp =
| GameCount =
| Semifinal1 =
| FinalFourCount =
| Semifinal2 =
| FinalFourCount2 =
| Coach =
| CoachCount =
| MOP =
| MOPTeam =
| Attendance =
| TopScorer =
| TopScorerTeam =
| TopScorer2 =
| TopScorer2Team =
| Points =
| Canceled = Canceled due to [[2019–20 coronavirus pandemic|coronavirus pandemic]]
}}
| The above documentation is transcluded from Template:Infobox college basketball tournament/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |