Important

edit

When modifying this template, don't forget to update IPL Teams 1, IPL Team colors 1 and IPL Team colors 2 along with IPL Team colors 2/outcome.

Usage

edit

This is an auxiliary template which should be used on IPL-related pages. The first parameter should be one of the codes from the table below, representing the relevant squad. The template returns the wikilinked version of the text where necessary.

Values

edit
Input Value Outcome
1 2 3 4 5 6
csk CSK chennai super kings Chennai Super Kings chennai Chennai Chennai Super Kings #FFF100, black
dc DC delhi capitals Delhi Capitals delhi Delhi Delhi Capitals #0116CF, white
gt GT gujarat titans Gujarat Titans gujarat Gujarat Gujarat Titans #1B2133, white
kkr KKR kolkata knight riders Kolkata Knight Riders kolkata Kolkata Kolkata Knight Riders #2E0854, white
lsg LSG lucknow super giants Lucknow Super Giants lucknow Lucknow Lucknow Super Giants #0057E2, white
mi MI mumbai indians Mumbai Indians mumbai Mumbai Mumbai Indians #004BA0, white
pbks PBKS punjab kings Punjab Kings punjab Punjab Punjab Kings #ED1B24, white
rr RR rajasthan royals Rajasthan Royals rajasthan Rajasthan Rajasthan Royals #FC4CFC, black
rcba RCBa royal challengers bangalore Royal Challengers Bangalore bangalore Bangalore Royal Challengers Bangalore #CC1213, white
rcb RCB royal challengers bengaluru Royal Challengers Bengaluru bengaluru Bengaluru Royal Challengers Bengaluru #CC1213, white
srh SRH sunrisers hyderabad Sunrisers Hyderabad hyderabad Hyderabad Sunrisers Hyderabad #FF6600, white