Jump to content

User:Vestrian24Bio/Sandbox/IPL/Final preload/doc

From Wikipedia, the free encyclopedia

Usage

[edit]

This is a preload form for creating final match articles for Indian Premier League. See the Example here. After substitution necessary citations should be added and links should be checked before adding content.

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

Code

[edit]
{{Subst:Indian Premier League final preload
|year= <!-- Do not wikilink -->
|team1= <!-- Do not wikilink -->
|team2= <!-- Do not wikilink -->
|date= <!-- Do not wikilink; Use the dmy format -->
|stadium= <!-- Add with wikilink -->
|city= <!-- Add with wikilink -->
|prevyear= <!-- Do not wikilink -->
|nextyear= <!-- Do not wikilink -->
}}

Example

[edit]
{{Subst:User:Vestrian24Bio/Sandbox/IPL/Final preload
|year=2024
|team1=kkr
|team2=srh
|date=26 May 2024
|stadium=[[M. A. Chidambaram Stadium]]
|city=[[Chennai]]
|prevyear=2023
|nextyear=2025
}}

See the visual outcome at the Example page.

Details

[edit]

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

Team qualified from Qualifier 1

[edit]

The team which qualified from Qualifier 1. Do not wikilink. This parameter is used in the Infobox, Lead, Road to the Final, Match summary boxes 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

Team qualified from Qualifier 2

[edit]

The team which qualified from Qualifier 2. Do not wikilink. This parameter is used in the Infobox, Lead, Road to the Final, Match summary boxes 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 above.

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Vestrian24Bio/Sandbox/IPL/Final preload in articles based on its TemplateData.

TemplateData for Vestrian24Bio/Sandbox/IPL/Final preload

Preload form for creating Indian Premier League Final match articles.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Yearyear

The year which the final is taking place. Do not wikilink.

Example
2024
Numberrequired
Team qualified from Qualifier 1team1

The team which qualified from Qualifier 1. Do not wikilink.

Suggested values
csk dc gt kkr lsg mi pbks rr rcba srh
Example
kkr
Stringrequired
Team qualified from Qualifier 2team2

The team which qualified from Qualifier 2. Do not wikilink.

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

The date when the final is taking place. Do not wikilink; Use the dmy format.

Example
26 May 2024
Daterequired
Stadiumstadium

The stadium where the final is taking place. Should be wikilinked.

Example
[[M. A. Chidambaram Stadium]]
Unknownrequired
Citycity

The city where the final is taking place. Should be wikilinked.

Example
[[Chennai]]
Unknownrequired
Previous yearprevyear

The previous season of IPL. Do not wikilink.

Example
2023
Numberrequired
Next yearnextyear

The next season of IPL. Do not wikilink.

Example
2025
Numberrequired

See also

[edit]