Template:Cr-IPL/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:Cr-IPL (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

This template is designed to be used in score summaries for the Indian Premier League, when filling in the team1, team2 and result fields of {{Limited Overs Matches}}. The available teams are:

Royal Challengers Bangalore
{{Cr-IPL|bang}} Royal Challengers Bangalore
Kolkata Knight Riders
{{Cr-IPL|kolk}} Kolkata Knight Riders
Rajasthan Royals
{{Cr-IPL|raja}} Rajasthan Royals
Kings XI Punjab
{{Cr-IPL|kings}} Kings XI Punjab
Delhi Daredevils
{{Cr-IPL|delhi}} Delhi Daredevils
Deccan Chargers
{{Cr-IPL|decc}} Deccan Chargers
Mumbai Indians
{{Cr-IPL|mumb}} Mumbai Indians
Chennai Super Kings
{{Cr-IPL|chen}} Chennai Super Kings

[edit] Usage

For each of the teams in the IPL, there are 5 variations of the template. Using the Kolkata Knight Riders team as a demonstration, the options are as follows:

Kolkata is the team batting first and the home team. To be used in the team1 field.
Kolkata is the team batting first and the away team. To be used in the team1 field.
Kolkata is the team batting second and the home team. To be used in the team2 field.
Kolkata is the team batting second and the away team). To be used in the team2 field.
  • {{Cr-IPL|kolk-r}} Kolkata
To be used in the result field, if Kolkata wins the match.

[edit] Things to note

  • The templates are designed to be used so that, as is the case with the format for international matches, the first team listed in a score summary will be the team which bats first.
  • These domestic team templates, unlike the National team templates, will indicate with a "(H)" symbol which team is the home team. This is entirely appropriate (except in certain circumstances like if a tournament is held all at one ground) because, unlike International matches, domestic competitions are usually held on a "home and away" basis, where each team will play every other team both home and away (see for example 2008 Indian Premier League). By contrast, most International tournaments and series are played entirely in one country (see for example 2007-08 Commonwealth Bank Series).

[edit] Team icons

The team icons can also be used individually. For that use any of the following syntax:

Royal Challengers Bangalore
{{Cr-IPL/Flags|bang}}
Kolkata Knight Riders
{{Cr-IPL/Flags|kolk}}
Rajasthan Royals
{{Cr-IPL/Flags|raja}}
Kings XI Punjab
{{Cr-IPL/Flags|kings}}
Delhi Daredevils
{{Cr-IPL/Flags|delhi}}
Deccan Chargers
{{Cr-IPL/Flags|decc}}
Mumbai Indians
{{Cr-IPL/Flags|mumb}}
Chennai Super Kings
{{Cr-IPL/Flags|chen}}