User:Vestrian24Bio/Sandbox/IPL/Final preload/doc
This is a documentation subpage for User:Vestrian24Bio/Sandbox/IPL/Final preload. It may contain usage information, categories and other content that is not part of the original user template page. |
This template should always be substituted (i.e., use {{subst:User:Vestrian24Bio/Sandbox/IPL/Final preload/doc}}). |
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 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]TemplateData for Vestrian24Bio/Sandbox/IPL/Final preload
Preload form for creating Indian Premier League Final match articles.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Year | year | The year which the final is taking place. Do not wikilink.
| Number | required |
Team qualified from Qualifier 1 | team1 | The team which qualified from Qualifier 1. Do not wikilink.
| String | required |
Team qualified from Qualifier 2 | team2 | The team which qualified from Qualifier 2. Do not wikilink.
| String | required |
Date | date | The date when the final is taking place. Do not wikilink; Use the dmy format.
| Date | required |
Stadium | stadium | The stadium where the final is taking place. Should be wikilinked.
| Unknown | required |
City | city | The city where the final is taking place. Should be wikilinked.
| Unknown | required |
Previous year | prevyear | The previous season of IPL. Do not wikilink.
| Number | required |
Next year | nextyear | The next season of IPL. Do not wikilink.
| Number | required |
See also
[edit]