Difference between revisions of "Template:Infobox IPL team"

From blackwiki
Jump to navigation Jump to search
imported>Frietjes
Line 1: Line 1:
{{Infobox
+
{| class="infobox vcard" style="font-size: 88%; width: 22em; text-align: left; line-height: 1.5em"
| bodyclass = vcard
+
! colspan=2 class="fn" style="font-size: 125%; color:{{{text_color}}}; background-color:{{{bg_color}}}; text-align: center" | {{{team_name}}}
| aboveclass = fn
+
|-
| abovestyle = font-size: 125%; color:{{{text_color}}}; background-color:{{{bg_color}}};
+
! colspan=2 class="fn" style="font-size: 125%; text-align: center" | {{{alt_name}}}
| above = {{{team_name}}}
+
|-
| subheaderstyle = font-size: 125%; font-weight:bold;
+
{{#if: {{{logo_image|}}}|
| subheaderclass = fn
+
{{!}} colspan=2 style="background-color:#eeeeee ; text-align: center" {{!}} [[file:{{{logo_image}}}{{!}}200px{{!}}{{{team_name}}}{{!}}alt={{{logo_alt|}}}]]
| 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>
 
 
}}
 
}}
}}<noinclude>{{documentation|content=
+
|- bgcolor="#eeeeee"
== Usage ==
+
{{#if:{{{city|}}}|
<pre>
+
! City
{{Infobox IPL team
+
{{!}} {{{city}}}
| team_name =
+
}}
| alt_name =  
+
|-
| logo_image =  
+
! Founded
| logo_alt =
+
| {{{founded}}}
| text_color =
+
|- bgcolor="#eeeeee"
| bg_color =  
+
{{#if:{{{ground|}}}|
| city =  
+
! Home ground
| founded =
+
{{!}} {{{ground}}}
| ground =  
+
}}
| ground2 =  
+
|-
| owner =
+
{{#if:{{{ground2|}}}|
| colors = <!-- or | colours = -->
+
! Secondary home ground(s)
| captain =
+
{{!}} {{{ground2}}}
| head_coach =
+
}}
| ipl_wins =
+
|- bgcolor="#eeeeee"
| clt20_wins =  
+
{{#if:{{{owner|}}}|
| website =
+
! Owner(s)
| current =
+
{{!}} class="agent" {{!}} {{#if:{{{owner|}}}|{{{owner}}}}}
}}</pre>
+
}}
 
+
|-
[[Category:Sports infobox templates|IPL team]]
+
{{#if:{{{colors|}}}|
}}</noinclude>
+
! 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 13:42, 16 February 2015

{{{team_name}}}
{{{alt_name}}}
Founded {{{founded}}}
[[{{{current}}}]]
Template documentation[create]