Difference between revisions of "Template:Events"

From comp.tf
Jump to navigation Jump to search
m
(Updated events)
 
(226 intermediate revisions by 28 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}}<!--
{{TNL |league=ugc |link=[[UGC-4v4 Season 9|4v4 Season 9]] |sdate=30 Sept |edate=16 Dec |date= }}
+
Upcoming events start here, place starting soonest towards the bottom.-->
{{TNL |league=ugc |link=[[UGC-6v6 Season 22|6v6 Season 22]] |sdate=28 Sept |edate=14 Dec |date= }}
+
{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 47|ETF2L 6v6 Spring 2024/Season 47]] |sdate=25 Mar |edate=26 May |date= }}
{{TNL |league=ugc |link=[[UGC Highlander Season 20|Highlander Season 20]] |sdate=26 Sept |edate=12 Dec |date= }}
+
{{TNL |league=etf2l |link=[[ETF2L BBall Cup 7]] |sdate=14 Mar |edate=17 Mar |date= }}
{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 25/Premiership|Season 25: Premiership]] |sdate=18 Sept |edate=24 Nov |date= }}
+
{{TNL |league=UGC   |link=[[UGC Spring 2024]] |sdate=03 Mar |edate=TBD|date= }}
{{TNL |league=toth |link=[[Tip of the Hats]] |sdate=16 Sept |edate=18 Sept |date= }}
 
 
 
{{EventsOngoing}}  <!--Ongoing Events Start Here, place ending soonest towards the bottom.-->
 
 
 
{{TNL |league=af |link=[[AsiaFortress Cup 10/Division 1|AFC 10: Division 1]] |sdate=26 Jul |edate=9 Oct |date= }}
 
{{TNL |league=oz |link=[[ozfortress Season 16/Premier|Season 16: Premier]] |sdate=17 Jul |edate=18 Sep |date= }}
 
 
 
{{EventsCompleted}} <!--Completed Events Start Here, place most recently completed events at the top.-->
 
 
 
{{TNL |league=deutschlan |link=[[DeutschLAN_2016|DeutschLAN 2016]] |sdate=9 Sept |edate=11 Sept |date= }}
 
{{TNL |league=ugc |link=[[UGC-4v4 Season 8|4v4 Season 8]] |sdate=10 Jun |edate=2 Sept |date= }}
 
{{TNL |league=etf2l |link=[[ETF2L 6v6 Nations Cup 6|6v6 Nations Cup #6]] |sdate=20 Jul |edate=1 Sep |date= }}
 
{{TNL |league=ugc |link=[[UGC-6v6 Season 21|6v6 Season 21]] |sdate=8 Jun |edate=31 Aug |date= }}
 
{{TNL |league=ugc |link=[[UGC Highlander Season 19|Highlander Season 19]] |sdate=6 Jun |edate=29 Aug |date= }}
 
{{TNL |league=multiplay |link=[[Insomnia58]] |sdate=26 Aug |edate=29 Aug |date= }}
 
{{TNL |league=esea |link=[[ESEA Season 22/Invite|Season 22: Invite]] |sdate=29 May |edate=18 Aug}}
 
|-
 
|}
 
|}
 
<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>
 
  
 +
{{StaticEventsOngoing}}<!--
 +
Ongoing events start here, place ending soonest towards the bottom.-->
 +
{{TNL |league=oz    |link=[[ozfortress Season 39|ozfortress Sixes Autumn '24/Season 39]] |sdate=11 Feb  |edate=27 Apr |date= }}
 +
{{TNL |league=oz    |link=[[ozfortress Highlander Season 6|ozfortress Highlander Autumn '24/Season 6]] |sdate=14 Feb  |edate=23 Apr |date= }}
 +
{{TNL |league=rgl  |link=[[RGL Traditional Sixes Season 14|RGL Sixes Season 14]] |sdate=29 Jan |edate=21 Apr |date=}}
 +
{{TNL |league=rgl  |link=[[RGL Highlander Season 17]] |sdate=29 Jan |edate=08 Apr|date= }}
 +
{{TNL |league=etf2l |link=[[ETF2L HL Season 31|ETF2L Highlander Winter 2024/Season 31]] |sdate=14 Jan |edate=03 Mar |date= }}
 +
{{StaticEventsCompleted}}<!--
 +
Events that ended a maximum of 30 days ago start here, place most recently ended towards the top.-->
 +
{{TNL |league=oz    |link=[[ozfortress Fours Summer Cup '24]] |sdate=27 Jan  |edate=28 Jan |date= }}
  
  
[[Category:Main page templates]]
+
{{StaticEventsEnd}}
[[Category:Template]]
+
</includeonly><noinclude>
 +
{{Documentation}}
 +
[[Category:Main page templates]] [[Category:Template]]
 +
</noinclude>

Latest revision as of 13:45, 21 February 2024

(view - edit) Documentation

[edit] TF2 Events
Upcoming
ETF2L ETF2L 6v6 Spring 2024/Season 47
25 Mar

26 May
ETF2L ETF2L BBall Cup 7
14 Mar

17 Mar
UGC UGC Spring 2024
03 Mar

TBD
Ongoing
ozfortress ozfortress Sixes Autumn '24/Season 39
11 Feb

27 Apr
ozfortress ozfortress Highlander Autumn '24/Season 6
14 Feb

23 Apr
RGL RGL Sixes Season 14
29 Jan

21 Apr
RGL RGL Highlander Season 17
29 Jan

08 Apr
ETF2L ETF2L Highlander Winter 2024/Season 31
14 Jan

03 Mar
Completed
ozfortress ozfortress Fours Summer Cup '24
27 Jan

28 Jan



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