Difference between revisions of "Template:Infobox Test team"

From blackwiki
Jump to navigation Jump to search
imported>Ianblair23
(added refs)
imported>Zyxw
(wrap references with <includeonly>, move documentation and categories to /doc)
Line 31: Line 31:
 
   {{infobox3cols | child = yes
 
   {{infobox3cols | child = yes
 
     | label11=ICC&nbsp;Rankings
 
     | label11=ICC&nbsp;Rankings
     | data11a='''Current''' <ref name="ICC Rankings">{{cite web|title=ICC Rankings|url=http://www.icc-cricket.com/team-rankings/test|website=icc-cricket.com}}</ref>
+
     | data11a='''Current''' <includeonly><ref name="ICC Rankings">{{cite web|title=ICC Rankings|url=http://www.icc-cricket.com/team-rankings/test|website=icc-cricket.com}}</ref></includeonly>
 
     | data11b='''Best-ever'''
 
     | data11b='''Best-ever'''
 
     | label12 = [[ICC Test Championship|Test]] <br />[[ICC ODI Championship|ODI]]<br />[[ICC T20I Championship|T20I]]
 
     | label12 = [[ICC Test Championship|Test]] <br />[[ICC ODI Championship|ODI]]<br />[[ICC T20I Championship|T20I]]
Line 47: Line 47:
 
     | data24a='''Played'''
 
     | data24a='''Played'''
 
     | data24b='''Won/Lost'''
 
     | data24b='''Won/Lost'''
     | label25 = Total <ref name="Cricinfo Test Records">{{cite web|title=Test matches - Team records|url=http://stats.espncricinfo.com/ci/content/records/283877.html|website=ESPNcricinfo.com}}</ref>
+
     | label25 = Total <includeonly><ref name="Cricinfo Test Records">{{cite web|title=Test matches - Team records|url=http://stats.espncricinfo.com/ci/content/records/283877.html|website=ESPNcricinfo.com}}</ref></includeonly>
 
     | data25a = {{{number of tests}}}  
 
     | data25a = {{{number of tests}}}  
 
     | data25b = {{{win/loss record}}}
 
     | data25b = {{{win/loss record}}}
     | label26 = {{#if:{{{test matches this year|}}}{{{win/loss record this year|}}}|This year}} <ref name="Cricinfo 2016 Test Records">{{cite web|title=Test matches - 2016 Team records|url=http://stats.espncricinfo.com/ci/engine/records/team/results_summary.html?class=1;id=2016;type=year|website=ESPNcricinfo.com}}</ref>
+
     | label26 = {{#if:{{{test matches this year|}}}{{{win/loss record this year|}}}|This year}} <includeonly><ref name="Cricinfo 2016 Test Records">{{cite web|title=Test matches - 2016 Team records|url=http://stats.espncricinfo.com/ci/engine/records/team/results_summary.html?class=1;id=2016;type=year|website=ESPNcricinfo.com}}</ref></includeonly>
 
     | data26a = {{{test matches this year|}}}
 
     | data26a = {{{test matches this year|}}}
 
     | data26b = {{{win/loss record this year|}}}
 
     | data26b = {{{win/loss record this year|}}}
Line 68: Line 68:
 
     | data33a='''Played'''
 
     | data33a='''Played'''
 
     | data33b='''Won/Lost'''
 
     | data33b='''Won/Lost'''
     | label34 = Total <ref name="Cricinfo ODI Records">{{cite web|title=ODI matches - Team records|url=http://stats.espncricinfo.com/ci/content/records/283878.html|website=ESPNcricinfo.com}}</ref>
+
     | label34 = Total <includeonly><ref name="Cricinfo ODI Records">{{cite web|title=ODI matches - Team records|url=http://stats.espncricinfo.com/ci/content/records/283878.html|website=ESPNcricinfo.com}}</ref></includeonly>
 
     | data34a = {{{number of odis|}}}  
 
     | data34a = {{{number of odis|}}}  
 
     | data34b = {{{odi win/loss record|}}}
 
     | data34b = {{{odi win/loss record|}}}
     | label35 = {{#if:{{{odi matches this year|}}}|This year}} <ref name="Cricinfo 2016 ODI Records">{{cite web|title=ODI matches - 2016 Team records|url=http://stats.espncricinfo.com/ci/engine/records/team/results_summary.html?class=2;id=2016;type=year|website=ESPNcricinfo.com}}</ref>
+
     | label35 = {{#if:{{{odi matches this year|}}}|This year}} <includeonly><ref name="Cricinfo 2016 ODI Records">{{cite web|title=ODI matches - 2016 Team records|url=http://stats.espncricinfo.com/ci/engine/records/team/results_summary.html?class=2;id=2016;type=year|website=ESPNcricinfo.com}}</ref></includeonly>
 
     | data35a = {{{odi matches this year|}}}
 
     | data35a = {{{odi matches this year|}}}
 
     | data35b = {{{odi win/loss record this year|}}}
 
     | data35b = {{{odi win/loss record this year|}}}
Line 96: Line 96:
 
     | data43b='''Won/Lost'''
 
     | data43b='''Won/Lost'''
 
     | label44 = {{#if:{{{number of t20is|}}}{{{t20i win/loss record|}}}
 
     | label44 = {{#if:{{{number of t20is|}}}{{{t20i win/loss record|}}}
         | Total <ref name="Cricinfo T20I Records">{{cite web|title=T20I matches - Team records|url=http://stats.espncricinfo.com/ci/content/records/283307.html|website=ESPNcricinfo.com}}</ref> }}
+
         | Total <includeonly><ref name="Cricinfo T20I Records">{{cite web|title=T20I matches - Team records|url=http://stats.espncricinfo.com/ci/content/records/283307.html|website=ESPNcricinfo.com}}</ref></includeonly> }}
 
     | data44a = {{{number of t20is|}}}  
 
     | data44a = {{{number of t20is|}}}  
 
     | data44b = {{{t20i win/loss record|}}}
 
     | data44b = {{{t20i win/loss record|}}}
     | label45 = {{#if:{{{t20i matches this year|}}}|This year}} <ref name="Cricinfo 2016 T20I Records">{{cite web|title=T20I matches - 2016 Team records|url=http://stats.espncricinfo.com/ci/engine/records/team/results_summary.html?class=3;id=2016;type=year|website=ESPNcricinfo.com}}</ref>
+
     | label45 = {{#if:{{{t20i matches this year|}}}|This year}} <includeonly><ref name="Cricinfo 2016 T20I Records">{{cite web|title=T20I matches - 2016 Team records|url=http://stats.espncricinfo.com/ci/engine/records/team/results_summary.html?class=3;id=2016;type=year|website=ESPNcricinfo.com}}</ref></includeonly>
 
     | data45a = {{{t20i matches this year|}}}
 
     | data45a = {{{t20i matches this year|}}}
 
     | data45b = {{{t20i win/loss record this year|}}}
 
     | data45b = {{{t20i win/loss record this year|}}}
Line 159: Line 159:
 
| belowstyle = font-size: smaller;
 
| belowstyle = font-size: smaller;
 
}}<noinclude>
 
}}<noinclude>
{{clear}}
+
{{Documentation}}
{{Documentation|content=
 
{{Parameter names example|_template=|team_name|image|image_caption|test status year|first test match|first odi match|first t20i match|current captain|odi captain|t20i captain|current coach|current official rank|all-time best official rank|number of tests|test matches this year|most recent test match|win/loss record|win/loss record this year|number of odis|odi matches this year|most recent odi|odi win/loss record|odi win/loss record this year|cricket world cup apps|cricket world cup first|cricket world cup best|number of t20is|t20i matches this year|most recent t20i|t20i win/loss record|t20i win/loss record this year|worldt20 apps|worldt20 first|worldt20 best|asofdate}}
 
<pre style="overflow: auto;">{{Infobox Test team
 
| team_name =
 
| image =
 
| image_caption =
 
| test status year =
 
| current captain =
 
| odi captain =
 
| t20i captain =
 
| current coach =
 
| current official rank =
 
| all-time best official rank =
 
 
 
| first test match =
 
| number of tests =
 
| test matches this year =
 
| win/loss record =
 
| win/loss record this year =
 
| most recent test match =
 
 
 
| first odi match =
 
| number of odis =
 
| odi matches this year =
 
| odi win/loss record =
 
| odi win/loss record this year =
 
| most recent odi match =
 
| cricket world cup apps =
 
| cricket world cup first =
 
| cricket world cup best =
 
 
 
| first t20i match =
 
| number of t20is =
 
| t20i matches this year =
 
| t20i win/loss record =
 
| t20i win/loss record this year =
 
| most recent t20i match=
 
| worldt20 apps =
 
| worldt20 first =
 
| worldt20 best =
 
 
 
| asofdate =
 
 
 
| h_pattern_la =
 
| h_pattern_b =
 
| h_pattern_ra =
 
| h_pattern_pants =
 
| h_leftarm =
 
| h_body =
 
| h_rightarm =
 
| h_pants =
 
| a_pattern_la =
 
| a_pattern_b =
 
| a_pattern_ra =
 
| a_pattern_pants =
 
| a_leftarm =
 
| a_body =
 
| a_rightarm =
 
| a_pants =
 
| t_pattern_la =
 
| t_pattern_b =
 
| t_pattern_ra =
 
| t_pattern_pants =
 
| t_leftarm =
 
| t_body =
 
| t_rightarm =
 
| t_pants =
 
}}</pre>
 
}}
 
[[Category:Cricket infobox templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 14:45, 27 November 2016

{{{team_name}}}
Test status acquired{{{test status year}}}
Captain{{{current captain}}}
Coach{{{current coach}}}
ICC Rankings Current Best-ever
Test
ODI
T20I
{{{current official rank}}} {{{all-time best official rank}}}
[[Category:Infobox templates|Template:Remove first word ]]
Test Matches
First Test{{{first test match}}}
Tests Played Won/Lost
Total {{{number of tests}}} {{{win/loss record}}}
[[Category:Infobox templates|Template:Remove first word ]]
Last Test{{{most recent test match}}}
One-Day Internationals
T20 Internationals
As of {{{asofdate}}}

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

Template documentation[create]