Difference between revisions of "Template:Infobox IPL team"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
Line 1: Line 1:
{| class="infobox vcard" style="font-size: 88%; width: 22em; text-align: left; line-height: 1.5em"
+
{{Infobox
! colspan=2 class="fn" style="font-size: 125%; color:{{{text_color}}}; background-color:{{{bg_color}}}; text-align: center" | {{{team_name}}}
+
| bodyclass = vcard
|-
+
| aboveclass = fn
! colspan=2 class="fn" style="font-size: 125%; text-align: center" | {{{alt_name}}}
+
| abovestyle = font-size: 125%; color:{{{text_color}}}; background-color:{{{bg_color}}};
|-
+
| above = {{{team_name}}}
{{#if: {{{logo_image|}}}|
+
| subheaderstyle = font-size: 125%; font-weight:bold;
{{!}} colspan=2 style="background-color:#eeeeee ; text-align: center" {{!}} [[file:{{{logo_image}}}{{!}}200px{{!}}{{{team_name}}}{{!}}alt={{{logo_alt|}}}]]
+
| subheaderclass = fn
{{!}}-
+
| subheader = {{{alt_name|}}}
 +
 
 +
| image = {{#invoke:InfoboxImage|InfoboxImage|image= {{{logo_image|}}}|alt={{{logo_alt|}}}}}
 +
 
 +
| label1 = City
 +
| data1 = {{{city|}}}
 +
 
 +
| label2 = Founded
 +
| data2 = {{{founded|}}}
 +
 
 +
| label3 = Home ground
 +
| data3 = {{{ground|}}}
 +
 
 +
| label4 = Secondary home ground(s)
 +
| data4 = {{{ground2|}}}
 +
 
 +
| label5 = Owner(s)
 +
| class5 = agent
 +
| data5 = {{{owner|}}}
 +
 
 +
| label6 = {{#if:{{{colors|}}}|Colors|Colours}}
 +
| data6 = {{#if:{{{colors|}}}|{{{colors}}}|{{{colours|}}}}}
 +
 
 +
| label7 = Captain
 +
| class7 = agent
 +
| data7 = {{{captain|}}}
 +
 
 +
| label8 = Head coach
 +
| class8 = agent
 +
| data8 = {{{head_coach|}}}
 +
 
 +
| label9 = [[Indian Premier League|IPL]] wins
 +
| data9 ={{{ipl_wins|}}}
 +
 
 +
| label10 = [[Champions League Twenty20|CLT20]] wins
 +
| data10 = {{{clt20_wins|}}}
 +
 
 +
| label11 = Official website
 +
| data11 ={{{website|}}}
 +
 
 +
| belowclass = noprint
 +
| below =  {{#if:{{{current|}}}
 +
|<table width="100%"><tr><td width="40px">[[File:Cricket current event.svg|33px|alt=|link=]]</td><td style="text-align:center; vertical-align:middle; border:0;">''[[{{{current}}}]]''</td></tr></table>
 
}}
 
}}
|- bgcolor="#eeeeee"
+
}}<noinclude>{{documentation|content=
{{#if:{{{city|}}}|
+
== Usage ==
! City
+
 
{{!}} {{{city}}}
+
[[Category:Sports infobox templates|IPL team]]
}}
+
}}</noinclude>
|-
 
! Founded
 
| {{{founded}}}
 
|- bgcolor="#eeeeee"
 
{{#if:{{{ground|}}}|
 
! Home ground
 
{{!}} {{{ground}}}
 
}}
 
|-
 
{{#if:{{{ground2|}}}|
 
! Secondary home ground(s)
 
{{!}} {{{ground2}}}
 
}}
 
|- bgcolor="#eeeeee"
 
{{#if:{{{owner|}}}|
 
! Owner(s)
 
{{!}} class="agent" {{!}} {{#if:{{{owner|}}}|{{{owner}}}}}
 
}}
 
|-
 
{{#if:{{{colors|}}}|
 
! Colors
 
{{!}} {{{colors}}}
 
}}
 
|- bgcolor="#eeeeee"
 
{{#if:{{{captain|}}}|
 
! Captain
 
{{!}} class="agent" {{!}} {{{captain}}}
 
}}
 
|-
 
{{#if:{{{head_coach|}}}|
 
! Head coach
 
{{!}} class="agent" {{!}} {{{head_coach}}}
 
}}
 
|- bgcolor="#eeeeee"
 
{{#if:{{{ipl_wins|}}}|
 
! [[Indian Premier League|IPL]] wins
 
{{!}} {{{ipl_wins|}}}
 
}}
 
|-
 
{{#if:{{{clt20_wins|}}}|
 
! [[Champions League Twenty20|CLT20]] wins
 
{{!}} {{{clt20_wins|}}}
 
}}
 
|- bgcolor="#eeeeee"
 
{{#if:{{{website|}}}|
 
!Official website
 
{{!}} {{{website|}}}
 
}}
 
|-
 
| colspan="2" | {{#if:{{{current<includeonly>|</includeonly>}}}
 
|{{hide in print|1= <table width="100%"><tr><td width="40px">[[File:Cricket current event.svg|33px|alt=|link=]]</td><td style="text-align:center; vertical-align:middle; border:0;">''[[{{{current}}}]]''</td></tr></table> }} }}
 
|-
 
|}<noinclude>{{documentation}}</noinclude>
 

Revision as of 17:58, 10 February 2015

{{{team_name}}}

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

Template documentation

Usage