Jump to content

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

(Difference between pages)
Page 1
Page 2
Content deleted Content added
 
m fixing lint errors
 
Line 4: Line 4:
|titleclass = adr
|titleclass = adr
|title = {{#ifeq:{{lc:{{{embed|}}}}}|yes||<span class="fn org extended-address">{{{ground_name|{{{ground|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}</span>}}
|title = {{#ifeq:{{lc:{{{embed|}}}}}|yes||<span class="fn org extended-address">{{{ground_name|{{{ground|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}</span>}}
|subheader = {{#if:{{{nickname|{{{othernames|}}}}}}|<span class="nickname">{{{nickname|{{{othernames|}}}}}}</span>}}
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo_image|}}}|size={{{logosize|{{{logo_size|}}}}}}|sizedefault=frameless}}
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo_image|}}}|size={{{logosize|{{{logo_size|}}}}}}|sizedefault=frameless}}
|caption = {{{logo_caption|}}}
|caption = {{{logo_caption|}}}
|image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=270px}}
|image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=270px}}
|caption2 = {{{caption|}}}
|caption2 = {{{caption|}}}
|image3 = {{{map|}}}
|headerstyle = background:lavender
|headerstyle = background:lavender


Line 45: Line 43:
|header17= {{#if:{{{international|}}}|International information}}
|header17= {{#if:{{{international|}}}|International information}}
|label18 = First Test
|label18 = First Test
|data18 = {{#if:{{{firsttestdate|}}}|{{{firsttestdate|}}} {{{firsttestyear|}}}:<br>{{cr|{{{firsttesthome|}}}|{{{firsttesthomevar|}}}}} v {{cr|{{{firsttestaway|}}}|{{{firsttestawayvar|}}}}}}}
|data18 = {{#if:{{{firsttestdate|}}}|<small>{{{firsttestdate|}}} {{{firsttestyear|}}}:<br>{{cr|{{{firsttesthome|}}}}} v {{cr|{{{firsttestaway|}}}}}</small>}}
|label19 = Last Test
|label19 = Last Test
|data19 = {{#if:{{{lasttestdate|}}}|{{{lasttestdate|}}} {{{lasttestyear|}}}:<br>{{cr|{{{lasttesthome|}}}|{{{lasttesthomevar|}}}}} v {{cr|{{{lasttestaway|}}}|{{{lasttestawayvar|}}}}}}}
|data19 = {{#if:{{{lasttestdate|}}}|<small>{{{lasttestdate|}}} {{{lasttestyear|}}}:<br>{{cr|{{{lasttesthome|}}}}} v {{cr|{{{lasttestaway|}}}}}</small>}}
|label20 = Only Test
|label20 = Only Test
|data20 = {{#if:{{{onlytestdate|}}}|{{{onlytestdate|}}} {{{onlytestyear|}}}:<br>{{cr|{{{onlytesthome|}}}|{{{onlytesthomevar|}}}}} v {{cr|{{{onlytestaway|}}}|{{{onlytestawayvar|}}}}}}}
|data20 = {{#if:{{{onlytestdate|}}}|<small>{{{onlytestdate|}}} {{{onlytestyear|}}}:<br>{{cr|{{{onlytesthome|}}}}} v {{cr|{{{onlytestaway|}}}}}</small>}}
|label21 = First ODI
|label21 = First ODI
|data21 = {{#if:{{{firstodidate|}}}|{{{firstodidate|}}} {{{firstodiyear|}}}:<br>{{cr|{{{firstodihome|}}}|{{{firstodihomevar|}}}}} v {{cr|{{{firstodiaway|}}}|{{{firstodiawayvar|}}}}}}}
|data21 = {{#if:{{{firstodidate|}}}|<small>{{{firstodidate|}}} {{{firstodiyear|}}}:<br>{{cr|{{{firstodihome|}}}}} v {{cr|{{{firstodiaway|}}}}}</small>}}
|label22 = Last ODI
|label22 = Last ODI
|data22 = {{#if:{{{lastodidate|}}}|{{{lastodidate|}}} {{{lastodiyear|}}}:<br>{{cr|{{{lastodihome|}}}|{{{lastodihomevar|}}}}} v {{cr|{{{lastodiaway|}}}|{{{lastodiawayvar|}}}}}}}
|data22 = {{#if:{{{lastodidate|}}}|<small>{{{lastodidate|}}} {{{lastodiyear|}}}:<br>{{cr|{{{lastodihome|}}}}} v {{cr|{{{lastodiaway|}}}}}</small>}}
|label23 = Only ODI
|label23 = Only ODI
|data23 = {{#if:{{{onlyodidate|}}}|{{{onlyodidate|}}} {{{onlyodiyear|}}}:<br>{{cr|{{{onlyodihome|}}}|{{{onlyodihomevar|}}}}} v {{cr|{{{onlyodiaway|}}}|{{{onlyodiawayvar|}}}}}}}
|data23 = {{#if:{{{onlyodidate|}}}|<small>{{{onlyodidate|}}} {{{onlyodiyear|}}}:<br>{{cr|{{{onlyodihome|}}}}} v {{cr|{{{onlyodiaway|}}}}}</small>}}
|label24 = First T20I
|label24 = First T20I
|data24 = {{#if:{{{firstt20idate|}}}|{{{firstt20idate|}}} {{{firstt20iyear|}}}:<br>{{cr|{{{firstt20ihome|}}}|{{{firstt20ihomevar|}}}}} v {{cr|{{{firstt20iaway|}}}|{{{firstt20iawayvar|}}}}}}}
|data24 = {{#if:{{{firstt20idate|}}}|<small>{{{firstt20idate|}}} {{{firstt20iyear|}}}:<br>{{cr|{{{firstt20ihome|}}}}} v {{cr|{{{firstt20iaway|}}}}}</small>}}
|label25 = Last T20I
|label25 = Last T20I
|data25 = {{#if:{{{lastt20idate|}}}|{{{lastt20idate|}}} {{{lastt20iyear|}}}:<br>{{#ifeq:{{{lastt20ihomeflag|}}}|no|{{{lastt20ihome|}}}|{{cr|{{{lastt20ihome|}}}|{{{lastt20ihomevar|}}}}}}} v {{cr|{{{lastt20iaway|}}}|{{{lastt20iawayvar|}}}}}}}
|data25 = {{#if:{{{lastt20idate|}}}|<small>{{{lastt20idate|}}} {{{lastt20iyear|}}}:<br>{{cr|{{{lastt20ihome|}}}}} v {{cr|{{{lastt20iaway|}}}}}</small>}}
|label26 = Only T20I
|label26 = Only T20I
|data26 = {{#if:{{{onlyt20idate|}}}|{{{onlyt20idate|}}} {{{onlyt20iyear|}}}:<br>{{cr|{{{onlyt20ihome|}}}|{{{onlyt20ihomevar|}}}}} v {{cr|{{{onlyt20iaway|}}}|{{{onlyt20iawayvar|}}}}}}}
|data26 = {{#if:{{{onlyt20idate|}}}|<small>{{{onlyt20idate|}}} {{{onlyt20iyear|}}}:<br>{{cr|{{{onlyt20ihome|}}}}} v {{cr|{{{onlyt20iaway|}}}}}</small>}}
|header27= {{#if:{{{club1|}}}|Team information}}
|label27 = First women's Test
|data28 = {{#if:{{{club1|}}}|<table style="width:100%">
|data27 = {{#if:{{{firstwtestdate|}}}|{{{firstwtestdate|}}} {{{firstwtestyear|}}}:<br>{{crw|{{{firstwtesthome|}}}|{{{firstwtesthomevar|}}}}} v {{crw|{{{firstwtestaway|}}}|{{{firstwtestawayvar|}}}}}}}
|label28 = Last women's Test
|data28 = {{#if:{{{lastwtestdate|}}}|{{{lastwtestdate|}}} {{{lastwtestyear|}}}:<br>{{crw|{{{lastwtesthome|}}}|{{{lastwtesthomevar|}}}}} v {{crw|{{{lastwtestaway|}}}|{{{lastwtestawayvar|}}}}}}}
|label29 = Only women's Test
|data29 = {{#if:{{{onlywtestdate|}}}|{{{onlywtestdate|}}} {{{onlywtestyear|}}}:<br>{{crw|{{{onlywtesthome|}}}|{{{onlywtesthomevar|}}}}} v {{crw|{{{onlywtestaway|}}}|{{{onlywtestawayvar|}}}}}}}
|label30 = First WODI
|data30 = {{#if:{{{firstwodidate|}}}|{{{firstwodidate|}}} {{{firstwodiyear|}}}:<br>{{crw|{{{firstwodihome|}}}|{{{firstwodihomevar|}}}}} v {{crw|{{{firstwodiaway|}}}|{{{firstwodiawayvar|}}}}}}}
|label31 = Last WODI
|data31 = {{#if:{{{lastwodidate|}}}|{{{lastwodidate|}}} {{{lastwodiyear|}}}:<br>{{crw|{{{lastwodihome|}}}|{{{lastwodihomevar|}}}}} v {{crw|{{{lastwodiaway|}}}|{{{lastwodiawayvar|}}}}}}}
|label32 = Only WODI
|data32 = {{#if:{{{onlywodidate|}}}|{{{onlywodidate|}}} {{{onlywodiyear|}}}:<br>{{crw|{{{onlywodihome|}}}|{{{onlywodihomevar|}}}}} v {{crw|{{{onlywodiaway|}}}|{{{onlywodiawayvar|}}}}}}}
|label33 = First WT20I
|data33 = {{#if:{{{firstwt20idate|}}}|{{{firstwt20idate|}}} {{{firstwt20iyear|}}}:<br>{{crw|{{{firstwt20ihome|}}}|{{{firstwt20ihomevar|}}}}} v {{crw|{{{firstwt20iaway|}}}|{{{firstwt20iawayvar|}}}}}}}
|label34 = Last WT20I
|data34 = {{#if:{{{lastwt20idate|}}}|{{{lastwt20idate|}}} {{{lastwt20iyear|}}}:<br>{{crw|{{{lastwt20ihome|}}}|{{{lastwt20ihomevar|}}}}} v {{crw|{{{lastwt20iaway|}}}|{{{lastwt20iawayvar|}}}}}}}
|label35 = Only WT20I
|data35 = {{#if:{{{onlywt20idate|}}}|{{{onlywt20idate|}}} {{{onlywt20iyear|}}}:<br>{{crw|{{{onlywt20ihome|}}}|{{{onlywt20ihomevar|}}}}} v {{crw|{{{onlywt20iaway|}}}|{{{onlywt20iawayvar|}}}}}}}
|header36= {{#if:{{{club1|}}}|Team information}}
|data37 = {{#if:{{{club1|}}}|<table style="width:100%">
{{#if:{{{club1|}}}|<tr><th style="font-weight:normal;text-align:left">{{{club1}}}</th>
{{#if:{{{club1|}}}|<tr><th style="font-weight:normal;text-align:left">{{{club1}}}</th>
<td style="text-align:right">{{#if:{{{year1|}}}|({{{year1|}}})}}</td></tr>
<td style="text-align:right">{{#if:{{{year1|}}}|({{{year1|}}})}}</td></tr>