Template:Indian Premier League Teams by season preload/doc

From Wikipedia, the free encyclopedia

Usage[edit]

This is a preload form for creating teams by season articles for Indian Premier League. See the Example here. After substitution necessary citations should be added and links should be checked before adding content. Future stages are kept under Invisible comment and should be used as needed in the Infobox.

See here for a list of pages that were (or to be) created using this Preload form.

Code[edit]

{{Subst:Indian Premier League Teams by season preload
|squad= <!-- Do not wikilink -->
|year= <!-- Do not wikilink -->
|coach= <!-- Add with wikilink -->
|captain= <!-- Add with wikilink -->
|ground= <!-- Add with wikilink -->
|prevyear= <!-- Do not wikilink -->
|nextyear= <!-- Do not wikilink -->
|count= <!-- Do not wikilink -->
|lead= <!-- Add with citations -->
}}

Example[edit]

{{Subst:Indian Premier League Teams by season preload
|squad=csk
|year=2024
|coach=[[Stephen Fleming]]
|captain=[[Ruturaj Gaikwad]]
|ground=[[M. A. Chidambaram Stadium]], [[Chennai]]
|prevyear=2023
|nextyear=2025
|count=15th
|lead=They are the defending champions, having won their 5th IPL title after defeating [[Gujarat Titans]] in the rain-affected [[2023 Indian Premier League final]].<ref>{{Cite web |title=GT vs CSK Cricket Scorecard, Final at Ahmedabad, May 28 - 29, 2023 |url=https://www.espncricinfo.com/series/indian-premier-league-2023-1345038/gujarat-titans-vs-chennai-super-kings-final-1370353/full-scorecard |access-date=2024-05-04 |website=ESPNcricinfo |language=en}}</ref>

Ahead of the 2024 season, [[MS Dhoni]] handed over the captaincy to [[Ruturaj Gaikwad]].<ref>{{Cite web|url=https://www.espncricinfo.com/story/ipl-2024-ruturaj-gaikwad-takes-over-from-ms-dhoni-as-the-new-csk-captain-1425580|title=MS Dhoni hands over CSK captaincy to Ruturaj Gaikwad|work=ESPN Cricinfo|access-date=21 March 2024}}</ref>}}

See the visual outcome at the Example page.

Details[edit]

All parameters are compulsory; leaving out any would cause substitution errors.

Squad code[edit]

The squad which is season article being created. Do not wikilink. This parameter is used in the Infobox, Lead, Squad table, Ponts table, League progression and Navbox. It also generates relevant colors and wikilinks using the strings /squads1, /squads2, /colors1 and /colors2 as shown below.

Input Value Outcome
1 2 3 4 5 6
csk CSK chennai super kings Chennai Super Kings chennai Chennai Chennai Super Kings #FFFF3C, black
dc DC delhi capitals Delhi Capitals delhi Delhi Delhi Capitals #2561AE, 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
srh SRH sunrisers hyderabad Sunrisers Hyderabad hyderabad Hyderabad Sunrisers Hyderabad #EE7429, white

TemplateData[edit]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Indian Premier League Teams by season preload in articles based on its TemplateData.

TemplateData for Indian Premier League Teams by season preload

Preload form for creating Indian Premier League Teams by season articles.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Squad codesquad

The squad which is season article being created. Do not wikilink.

Suggested values
csk dc gt kkr lsg mi pbks rr rcba srh
Example
csk
Stringrequired
Yearyear

The year which is season article being created. Do not wikilink.

Example
2024
Numberrequired
Current coachcoach

The current coach of the squad. Should be wikilinked.

Example
[[Stephen Fleming]]
Unknownrequired
Current captaincaptain

The current captain of the squad. Should be wikilinked.

Example
[[Ruturaj Gaikwad]]
Unknownrequired
Home groundground

The home ground of the squad. Should be wikilinked.

Example
[[M. A. Chidambaram Stadium]], [[Chennai]]
Unknownrequired
Previous yearprevyear

The previous season for the squad. Do not wikilink.

Example
2023
Numberrequired
Next yearnextyear

The next season for the squad. Do not wikilink.

Example
2025
Numberrequired
Countscount

The count of seasons the squad has played. Do not wikilink.

Example
17th
Contentrequired
Lead paragraphlead

Additional text to be displayed in the lead section. Add with citations.

Example
They are the defending champions, having won their 5th IPL title after defeating [[Gujarat Titans]] in the rain-affected [[2023 Indian Premier League final]].<ref>{{Cite web |title=GT vs CSK Cricket Scorecard, Final at Ahmedabad, May 28 - 29, 2023 |url=https://www.espncricinfo.com/series/indian-premier-league-2023-1345038/gujarat-titans-vs-chennai-super-kings-final-1370353/full-scorecard |access-date=2024-05-04 |website=ESPNcricinfo |language=en}}</ref>
Unknownrequired

See also[edit]