Jump to content

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 = kkr
| year = 2025
| coach = [[Chandrakant Pandit]]
| captain = TBA
| ground = TBA
| prevyear = 2024
| nextyear = 2026
| count = 18th
| cricinfo id = ipl-2025-1449924
| lead = They are the defending champions, having won their 3rd IPL title after defeating [[Sunrisers Hyderabad]] in the [[2024 Indian Premier League final]].<ref>{{Cite web |title=KKR vs SRH Cricket Scorecard, Final at Chennai, May 26, 2024 |url=https://www.espncricinfo.com/series/indian-premier-league-2024-1410320/kolkata-knight-riders-vs-sunrisers-hyderabad-final-1426312/full-scorecard |access-date=2024-05-31 |website=ESPNcricinfo |language=en}}</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 IPL Teams 1, IPL Teams 2, IPL Team colors 1 and IPL Team colors 2 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 #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

TemplateData

[edit]
TemplateData
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
ESPNcricinfo IDcricinfo id

Season's id on ESPNcricinfo site.

Example
indian-premier-league-2024-1410320
Stringrequired
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]