Difference between revisions of "Template:Infobox OHA team"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style for better HTML5 compatibility)
imported>Frietjes
(refactored)
 
Line 1: Line 1:
{| class="infobox" cellpadding="4" style="font-size: 90%; width: 28em;"
+
{{Infobox hockey team
|- style="text-align:center;font-size: medium; color:{{{text_color}}}; background-color:{{{bg_color}}}; padding:5px;" |
+
| team        = {{{team_name|}}}
| colspan="2" | '''{{{team_name}}}'''
+
| color      = {{{bg_color|}}}
{{#if:{{{logo_image|}}}|
+
| color text  = {{{text_color|}}}
{{!}}-
+
| logo        = {{{logo_image|}}}
{{!}} colspan="2" style="text-align:center;background-color:white;" {{!}} [[Image:{{{logo_image}}}|center|125px|{{{team_name}}}]]
+
| logosize    = 125px
 +
| city        = {{{city|}}}
 +
| league      = {{{league|}}}
 +
| conference  = {{{conference|}}}
 +
| division    = {{{division|}}}
 +
| founded    = {{{founded|}}}
 +
| folded      = {{{folded|}}}
 +
| arena      = {{{arena|}}}
 +
| colo{{#if:{{{CAN_eng|}}}|u|}}rs = {{{team_colors|}}}
 +
| owner      =
 +
| GM          = {{{general_manager|}}}
 +
| coach      = {{{head_coach|}}}
 +
| captain    =
 +
| affiliates  = {{{affiliates|{{{affiliate|}}}}}}
 +
| website    =
 +
| module      = {{#if:{{{league_champions|}}}{{{cs_cup|}}}{{{dudley_cup|}}}{{{oha_cup|}}}{{{robertson_cup|}}}{{{renwick_cup|}}}{{{allan_cup|}}}
 +
|{{infobox|child=yes
 +
| label1 = League Champions
 +
| data1 = {{{league_champions|}}}
 +
| label2 = Clarence Schmalz Cups
 +
| data2 = {{{cs_cup|}}}
 +
| label3 = George S. Dudley Cups
 +
| data3 = {{{dudley_cup|}}}
 +
| label4 = OHA Cups
 +
| data4 = {{{oha_cup|}}}
 +
| label5 = Robertson Cups
 +
| data5 = {{{robertson_cup|}}}
 +
| label6 = Renwick Cups
 +
| data6 = {{{renwick_cup|}}}
 +
| label7 = Allan Cups
 +
| data7 = {{{allan_cup|}}}
 
}}
 
}}
|- style="text-align:center;font-size: 105%; color:{{{text_color}}}; background-color:{{{bg_color}}}; padding:5px;" |
 
| colspan="2" | '''{{{league}}}'''
 
|-
 
|| '''City''' || {{{city}}}
 
|-
 
|| '''Founded''' || {{{founded}}}
 
|-
 
{{#if:{{{division|}}}|
 
! style="text-align: left;" {{!}} Division
 
{{!}} {{{division}}}
 
 
}}
 
}}
|-
+
<!-- Optional current franchise history -->
{{#if:{{{history|}}}|
+
| name1  = {{{name1|{{{history|}}}}}}
! style="text-align: left;" {{!}} Franchise history
+
| dates1  = {{{dates1|}}}
{{!}} {{{history}}}
+
| name2  =
}}
+
| dates2  =
|-
+
<!-- Optional previous franchise history -->
{{#if:{{{alternate|}}}|
+
| altname1  = {{{altname1|{{{alternate|}}}}}}
! style="text-align: left;" {{!}} Alternate history
+
| altdates1 = {{{altdates1|}}}
{{!}} {{{alternate}}}
+
| altname2  =  
}}
+
| altdates2 =  
|-
+
}}<noinclude>
|| '''Head Coach''' || {{{head_coach}}}
 
|-
 
|| '''General Manager''' || {{{general_manager}}}
 
|-
 
|| '''Arena''' || {{{arena}}}
 
|-
 
{{#if:{{{affiliate|}}}|
 
! style="text-align: left;" {{!}} Affiliate(s)
 
{{!}} {{{affiliate}}}
 
}}
 
|-
 
|| '''Team Colo{{#if:{{{CAN_eng|}}}|u|}}rs''' || {{{team_colors}}}  
 
|-
 
{{#if:{{{league_champions|}}}|
 
! style="text-align: left;" {{!}} League Champions
 
{{!}} {{{league_champions}}}
 
}}
 
|-
 
{{#if:{{{cs_cup|}}}|
 
! style="text-align: left;" {{!}} Clarence Schmalz Cups
 
{{!}} {{{cs_cup}}}
 
}}
 
|-
 
{{#if:{{{dudley_cup|}}}|
 
! style="text-align: left;" {{!}} George S. Dudley Cups
 
{{!}} {{{dudley_cup}}}
 
}}
 
|-
 
{{#if:{{{oha_cup|}}}|
 
! style="text-align: left;" {{!}} OHA Cups
 
{{!}} {{{oha_cup}}}
 
}}
 
|-
 
{{#if:{{{robertson_cup|}}}|
 
! style="text-align: left;" {{!}} Robertson Cups
 
{{!}} {{{robertson_cup}}}
 
}}
 
|-
 
{{#if:{{{renwick_cup|}}}|
 
! style="text-align: left;" {{!}} Renwick Cups
 
{{!}} {{{renwick_cup}}}
 
}}
 
|-
 
{{#if:{{{allan_cup|}}}|
 
! style="text-align: left;" {{!}} Allan Cups
 
{{!}} {{{allan_cup}}}
 
}}
 
|}
 
<noinclude>
 
 
{| style="background: transparent;"
 
{| style="background: transparent;"
 
|<pre>{{Infobox OHA team
 
|<pre>{{Infobox OHA team

Latest revision as of 21:27, 20 June 2016

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

{{Infobox OHA team
|team_name = 
|league =
|bg_color = 
|text_color = 
|logo_image = 
|division = 
|founded = 
|history = 
|alternate = 
|arena = 
|city = 
|affiliate =
|team_colors = 
|head_coach = 
|general_manager = 
|league_champions =
|cs_cup = 
|dudley_cup =
|oha_cup = 
|robertson_cup = 
|renwick_cup = 
|allan_cup = 
}}