Difference between revisions of "Template:Events"

From comp.tf
Jump to navigation Jump to search
m (updated)
Line 7: Line 7:
 
-->{{StaticEventsStart}}
 
-->{{StaticEventsStart}}
 
{{StaticEventsUpcoming}}<!--
 
{{StaticEventsUpcoming}}<!--
Upcoming Events Start Here, place starting soonest towards the bottom.-->
+
Upcoming events start here, place starting soonest towards the bottom.-->
{{TNL |league=UGC |link=[[UGC 4v4 Season 21]] |sdate=Oct 09 |edate=Dec 18 |date= }}
+
{{TNL |league=oz  |link=[[ozfortress Sixes Season 37|ozfortress Season 37]] |sdate=TBD Jun |edate=TBD |date= }}
{{TNL |league=UGC |link=[[UGC 6v6 Season 34]] |sdate=Oct 07 |edate=Dec 16 |date= }}
+
{{TNL |league=rgl  |link=[[RGL Highlander Season 15|RGL HL Season 15]] |sdate=5 Jun |edate=14 Aug|date= }}
{{TNL |league=UGC |link=[[UGC Ultiduo Season 3]] |sdate=Oct 06 |edate=Dec 15 |date= }}
+
{{TNL |league=rgl |link=[[RGL Sixes Season 12|RGL Traditional Sixes Season 12]] |sdate=22 May |edate=13 Aug |date= }}
{{TNL |league=UGC |link=[[UGC Highlander Season 32]] |sdate=Oct 05 |edate=Dec 14 |date= }}
+
{{TNL |league=etf2l |link=[[ETF2L Highlander Season 29|ETF2L HL Season 29]] |sdate=14 May |edate=2 July |date= }}
  
 
{{StaticEventsOngoing}}<!--
 
{{StaticEventsOngoing}}<!--
Ongoing Events Start Here, place ending soonest towards the bottom.-->
+
Ongoing events start here, place ending soonest towards the bottom.-->
{{TNL |league=rgl  |link=[[RGL Traditional Sixes Season 8|RGL Trad. Sixes Season 8]] |sdate=Jan 29 |edate=Apr 30 |date= }}
+
{{TNL |league=oz    |link=[[ozfortress HL Season 3]] |sdate=7 Mar  |edate=13 May |date= }}
{{TNL |league=rgl  |link=[[RGL Highlander Season 11|RGL HL Season 11]] |sdate=Jan 31 |edate=Apr 18 |date= }}
+
{{TNL |league=oz    |link=[[ozfortress Sixes Season 36|ozfortress Season 36]] |sdate=5 Mar  |edate=11 May |date= }}
{{TNL |league=etf2l |link=[[ETF2L Highlander Season 22|ETF2L HL Season 22]] |sdate=Sep 13 |edate=Nov 19 |date= }}
 
{{TNL |league=oz    |link=[[ozfortress Season 29]] |sdate=Sep 13 |edate=Nov 19 |date= }}
 
  
 
{{StaticEventsCompleted}}<!--
 
{{StaticEventsCompleted}}<!--
Events that are over Start Here, place most recently ended towards the top.-->
+
Events that ended a maximum of 30 days ago start here, place most recently ended towards the top.-->
 +
{{TNL |league=UGC  |link=[[UGC Highlander Season 39]] |sdate=12 Feb |edate=5 May|date= }}
 +
{{TNL |league=UGC  |link=[[UGC 4v4 Season 28]] |sdate=17 Feb |edate=5 May|date= }}
 +
{{TNL |league=UGC  |link=[[UGC Ultiduo Season 10]] |sdate=14 Feb |edate=2 May|date= }}
 +
{{TNL |league=rgl  |link=[[RGL Highlander Season 14|RGL HL Season 15]] |sdate=30 Jan |edate=17 Apr|date= }}
  
 
{{StaticEventsEnd}}
 
{{StaticEventsEnd}}

Revision as of 12:09, 5 May 2023

(view - edit) Documentation

[edit] TF2 Events
Upcoming
ozfortress ozfortress Season 37
TBD Jun

TBD
RGL RGL HL Season 15
5 Jun

14 Aug
RGL RGL Traditional Sixes Season 12
22 May

13 Aug
ETF2L ETF2L HL Season 29
14 May

2 July
Ongoing
ozfortress ozfortress HL Season 3
7 Mar

13 May
ozfortress ozfortress Season 36
5 Mar

11 May
Completed
UGC UGC Highlander Season 39
12 Feb

5 May
UGC UGC 4v4 Season 28
17 Feb

5 May
UGC UGC Ultiduo Season 10
14 Feb

2 May
RGL RGL HL Season 15
30 Jan

17 Apr


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}}