Module:Indian Premier League teams/sandbox
Appearance
This is the module sandbox page for Module:Indian Premier League teams (diff). |
--[[
Each team must have a table with the following keys:
code: A short code of 2-4 letters (uppercase) to represent the team.
fullName: The full name of the team.
shortName: The short name of the team, usually the location in which it is based.
pageName: The title of the team's article on Wikipedia. This is usually the team's full name, but if disambiguation is
needed, it may be different.
startYear: The year in which the team first played with that name.
endYear: The year in which the team last played with that name (for renamed teams) or last played (for defunct teams)
This module is to be used with mw.loadData(). It should NOT contain functions!
]]
return {
{
code = "CSK",
fullName = "Chennai Super Kings",
shortName = "Chennai",
pageName = "Chennai Super Kings",
startYear = 2008,
},
{
code = "DEC",
fullName = "Deccan Chargers",
shortName = "Deccan",
abbr = "DC",
pageName = "Deccan Chargers",
startYear = 2008,
endYear = 2012,
},
{
code = "DD",
fullName = "Delhi Daredevils",
shortName = "Delhi",
pageName = "Delhi Daredevils",
startYear = 2008,
endYear = 2018,
},
{
code = "KKR",
fullName = "Kolkata Knight Riders",
shortName = "Kolkata",
pageName = "Kolkata Knight Riders",
startYear = 2008,
},
{
code = "KTK",
fullName = "Kochi Tuskers Kerala",
shortName = "Kochi",
pageName = "Kochi Tuskers Kerala",
startYear = 2011,
endYear = 2011,
},
{
code = "KXIP",
fullName = "Kings XI Punjab",
shortName = "Punjab",
pageName = "Kings XI Punjab",
startYear = 2008,
endYear = 2020,
},
{
code = "MI",
fullName = "Mumbai Indians",
shortName = "Mumbai",
pageName = "Mumbai Indians",
startYear = 2008,
},
{
code = "PWI",
fullName = "Pune Warriors India",
shortName = "Pune",
pageName = "Pune Warriors India",
startYear = 2011,
endYear = 2013,
},
{
code = "SRH",
fullName = "Sunrisers Hyderabad",
shortName = "Hyderabad",
pageName = "Sunrisers Hyderabad",
startYear = 2013,
},
{
code = "RCBa",
fullName = "Royal Challengers Bangalore",
shortName = "Bangalore",
abbr = "RCB",
pageName = "Royal Challengers Bangalore",
startYear = 2008,
endYear = 2023,
},
{
code = "RCB",
fullName = "Royal Challengers Bengaluru",
shorName = "Bengaluru",
pageName = "Royal Challengers Bengaluru",
startYear = 2024,
},
{
code = "RR",
fullName = "Rajasthan Royals",
shortName = "Rajasthan",
pageName = "Rajasthan Royals",
startYear = 2008,
},
{
code = "RPS",
fullName = "Rising Pune Supergiant",
shortName = "Pune",
pageName = "Rising Pune Supergiant",
startYear = 2016,
endYear = 2017,
},
{
code = "GL",
fullName = "Gujarat Lions",
shortName = "Gujarat",
pageName = "Gujarat Lions",
startYear = 2016,
endYear = 2017,
},
{
code = "DC",
fullName = "Delhi Capitals",
shortName = "Delhi",
pageName = "Delhi Capitals",
startYear = 2019,
},
{
code = "PBKS",
fullName = "Punjab Kings",
shortName = "Punjab",
pageName = "Punjab Kings",
startYear = 2021,
},
{
code = "LSG",
fullName = "Lucknow Super Giants",
shortName = "Lucknow",
pageName = "Lucknow Super Giants",
startYear = 2022,
},
{
code = "GT",
fullName = "Gujarat Titans",
shortName = "Gujarat",
pageName = "Gujarat Titans",
startYear = 2022,
},
}