Template:Indian Premier League Teams by season preload/doc
![]() | This is a documentation subpage for Template:Indian Premier League Teams by season preload. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | This template should always be substituted (i.e., use {{subst:Indian Premier League Teams by season preload}} ). |
![]() | This template may have no transclusions, because it is substituted by a tool or script, it is used as part of a short-term or less active Wikipedia process, or for some other reason. |
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 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 | #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]TemplateData for Indian Premier League Teams by season preload
Preload form for creating Indian Premier League Teams by season articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Squad code | squad | The squad which is season article being created. Do not wikilink.
| String | required |
Year | year | The year which is season article being created. Do not wikilink.
| Number | required |
Current coach | coach | The current coach of the squad. Should be wikilinked.
| Unknown | required |
Current captain | captain | The current captain of the squad. Should be wikilinked.
| Unknown | required |
Home ground | ground | The home ground of the squad. Should be wikilinked.
| Unknown | required |
Previous year | prevyear | The previous season for the squad. Do not wikilink.
| Number | required |
Next year | nextyear | The next season for the squad. Do not wikilink.
| Number | required |
Counts | count | The count of seasons the squad has played. Do not wikilink.
| Content | required |
Lead paragraph | lead | Additional text to be displayed in the lead section. Add with citations.
| Unknown | required |
See also
[edit]