Difference between revisions of "Template:Infobox college basketball tournament"

From blackwiki
Jump to navigation Jump to search
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
| abovestyle = font-size:100%
+
| title = {{Infobox college basketball tournament/label|label=title|type={{{Type|}}}|year={{{Year}}}|gender={{{Gender|}}}|division={{{Division|I}}}}}
| above = {{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}}} <small>({{{TitleCount}}} title{{#if:{{{ChampGameCount|}}} |, {{{ChampGameCount}}} title game}}{{#if:{{{ChampFFCount|}}}|,<br>{{{ChampFFCount}}} Final Four}})</small>}}
+
| 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}}} <small>({{{GameCount}}} title game{{#if:{{{RunnerFFCount|}}}|,<br>{{{RunnerFFCount}}} Final Four}})</small>}}
+
| 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|}}} |{{small|({{{FinalFourCount}}} Final Four)}} |{{#if:{{{SemifinalCount|}}} |{{small|({{{SemifinalCount}}} semifinal)}} }} }}
+
             |{{{Semifinal1}}} {{#if:{{{FinalFourCount|}}} |({{{FinalFourCount}}} Final Four) |{{#if:{{{SemifinalCount|}}} |({{{SemifinalCount}}} semifinal) }} }}
 
             }}
 
             }}
 
       |2= {{#if: {{{Semifinal2|}}}  
 
       |2= {{#if: {{{Semifinal2|}}}  
             |{{{Semifinal2}}} {{#if:{{{FinalFourCount2|}}}|{{small|({{{FinalFourCount2}}} Final Four)}}|{{#if:{{{SemifinalCount2|}}}|{{small|({{{SemifinalCount2}}} semifinal)}}}} }}
+
             |{{{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|}}} |{{small|({{{FinalFourCount}}} Final Four)}} }} }}
+
| data7 = {{#if:{{{ThirdPlace|}}}| {{{ThirdPlace}}} {{#if:{{{FinalFourCount|}}} |({{{FinalFourCount}}} Final Four)}} }}
  
 
| label8 = Fourth place
 
| label8 = Fourth place
| data8 = {{#if:{{{FourthPlace|}}}| {{{FourthPlace}}} {{#if:{{{FinalFourCount2|}}}|{{small|({{{FinalFourCount2}}} Final Four)}} }} }}
+
| data8 = {{#if:{{{FourthPlace|}}}| {{{FourthPlace}}} {{#if:{{{FinalFourCount2|}}}|({{{FinalFourCount2}}} Final Four)}} }}
  
 
| label9 = Winning coach
 
| label9 = Winning coach
| data9 = {{#if:{{{Coach|}}}|{{{Coach}}} {{#if:{{{CoachCount|}}}|{{small|({{{CoachCount}}} title)}}}}}}
+
| 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|}}}|{{small|{{{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|}}}|{{small|{{{TopScorerTeam}}}}}}}<br />{{{TopScorer2}}} {{#if:{{{TopScorer2Team|}}}|{{small|{{{TopScorer2Team}}}}}}}<br />({{{Points}}} points)
+
  |{{{TopScorer}}} {{#if:{{{TopScorerTeam|}}}|{{{TopScorerTeam}}}}}<br />{{{TopScorer2}}} {{#if:{{{TopScorer2Team|}}}|{{{TopScorer2Team}}}}}<br />({{{Points}}} points)
 
  |{{#if:{{{TopScorer|}}}
 
  |{{#if:{{{TopScorer|}}}
   |{{{TopScorer}}} {{#if:{{{TopScorerTeam|}}}|{{small|{{{TopScorerTeam}}}}}}}<br />({{{Points}}} points)
+
   |{{{TopScorer}}} {{#if:{{{TopScorerTeam|}}}|{{{TopScorerTeam}}}}}<br />({{{Points}}} points)
 
   }}
 
   }}
 
  }}
 
  }}
  
| belowstyle = font-size:90%;background:#eee;
+
| 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="font-size:90%; line-height:90%;">
+
<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

Expression error: Unrecognized punctuation character "{".
NCAA Division I Men's Tournaments
«2024 2026»

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

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

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

2002 NCAA Division I
Men's Basketball Tournament
Teams65
Finals siteGeorgia Dome
Atlanta, Georgia
ChampionsMaryland (1st title)
Runner-upIndiana (6th title game)
Semifinalists
Winning coachGary Williams (1st title)
MOPJuan Dixon (Maryland)
Attendance720,433
Top scorersJuan Dixon Maryland
Jared Jeffries Indiana
(155 points)
NCAA Division I Men's Tournaments
«2001 2003»
[[Category:Infobox templates|Template:Remove first word]]
{{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

2020 NCAA Division I
Women's Basketball Tournament
Teams64
Finals siteSmoothie King Center
New Orleans, Louisiana
Canceled due to COVID-19 pandemic
NCAA Division I Women's Tournaments
«2019 2021»
[[Category:Infobox templates|Template:Remove first word]]
{{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]]
}}