Difference between revisions of "Template:Infobox NCAA Football Tournament"

From blackwiki
Jump to navigation Jump to search
imported>Absolon
imported>Zackmann08
(converting to use Template:infobox)
Line 1: Line 1:
{| class="infobox"
+
<includeonly>{{Infobox
|-
+
| bodyclass = vevent
! colspan="2" | {{{Year}}} NCAA Division {{{Division}}} National <br />Football Championship playoffs
+
| bodystyle = width: 26em;
|-
+
 
{{#if: {{{Image|<noinclude>-</noinclude>}}} |
+
| above = {{{Year|}}} NCAA Division {{{Division|}}} National Football Championship playoffs
{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{Image}}}|{{{ImageSize}}}|{{{Caption}}}]]<br /><small>''{{{Caption}}}''</small>
+
| aboveclass = summary
{{!}}-
+
 
 +
| headerstyle = border-top: 1px solid #aaa; padding-top: 3px;
 +
 
 +
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{ImageSize|}}}|upright=1.1|alt={{{ImageAlt|}}}}}
 +
| caption = {{{Caption|}}}
 +
 
 +
| label1 = Teams
 +
| data1 = {{{Teams|}}}
 +
 
 +
| label2 = Finals Site
 +
| data2 = {{ubl|{{{Stadium|}}}|{{{Location|}}}}}
 +
 
 +
| label3 = Champions
 +
| data3 = {{ubl|{{{Champions|}}}|{{{TitleCount|}}} title|{{{ChampGameCount|}}} championship game|{{{ChampCount|}}} tournament}}
 +
 
 +
| label4 = Runner-Up
 +
| data4 = {{ubl|{{{RunnerUp|}}}|{{{GameCount|}}} championship game|{{{RunnerCount|}}} tournaments}}
 +
 
 +
| label5 = Semifinalists
 +
| data5 = {{ubl|{{{Semifinal1|}}}|{{{SemisCount|}}} tournaments|{{{Semifinal2|}}}|{{{SemisCount2|}}} tournaments}}
 +
 
 +
| label6 = Winning Coach
 +
| data6 = {{ubl|{{{Coach|}}}|{{{CoachCount|}}} championship}}
 +
 
 +
| label7 = Attendance
 +
| data7 = {{{Attendance|}}}
 
}}
 
}}
{{#if: {{{Teams|<noinclude>-</noinclude>}}} |
+
</includeonly><noinclude>{{Documentation}}</noinclude>
{{!}} '''Teams'''
 
{{!}} {{{Teams}}}
 
{{!}}-
 
}}
 
{{#if: {{{Stadium|<noinclude>-</noinclude>}}} |
 
{{!}} '''Finals Site'''
 
{{!}} {{{Stadium}}}<br />{{{Location}}}
 
{{!}}-
 
}}
 
{{#if: {{{Champions|<noinclude>-</noinclude>}}} |
 
{{!}} '''Champions'''
 
{{!}} {{{Champions}}} <small>({{{TitleCount}}} title{{#if:{{{ChampGameCount|}}} |, {{{ChampGameCount}}} championship game}}{{#if:{{{ChampCount|}}}|,<br>{{{ChampCount}}} tournaments}})</small>
 
{{!}}-
 
}}
 
{{#if: {{{RunnerUp|<noinclude>-</noinclude>}}} |
 
{{!}} '''Runner-Up'''
 
{{!}} {{{RunnerUp}}} <small>({{{GameCount}}} championship game{{#if:{{{RunnerCount|}}}|,<br>{{{RunnerCount}}} tournaments}})</small>
 
{{!}}-
 
}}
 
{{#if: {{{Semifinal1|<noinclude>-</noinclude>}}} |
 
{{!}} '''Semifinalists'''
 
{{!}} {{{Semifinal1}}} {{#if:{{{SemisCount|}}}|<small>({{{SemisCount}}} tournaments)</small>}}<br />{{{Semifinal2}}} {{#if:{{{SemisCount2|}}}|<small>({{{SemisCount2}}} tournaments)</small>}}
 
{{!}}-
 
}}
 
{{#if: {{{Coach|<noinclude>-</noinclude>}}} |
 
{{!}} '''Winning Coach'''
 
{{!}} {{{Coach}}} <small>({{{CoachCount}}} championship)</small>
 
{{!}}-
 
}}
 
{{#if: {{{Attendance|<noinclude>-</noinclude>}}} |
 
{{!}} '''Attendance'''
 
{{!}} {{formatnum: {{{Attendance}}}}}
 
{{!}}-
 
}}
 
|}<noinclude>{{Documentation}}</noinclude>
 

Revision as of 21:36, 17 December 2016

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

Template:Parameter names example

Usage

Blank template:

{{Infobox NCAA Football Tournament
 | Year = 
 | Division =  
 | Image =  
 | ImageSize =  
 | Caption =  
 | Teams =  
 | Stadium =  
 | Location =  
 | Champions =  
 | TitleCount =  
 | ChampGameCount =  
 | RunnerUp =  
 | GameCount =  
 | Semifinal1 =  
 | Semifinal2 =  
 | Coach =  
 | CoachCount =  
 | Attendance =  

}}

Parameters

NCG = National Championship Game

Parameter Explanation Example
Year Calendar year of the football season 2009
Image An image for the tournament.
Follow Wikipedia guidelines.
Bad Title Example.png
Caption A caption for the image, if provided 2009 NCAA Division II logo
Teams # of teams participating in the tournament 24
Stadium Name of the stadium hosting the NCG [[Finley Stadium]]
Location Name of the city/state hosting the NCG [[Chattanooga, Tennessee]]
Champions Name of the team that won the NCG [[2009 Savannah State Tigers football team|Savannah State Tigers]]
TitleCount nth championship for winning team 1st
ChampGameCount nth NCG appearance by winning team 2nd
RunnerUp Name of the team that lost the NCG [[2009 Old Dominion Monarchs football team|Old Dominion University]]
GameCount nth NCG appearance by runner-up 4th
Semifinal1 Name of first playoff semifinalist [[Ohio Bobcats football|Ohio University]]
Semifinal2 Name of second playoff semifinalist [[Troy Trojans football|Troy University]]
Coach Name of the coach of the champions [[Vince Lombardi]]
CoachCount nth championship for the coach 2nd
Attendance NCG attendance 16,800

Example

2009 NCAA Division I National Football Championship playoffs
Bad Title Example.png
Example logo
Teams16
Finals SiteTemplate:Ubl
ChampionsTemplate:Ubl
Runner-UpTemplate:Ubl
SemifinalistsTemplate:Ubl
Winning CoachTemplate:Ubl
Attendance12,345
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox NCAA Football Tournament|
| Division       = I
| Year           = 2009
| Image          = Bad Title Example.png
| ImageSize      = 150px
| Caption        = Example logo
| Teams          = 16
| Stadium        = [[W. Max Finley Stadium|Finley Stadium]]
| Location       = [[Chattanooga, Tennessee]]
| Champions      = [[2009 Savannah State Tigers football team|Savannah State University]]
| TitleCount     = 1st
| ChampGameCount = 2nd
| RunnerUp       = [[2009 Old Dominion Monarchs football team|Old Dominion University]]
| GameCount      = 1st
| Semifinal1     = [[North Carolina Central Eagles football|North Carolina Central University]]
| Semifinal2     = [[Charleston Southern Buccaneers football|Charleston Southern University]]
| Coach          = [[Robby Wells]]
| CoachCount     = 1st
| Attendance     = 12,345
}}