Template:Events: Difference between revisions

From comp.tf
Jump to navigation Jump to search
No edit summary
No edit summary
 
(188 intermediate revisions by 21 users not shown)
Line 1: Line 1:
{{EventsStart}}
<includeonly><!--
<!--
Blank templates for input
 
Use this template to add events to their respective location:
{{TNL |league= |link= |sdate= |edate= |date= }}
{{TNL |league= |link= |sdate= |edate= |date= }}
or


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


-->
-->{{StaticEventsStart}}
{{EventsUpcoming}} <!--Upcoming Events Start Here, place starting soonest towards the bottom.-->
{{StaticEventsUpcoming}}<!--
 
Upcoming events start here, place starting soonest towards the bottom.-->
{{TNL |league=esa |link=[[Rewind LAN 2017]] |sdate=21 Jan |edate=22 Jan |date= }}
{{TNL |league=rgl  |link=[[RGL Traditional Sixes Season 17|RGL Sixes Season 17]] |sdate=21 Jan |edate=19 Apr|date=}}
{{TNL |league=dh |link=[[DreamHack Winter 2016]] |sdate= |edate= |date=Nov}}
{{TNL |league=rgl  |link=[[RGL Highlander Season 20]] |sdate=27 Jan |edate=12 Apr|date= }}
{{EventsOngoing}} <!--Ongoing Events Start Here, place ending soonest towards the bottom.-->
{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 49|ETF2L 6v6 Winter 2025/Season 49]] |sdate=20 Jan|edate=06 Apr|date= }}
 
{{TNL |league=etf2l |link=[[ETF2L HL Season 33|ETF2L Highlander Spring 2025/Season 33]] |sdate=17 Mar |edate=11 May |date= }}
{{TNL |league=etf2l |link=[[ETF2L Highlander Season 11/Premiership|HL Season 11: Premiership]] |sdate=30 Oct |edate=17 Jan |date= }}
{{TNL |league=oz    |link=[[CapptingTV Summer Brawl 2025|CapptingTV Summer Brawl 2025]] |sdate=11 Jan |edate=12 Jan|date= }}
{{TNL |league=esea |link=[[ESEA Season 23/Invite|Season 23: Invite]] |sdate=11 Sep |edate=19 Dec}}
{{StaticEventsOngoing}}<!--
{{TNL |league=ugc |link=[[UGC Highlander Season 20|Highlander Season 20]] |sdate=26 Sept |edate=12 Dec |date= }}
Ongoing events start here, place ending soonest towards the bottom.-->
{{TNL |league=ugc |link=[[UGC-4v4 Season 9|4v4 Season 9]] |sdate=23 Sept |edate=9 Dec |date= }}
{{StaticEventsCompleted}}<!--
{{TNL |league=ugc |link=[[UGC-6v6 Season 22|6v6 Season 22]] |sdate=21 Sept |edate=7 Dec |date= }}
Events that ended a maximum of 30 days ago start here, place most recently ended towards the top.-->
{{TNL |league=oz |link=[[ozfortress Season 17/Premier|Season 17: Premier]] |sdate=25 Sept |edate=4 Dec |date= }}
{{TNL |league=rgl  |link=[[RGL Traditional Sixes Season 16|RGL Sixes Season 16]] |sdate=16 Sep |edate=15 Dec|date=}}
{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 25/Premiership|Season 25: Premiership]] |sdate=18 Sept |edate=24 Nov |date= }}
{{TNL |league=rgl  |link=[[RGL Highlander Season 19]] |sdate=30 Sep |edate=11 Dec|date= }}
 
{{TNL |league=oz    |link=[[ozfortress Season 41|ozfortress Sixes Spring '24/Season 41]] |sdate=06 Oct |edate=19 Dec|date= }}
{{EventsCompleted}} <!--Completed Events Start Here, place most recently completed events at the top.-->
{{TNL |league=oz    |link=[[ozfortress Highlander Season 8|ozfortress Highlander Spring '24/Season 6]] |sdate=09 Oct |edate=15 Dec|date= }}
{{TNL |league=faceit |link=[[FACEIT 6v6 Opening Tournament|FACEIT 6v6 Opening Tournament]] |sdate=18 Nov |edate=20 Nov |date= }}
 
|-
|}
|}
<noinclude>
== Usage ==
This template displays the events table, with a division between upcoming, ongoing and completed events.
 
Please read the code carefully and try to understand how it works before updating the template. It is very easy to update, just see the code of the events already added and it's pretty much the same thing save for the image, name and date.
 
'''After 1 month of being completed events should be completely removed from the Completed tab to make space for new upcoming and ongoing events.'''
 
=== Template: ===
Copy this code to the page you wish to add this table to.
<pre>
{{Events}}
</pre>
 




[[Category:Main page templates]]
{{StaticEventsEnd}}
[[Category:Template]]
</includeonly><noinclude>
{{Documentation}}
[[Category:Main page templates]] [[Category:Template]]
</noinclude>

Latest revision as of 01:53, 17 December 2024

(view - edit) Documentation

[edit] TF2 Events
Upcoming
RGL RGL Sixes Season 17
21 Jan

19 Apr
RGL RGL Highlander Season 20
27 Jan

12 Apr
ETF2L ETF2L 6v6 Winter 2025/Season 49
20 Jan

06 Apr
ETF2L ETF2L Highlander Spring 2025/Season 33
17 Mar

11 May
ozfortress CapptingTV Summer Brawl 2025
11 Jan

12 Jan
Ongoing
Completed
RGL RGL Sixes Season 16
16 Sep

15 Dec
RGL RGL Highlander Season 19
30 Sep

11 Dec
ozfortress ozfortress Sixes Spring '24/Season 41
06 Oct

19 Dec
ozfortress ozfortress Highlander Spring '24/Season 6
09 Oct

15 Dec



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