Difference between revisions of "Template:Events"

From comp.tf
Jump to navigation Jump to search
(Undo revision 68738 by Garlic (talk))
Tag: Undo
(Undo revision 68739 by Garlic (talk))
Tag: Undo
Line 13: Line 13:
 
{{TNL |league=rgl |link=[https://rgl.gg/Public/Articles/Default.aspx?a=1676 Chucklenuts No Restriction 6s Cup] |sdate=27 May |edate=28 May |date= }}
 
{{TNL |league=rgl |link=[https://rgl.gg/Public/Articles/Default.aspx?a=1676 Chucklenuts No Restriction 6s Cup] |sdate=27 May |edate=28 May |date= }}
 
{{TNL |league=rgl |link=[[RGL Traditional Sixes Season 12|RGL Sixes Season 12]] |sdate=22 May |edate=13 Aug |date= }}
 
{{TNL |league=rgl |link=[[RGL Traditional Sixes Season 12|RGL Sixes Season 12]] |sdate=22 May |edate=13 Aug |date= }}
{{TNL |league=etf2l |link=[[ETF2L Highlander Season 29|ETF2L HL Season 29]] |sdate=14 May |edate=2 July |date= }}
 
  
 
{{StaticEventsOngoing}}<!--
 
{{StaticEventsOngoing}}<!--

Revision as of 08:02, 10 May 2023

(view - edit) Documentation

[edit] TF2 Events
Upcoming
RCADIA RCADIA Fortress LAN
25 Nov

27 Nov
ozfortress LAN Downunder 2023
8 Jul

9 Jul
RGL RGL Highlander Season 15
5 Jun

14 Aug
RGL Chucklenuts No Restriction 6s Cup
27 May

28 May
RGL RGL Sixes Season 12
22 May

13 Aug
Ongoing
UGC ATF2L Highlander Season 7
15 Apr

5 Aug
UGC ATF2L Sixes Season 4
19 Mar

28 May
ozfortress ozfortress Highlander Season 3
7 Mar

13 May
ozfortress ozfortress Sixes Season 36
5 Mar

11 May
Completed
UGC UGC Highlander Season 39
12 Feb

5 May


Use

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

To be used when linking to an event without displaying subdivisions.

{{TNL |league= |link= |sdate= |edate= |date= }}

Parameters

  • 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

{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 20/Premiership|ETF2L 6v6 Season 20]] |sdate=01 Feb |edate=29 Mar |date= }}

Would generate:

ETF2L ETF2L 6v6 Season 20
01 Feb

29 Mar


TNLMulti

To be used when linking to an event with displaying subdivisions.

{{TNLMulti |league= |text= |link1= |link2= |link3= |link4= |sdate= |edate=}}


Parameters

  • 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

{{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 ETF2L 6v6 Season 20:  P - H - M - O
01 Feb

29 Mar


Template:

Copy this code to the page you wish to add this table to.

{{Events}}