Jump to content

Template:Infobox cricket series and Template:Infobox cricket series/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
>Jonesey95
Fix too small font per MOS:FONTSIZE. Add auto short description.
 
>Zackmann08
WIP
 
Line 1: Line 1:
<includeonly>{{main other|{{Short description|1=Cricket series|2=noreplace}}}}{{Infobox
<includeonly>{{Infobox
| bodyclass = vevent
| bodyclass = vevent
| bodystyle = width: 26em;
| bodystyle = width: 26em;
Line 7: Line 7:
| subheader = {{#if:{{{partof|}}} |Part of {{{partof|}}}}}
| subheader = {{#if:{{{partof|}}} |Part of {{{partof|}}}}}


| headerstyle = border-top: 1px solid #aaa; padding-top: 3px;
| headerstyle = background-color: #faecc8;


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright=1.1|alt={{{alt|}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|upright=1.1|alt={{{alt|}}}}}
Line 21: Line 21:
| data4 = {{{player of series|}}}
| data4 = {{{player of series|}}}


| data5 = {{Infobox3cols
| header5 = Teams
  | headerstyle = background-color: #faecc8;
| data6 = {{Infobox3cols
  | headerstyle =  
| child= yes
| labelstyle = font-weight: normal;
| label1 = {{{team1|}}}
| data1a = {{{team2|}}}
| data1b = {{{team3|}}}
}}
 
| data7 = {{Infobox3cols
| headerstyle =
  | child= yes
  | child= yes
  | labelstyle = font-weight: normal;
  | labelstyle = font-weight: normal;
| datastylea= border-left: 1px dotted #aaa; padding-left: 5px
| datastyleb= border-left: 1px dotted #aaa;padding-left: 5px
| header1 = Teams
| label2 = {{{team1|}}}
| data2a = {{{team2|}}}
| data2b = {{{team3|}}}
  | header3 = Captains
  | header3 = Captains
  | label4 = {{{captain1|}}}
  | label4 = {{{captain1|}}}
Line 44: Line 48:
  | data8b = {{{wickets3|}}}
  | data8b = {{{wickets3|}}}
}}
}}
| data9 =  {{#if:{{{notes|}}}|<div style="text-align:left;">{{{notes|}}}</div>}}
| data9 =  {{#if:{{{notes|}}}|<div style="text-align:left;"><small>{{{notes|}}}</small></div>}}
| below        = {{align|left|← {{{previous|}}}}}{{align|right|{{{next|}}} →}}
| below        = {{#if:{{{previous|}}}|{{align|left|← {{{previous|}}}}}}}{{#if:{{{next|}}}|{{align|right|{{{next|}}} →}}}}
| belowclass  = noprint nowrap
| belowclass  = noprint nowrap
| belowstyle  = border-top: 1px solid #aaa; padding-top: 3px;
| belowstyle  = border-top: 1px solid #aaa; padding-top: 3px;
}}</includeonly><noinclude>{{documentation}}</noinclude>
}}</includeonly><noinclude>
{{testcase table
| series  = "series "
| partof  = "partof "
| image  = Placeholder.png
| image_size = 20px
| caption  = "caption "
| date  = "date "
| place  = "place "
| result  = "result "
| player of series  = "player of series "
| team1  = "team1 "
| team2  = "team2 "
| team3 = "team3"
| captain1  = "captain1 "
| captain2  = "captain2 "
| captain3  = "captain3 "
| runs1  = "runs1 "
| runs2  = "runs2 "
| runs3  = "runs3 "
| wickets1  = "wickets1 "
| wickets2  = "wickets2 "
| wickets3  = "wickets3 "
| notes  = "notes "
| previous  = "previous "
| next  = "next "
}}
</noinclude>