Template:Events/doc
Jump to navigation
Jump to search
[edit] TF2 Events | ||
---|---|---|
Upcoming
| ||
ETF2L 6v6 Spring 2024/Season 47 | 25 Mar 26 May | |
ETF2L BBall Cup 7 | 14 Mar 17 Mar | |
UGC Spring 2024 | 03 Mar TBD | |
Ongoing
| ||
ozfortress Sixes Autumn '24/Season 39 | 11 Feb 27 Apr | |
ozfortress Highlander Autumn '24/Season 6 | 14 Feb 23 Apr | |
RGL Sixes Season 14 | 29 Jan 21 Apr | |
RGL Highlander Season 17 | 29 Jan 08 Apr | |
ETF2L Highlander Winter 2024/Season 31 | 14 Jan 03 Mar | |
Completed
| ||
ozfortress Fours Summer Cup '24 | 27 Jan 28 Jan
|
Contents
Use[edit]
This template displays the events table, with a division between upcoming, ongoing and completed events.
Template is considered very easy to update, feel free to use previous inputs as an example.
Within the template, templates TNL and TNLMulti are used.
TNL template[edit]
To be used when linking to an event without displaying subdivisions.
{{TNL |league= |link= |sdate= |edate= |date= }}
Parameters[edit]
- league = The league or tournament the event is run by. Some abbreviations can be used. If no image is found for the league within Template:LeagueIconSmall, a generic logo will be generated.
- link = A link to the page on comp.tf
- sdate = Start of the event, in DD, MMM format.
- edate = End of the event, in DD, MMM format.
- date = For one day events, in DD, MMM format.
Example[edit]
{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 20/Premiership|ETF2L 6v6 Season 20]] |sdate=01 Feb |edate=29 Mar |date= }}
Would generate:
ETF2L 6v6 Season 20 | 01 Feb 29 Mar |
TNLMulti[edit]
To be used when linking to an event with displaying subdivisions.
{{TNLMulti |league= |text= |link1= |link2= |link3= |link4= |sdate= |edate=}}
Parameters[edit]
- league = The league or tournament the event is run by. Some abbreviations can be used. If no image is found for the league within Template:LeagueIconSmall, a generic logo will be generated.
- text = Text to display.
- link1
- link2
- link3
- link4 = Links to various subdivisions of the event on comp.tf
- sdate = Start of the event, in DD, MMM format.
- edate = End of the event, in DD, MMM format.
- date = For one day events, in DD, MMM format.
Example[edit]
{{TNLMulti |league=etf2l |text=[[ETF2L 6v6 Season 20]] |link1=[[ETF2L 6v6 Season 20/Premiership|P]] |link2=[[ETF2L 6v6 Season 20/High|H]] |link3=[[ETF2L 6v6 Season 20/Mid|M]] |link4=[[ETF2L 6v6 Season 20/Open|O]] |sdate=01 Feb |edate=29 Mar |date= }}
Would generate:
ETF2L 6v6 Season 20: P - H - M - O | 01 Feb 29 Mar |
Template:[edit]
Copy this code to the page you wish to add this table to.
{{Events}}