Jump to content

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

(Difference between pages)
Page 1
Page 2
>Abazizfahad
Undid revision 1143047059 by Abazizfahad (talk)
 
>Harrias
more testing for dates
 
Line 12: Line 12:
| datastylea = text-align: center;
| datastylea = text-align: center;
| datastyleb = text-align: center;
| datastyleb = text-align: center;
| data1a  ={{#invoke:InfoboxImage|InfoboxImage|image={{{team1_image|}}}|size=50px|alt={{{team1_image_alt|}}}}}
| data1a  ={{#invoke:InfoboxImage|InfoboxImage|image={{{team1_image|}}}|size=50px|alt={{{alt|}}}}}
| data1b  = {{#invoke:InfoboxImage|InfoboxImage|image={{{team2_image|}}}|size=50px|alt={{{team2_image_alt|}}}}}
| data1b  = {{#invoke:InfoboxImage|InfoboxImage|image={{{team2_image|}}}|size=50px|alt={{{alt|}}}}}
| label2 = {{#if:{{{team1_name|}}}{{{team2_name|}}}| }}
| label2 = {{#if:{{{team1_name|}}}{{{team2_name|}}}| }}
| data2a = {{{team1_name|}}}
| data2a = {{{team1_name|}}}
Line 71: Line 71:
| data23 = {{{player_of_twenty20_series |}}}
| data23 = {{{player_of_twenty20_series |}}}


| header24 = {{#if:{{{no_of_FCs|}}}|FC series}}
| header24 = {{#if:{{{team1_points|}}}|{{{points_header|Points total}}}}}
| label25 = Result
| data25 = {{#if:{{{team1_points|}}}|{{{team1_name}}} {{{team1_points}}}, {{{team2_name}}} {{{team2_points}}}}}
| data25 = {{ #ifeq: {{ #expr: {{ #if: {{{team1_FCs_won|}}} |{{{team1_FCs_won|}}} |0 }} > {{ #if: {{{team2_FCs_won|}}} |{{{team2_FCs_won|}}} |0 }} }} |1 | {{#if: {{{team1_FCs_won|}}} | {{{team1_name}}} won the {{{no_of_FCs}}}-match series {{{team1_FCs_won}}}{{{team2_FCs_won}}}}}}}{{ #ifeq: {{ #expr: {{ #if: {{{team2_FCs_won|}}} |{{{team2_FCs_won|}}} |0 }} > {{ #if: {{{team1_FCs_won|}}} |{{{team1_FCs_won|}}} |0 }} }} |1 | {{#if: {{{team1_FCs_won|}}} | {{{team2_name}}} won the {{{no_of_FCs}}}-match series {{{team2_FCs_won}}}–{{{team1_FCs_won}}}}}}}{{ #ifeq: {{ #expr: {{ #if: {{{team1_FCs_won|}}} |{{{team1_FCs_won|}}} |0 }} = {{ #if: {{{team2_FCs_won|}}} |{{{team2_FCs_won|}}} |0 }} }} |1 | {{#if: {{{team1_FCs_won|}}} | {{{no_of_FCs}}}-match series drawn {{{team1_FCs_won}}}–{{{team2_FCs_won}}}}}}}
}}</includeonly><noinclude>
| label26 = Most runs
{{Testcase table
| data26a = {{{team1_FCs_most_runs|}}}
| series_name = "series_name"
| data26b = {{{team2_FCs_most_runs|}}}
| other_titles = "other_titles"
| label27 = Most wickets
| team1_image = Example en.svg
| data27a = {{{team1_FCs_most_wickets|}}}
| team1_name = "team1_name"
| data27b = {{{team2_FCs_most_wickets|}}}
| team2_image = Example en.svg
| label28 = Player of the series
| team2_name = "team2_name"
| data28 = {{{player_of_FC_series|}}}
| from_date = "from_date"
 
| to_date = "to_date"
| header29 = {{#if:{{{no_of_LAs|}}}|LA series}}
| dates = "from–to date"
| label30 = Result
| team1_captain = "team1_captain"
| data30 = {{ #ifeq: {{ #expr: {{ #if: {{{team1_LAs_won|}}} |{{{team1_LAs_won|}}} |0 }} > {{ #if: {{{team2_LAs_won|}}} |{{{team2_LAs_won|}}} |0 }} }} |1 | {{#if: {{{team1_LAs_won|}}} | {{{team1_name}}} won the {{{no_of_LAs}}}-match series {{{team1_LAs_won}}}–{{{team2_LAs_won}}}}}}}{{ #ifeq: {{ #expr: {{ #if: {{{team2_LAs_won|}}} |{{{team2_LAs_won|}}} |0 }} > {{ #if: {{{team1_LAs_won|}}} |{{{team1_LAs_won|}}} |0 }} }} |1 | {{#if: {{{team1_LAs_won|}}} | {{{team2_name}}} won the {{{no_of_LAs}}}-match series {{{team2_LAs_won}}}–{{{team1_LAs_won}}}}}}}{{ #ifeq: {{ #expr: {{ #if: {{{team1_LAs_won|}}} |{{{team1_LAs_won|}}} |0 }} = {{ #if: {{{team2_LAs_won|}}} |{{{team2_LAs_won|}}} |0 }} }} |1 | {{#if: {{{team1_LAs_won|}}} | {{{no_of_LAs}}}-match series drawn {{{team1_LAs_won}}}–{{{team2_LAs_won}}}}}}}
| team2_captain = "team2_captain"
| label31 = Most runs
| player_of_series = "player_of_series"
| data31a = {{{team1_LAs_most_runs|}}}
| team1_series_most_runs = "team1_series_most_runs"
| data31b = {{{team2_LAs_most_runs|}}}
| team2_series_most_runs = "team2_series_most_runs"
| label32 = Most wickets
| team1_series_most_wickets = "team1_series_most_wickets"
| data32a = {{{team1_LAs_most_wickets|}}}
| team2_series_most_wickets = "team2_series_most_wickets"
| data32b = {{{team2_LAs_most_wickets|}}}
| no_of_tests = "no_of_tests"
| label33 = Player of the series
| team1_tests_won = "team1_tests_won"
| data33 = {{{player_of_LA_series|}}}
| team2_tests_won = "team2_tests_won"
 
| team1_tests_most_runs = "team1_tests_most_runs"
 
| team2_tests_most_runs = "team2_tests_most_runs"
| header34 = {{#if:{{{team1_points|}}}|{{{points_header|Points total}}}}}
| team1_tests_most_wickets = "team1_tests_most_wickets"
| data35 = {{#if:{{{team1_points|}}}|{{{team1_name}}} {{{team1_points}}}, {{{team2_name}}} {{{team2_points}}}}}
| team2_tests_most_wickets = "team2_tests_most_wickets"
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox cricket tour with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox cricket tour]] with unknown parameter "_VALUE_"|ignoreblank=y| from_date | dates | no_of_FCs | no_of_LAs | no_of_ODIs | no_of_tests | no_of_twenty20s | other_titles | player_of_FC_series | player_of_LA_series | player_of_ODI_series | player_of_series | player_of_test_series | player_of_twenty20_series | points_header | series_name | team1_captain | team1_FCs_most_runs | team1_FCs_most_wickets | team1_FCs_won | team1_image | team1_image_alt | team1_LAs_most_runs | team1_LAs_most_wickets | team1_LAs_won | team1_name | team1_ODIs_most_runs | team1_ODIs_most_wickets | team1_ODIs_won | team1_points | team1_series_most_runs | team1_series_most_wickets | team1_tests_most_runs | team1_tests_most_wickets | team1_tests_won | team2_captain | team2_FCs_most_runs | team2_FCs_most_wickets | team2_FCs_won | team2_image | team2_image_alt | team2_LAs_most_runs | team2_LAs_most_wickets | team2_LAs_won | team2_name | team2_ODIs_most_runs | team2_ODIs_most_wickets | team2_ODIs_won | team2_points | team2_series_most_runs | team2_series_most_wickets | team2_tests_most_runs | team2_tests_most_wickets | team2_tests_won | team1_twenty20s_most_runs | team1_twenty20s_most_wickets | team1_twenty20s_won | team2_twenty20s_most_runs | team2_twenty20s_most_wickets | team2_twenty20s_won | to_date }}<noinclude>
| player_of_test_series = "player_of_test_series"
{{documentation}}
| no_of_ODIs = "no_of_ODIs"
| team1_ODIs_won = "team1_ODIs_won"
| team2_ODIs_won = "team2_ODIs_won"
| team1_ODIs_most_runs = "team1_ODIs_most_runs"
| team2_ODIs_most_runs = "team2_ODIs_most_runs"
| team1_ODIs_most_wickets = "team1_ODIs_most_wickets"
| team2_ODIs_most_wickets = "team2_ODIs_most_wickets"
| player_of_ODI_series = "player_of_ODI_series"  
| no_of_twenty20s = "no_of_twenty20s"
| team1_twenty20s_won = "team1_twenty20s_won"
| team2_twenty20s_won = "team2_twenty20s_won"
| team1_twenty20s_most_runs = "team1_twenty20s_most_runs"
| team2_twenty20s_most_runs = "team2_twenty20s_most_runs"
| team1_twenty20s_most_wickets = "team1_twenty20s_most_wickets"
| team2_twenty20s_most_wickets = "team2_twenty20s_most_wickets"
| player_of_twenty20_series = "player_of_twenty20_series"
| team1_points = "team1_points"
| points_header = "points_header"
| team2_points = "team2_points"
}}
</noinclude>
</noinclude>