Difference between revisions of "Template:Infobox NCAA Ice Hockey Conference Tournament"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style for better HTML5 compatibility)
Line 1: Line 1:
{| class="infobox nowraplinks" width="300" cellspacing="0" style="font-size:90%;"
+
{{infobox
|-
+
| bodyclass = nowraplinks
! colspan="2" style="font-size: medium; text-align: center;" | {{{Year}}} {{{Conference}}} {{{Gender}}} Ice Hockey Tournament
+
| abovestyle = font-size:medium
|-
+
| above = {{#if:{{{Conference|}}}|{{{Year|}}} {{{Conference|}}} {{{Gender|}}} Ice Hockey Tournament}}
{{#if: {{{Image|<noinclude>-</noinclude>}}} |
+
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{Image|}}}|size={{{ImageSize|}}}}}
{{!}} colspan="2" style="text-align: center;" {{!}} [[Image:{{{Image}}}|{{{ImageSize}}}|{{{Caption}}}]]<br /><small>''{{{Caption}}}''</small>
+
| caption = {{{Caption|}}}
{{!}}-
+
 
 +
| label1 = Dates
 +
| data1 = {{{Dates|}}}
 +
 
 +
| label2 = Teams
 +
| data2 = {{{Teams|}}}
 +
 
 +
| label3 = Site
 +
| data3 = {{br separated entries|{{{Arena|}}}|{{{City|}}}}}
 +
 
 +
| label4 = First round site
 +
| data4 = {{br separated entries|{{{1stRoundArena|}}}|{{{1stRoundCity|}}}}}
 +
 
 +
| label5 = Quarterfinals site
 +
| data5 = {{br separated entries|{{{QuarterArena|}}}|{{{QuarterCity|}}}}}
 +
 
 +
| label6 = Semifinals site
 +
| data6 = {{br separated entries|{{{SemiArena|}}}|{{{SemiCity|}}}}}
 +
 
 +
| label7 = Finals site
 +
| data7 = {{br separated entries|{{{FinalArena|}}}|{{{FinalCity|}}}}}
 +
 
 +
| label8 = Champions
 +
| data8 = {{#if:{{{Champions|}}}|{{{Champions|}}} <small>({{{TitleCount}}} title)</small>}}
 +
 
 +
| label9 = Winning coach
 +
| data9 = {{#if:{{{Coach|}}}|{{{Coach|}}} <small>({{{CoachCount}}} title)</small>}}
 +
 
 +
| label10 = [[Most Valuable Player|MVP]]
 +
| data10 = {{#if:{{{MVP|}}}|{{{MVP|}}} <small>({{{MVPTeam}}})</small>}}
 +
 
 +
| label11 = Attendance
 +
| data11 = {{#if:{{{Attendance|}}}|{{formatnum: {{{Attendance|}}}}}}}
 +
 
 +
| label12 = Top scorer{{#if:{{{TopScorer2|}}}|s}}
 +
| data12 = {{#if:{{{TopScorer|}}}|{{unbulleted list
 +
|1={{{TopScorer}}} {{#if:{{{TopScorerTeam|}}}|<small>({{{TopScorerTeam}}})</small>}}
 +
|2={{#if:{{{TopScorer2|}}}|{{{TopScorer2}}} {{#if:{{{TopScorer2Team|}}}|<small>({{{TopScorer2Team}}})</small>}} }}
 +
}} ({{{Points}}} points)}}
 +
 
 +
| belowstyle = background:#eee;
 +
| below = {{#if:{{{Conference|}}}|{{{Conference|}}} {{{Gender|}}} Ice Hockey Tournaments
 +
}}{{#if:{{{prevseason_year|}}} | {{align|left| {{auto link|{{{prevseason_link}}}|←&nbsp;{{{prevseason_year}}} }} }}
 +
}}{{#if:{{{nextseason_year|}}} | {{align|right| {{auto link|{{{nextseason_link}}}|{{{nextseason_year}}}&nbsp;→}} }}
 
}}
 
}}
{{#if:{{{Dates|<noinclude>-</noinclude>}}}|
+
}}<noinclude>
{{!}} '''Dates'''
+
{{documentation|content=
{{!}} {{{Dates}}}
+
== Usage ==
{{!}}-
+
<pre style="overflow:auto">
 +
{{Infobox NCAA Ice Hockey Conference Tournament
 +
| Year =
 +
| Conference =
 +
| Gender =
 +
| Image =
 +
| ImageSize =
 +
| Caption =
 +
| Dates =
 +
| Teams =
 +
| Arena =
 +
| City =
 +
| 1stRoundArena =
 +
| 1stRoundCity =
 +
| QuarterArena =
 +
| QuarterCity =
 +
| SemiArena =
 +
| SemiCity =
 +
| FinalArena =
 +
| FinalCity =
 +
| Champions =
 +
| TitleCount =
 +
| Coach =
 +
| CoachCount =
 +
| MVP =
 +
| MVPTeam =
 +
| Attendance =
 +
| TopScorer2 =
 +
| TopScorer =
 +
| TopScorerTeam =
 +
| TopScorer2Team =
 +
| Points =
 +
| prevseason_year =
 +
| prevseason_link =
 +
| nextseason_year =
 +
| nextseason_link =
 
}}
 
}}
{{#if: {{{Teams|<noinclude>-</noinclude>}}} |
+
</pre>
{{!}} '''Teams'''
 
{{!}} {{{Teams}}}
 
{{!}}-
 
 
}}
 
}}
{{#if: {{{Arena|<noinclude>-</noinclude>}}} |
+
[[Category:American college ice hockey infobox templates|NCAA Ice Hockey Conference Tournament]]</noinclude>
{{!}} '''Site'''
 
{{!}} {{{Arena}}}<br />{{{City}}}
 
{{!}}-
 
}}
 
{{#if: {{{1stRoundArena|<noinclude>-</noinclude>}}} |
 
{{!}} '''First round site'''
 
{{!}} {{{1stRoundArena}}}<br />{{{1stRoundCity}}}
 
{{!}}-
 
}}
 
{{#if: {{{QuarterArena|<noinclude>-</noinclude>}}} |
 
{{!}} '''Quarterfinals site'''
 
{{!}} {{{QuarterArena}}}<br />{{{QuarterCity}}}
 
{{!}}-
 
}}
 
{{#if: {{{SemiArena|<noinclude>-</noinclude>}}} |
 
{{!}} '''Semifinals site'''
 
{{!}} {{{SemiArena}}}<br />{{{SemiCity}}}
 
{{!}}-
 
}}
 
{{#if: {{{FinalArena|<noinclude>-</noinclude>}}} |
 
{{!}} '''Finals site'''
 
{{!}} {{{FinalArena}}}<br />{{{FinalCity}}}
 
{{!}}-
 
}}
 
{{#if: {{{Champions|<noinclude>-</noinclude>}}} |
 
{{!}} '''Champions'''
 
{{!}} {{{Champions}}} <small>({{{TitleCount}}} title)</small>
 
{{!}}-
 
}}
 
{{#if: {{{Coach|<noinclude>-</noinclude>}}} |
 
{{!}} '''Winning coach'''
 
{{!}} {{{Coach}}} <small>({{{CoachCount}}} title)</small>
 
{{!}}-
 
}}
 
{{#if: {{{MVP|<noinclude>-</noinclude>}}} |
 
{{!}} '''[[Most Valuable Player|MVP]]'''
 
{{!}} {{{MVP}}} <small>({{{MVPTeam}}})</small>
 
{{!}}-
 
}}
 
{{#if: {{{Attendance|<noinclude>-</noinclude>}}} |
 
{{!}} '''Attendance'''
 
{{!}} {{formatnum: {{{Attendance|0}}}}}
 
{{!}}-
 
}}
 
{{#if: {{{OneTopScorer|<noinclude>-</noinclude>}}} |
 
{{!}} '''Top scorer'''
 
{{!}} {{{TopScorer}}} <small>({{{TopScorerTeam}}})</small><br />({{{Points}}} points)
 
{{!}}-
 
}}
 
{{#if: {{{TwoTopScorers|<noinclude>-</noinclude>}}} |
 
{{!}} '''Top scorers'''
 
{{!}} {{{TopScorer}}} <small>({{{TopScorerTeam}}})</small><br />{{{TopScorer2}}} <small>({{{TopScorer2Team}}})</small><br />({{{Points}}} points)
 
}}
 
|- style="font-size:95%;background:#eee;"
 
| style="text-align:center;" colspan="2" | {{{Conference}}} {{{Gender}}} Ice Hockey Tournaments
 
{| style="font-size:95%; width:80%; border:1px; border-collapse:collapse; background:#eee; line-height:90%;"
 
|-
 
{{!}}-
 
{{!}} width=50% style="text-align:left;" {{!}}
 
{{#if:{{{prevseason_year<includeonly>|</includeonly>}}} |
 
{{auto link|{{{prevseason_link}}}|←&nbsp;{{{prevseason_year}}}}} |
 
}}
 
{{!}} width=50% style="text-align:right;" {{!}}
 
{{#if:{{{nextseason_year<includeonly>|</includeonly>}}} |
 
{{auto link|{{{nextseason_link}}}|{{{nextseason_year}}}&nbsp;→}}|
 
}}
 
|-
 
|}
 
|}<noinclude>:''See [[Template talk:Infobox NCAA Ice Hockey Conference Tournament|talk page]] for usage directions.[[Category:American college ice hockey infobox templates|NCAA Ice Hockey Conference Tournament]]</noinclude>
 

Revision as of 00:08, 29 August 2015

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

Template documentation

Usage

{{Infobox NCAA Ice Hockey Conference Tournament
| Year = 
| Conference = 
| Gender = 
| Image = 
| ImageSize = 
| Caption = 
| Dates = 
| Teams = 
| Arena = 
| City = 
| 1stRoundArena = 
| 1stRoundCity = 
| QuarterArena = 
| QuarterCity = 
| SemiArena = 
| SemiCity = 
| FinalArena = 
| FinalCity = 
| Champions = 
| TitleCount = 
| Coach = 
| CoachCount = 
| MVP = 
| MVPTeam = 
| Attendance = 
| TopScorer2 = 
| TopScorer = 
| TopScorerTeam = 
| TopScorer2Team = 
| Points = 
| prevseason_year = 
| prevseason_link = 
| nextseason_year = 
| nextseason_link = 
}}