Template:Events: Difference between revisions

From comp.tf
Jump to navigation Jump to search
Llamadillo (talk | contribs)
No edit summary
No edit summary
 
(316 intermediate revisions by 31 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=ga |link=[[Gamers Assembly 2016]] |sdate=26 Mar |edate=28 Mar |date= }}
{{TNL |league=rgl  |link=[[RGL Traditional Sixes Season 17|RGL Sixes Season 17]] |sdate=21 Jan |edate=19 Apr|date=}}
{{TNL |league=oz |link=[[ozfortress season 15]] |sdate=20 Mar |edate= |date= }}  
{{TNL |league=rgl  |link=[[RGL Highlander Season 20]] |sdate=27 Jan |edate=12 Apr|date= }}
{{TNL |league= |link=[[FITES 250 LAN 2016]] |sdate=4 Mar |edate=6 Mar |date= }}  
{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 49|ETF2L 6v6 Winter 2025/Season 49]] |sdate=20 Jan|edate=06 Apr|date= }}
{{TNL |league=duo.tf |link=[[duo.tf Ultiduo Cup ]] |sdate=27 Feb |edate=28 Feb}}
{{TNL |league=etf2l |link=[[ETF2L HL Season 33|ETF2L Highlander Spring 2025/Season 33]] |sdate=17 Mar |edate=11 May |date= }}
 
{{TNL |league=oz    |link=[[CapptingTV Summer Brawl 2025|CapptingTV Summer Brawl 2025]] |sdate=11 Jan |edate=12 Jan|date= }}
{{EventsOngoing}}  <!--Ongoing Events Start Here, place ending soonest towards the bottom.-->
{{StaticEventsOngoing}}<!--
{{TNLMulti |league=esea |text=ESEA S21 |link1=[[ESEA Season 21/Invite|I]] |link2=[[ESEA Season 21/Intermediate|IM]] |link3=[[ESEA Season 21/Open|O]] |sdate=24 Jan |edate=}}
Ongoing events start here, place ending soonest towards the bottom.-->
{{TNL |league=bball |link=[[bball.tf Season 1]] |sdate=31 Jan |edate=April |date= }}
{{StaticEventsCompleted}}<!--
{{TNL |league=ugc |link=[[UGC 4v4 Season 7]] |sdate=22 Jan |edate=15 Apr}}
Events that ended a maximum of 30 days ago start here, place most recently ended towards the top.-->
{{TNL |league=ugc  |link=[[UGC 6v6 Season 20]] |sdate=20 Jan |edate=13 Apr}}
{{TNL |league=rgl  |link=[[RGL Traditional Sixes Season 16|RGL Sixes Season 16]] |sdate=16 Sep |edate=15 Dec|date=}}
{{TNL |league=ugc  |link=[[UGC Highlander Season 18]] |sdate=18 Jan |edate=11 Apr }}
{{TNL |league=rgl  |link=[[RGL Highlander Season 19]] |sdate=30 Sep |edate=11 Dec|date= }}
{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 23]] |sdate=24 Jan |edate=20 Mar}}
{{TNL |league=oz   |link=[[ozfortress Season 41|ozfortress Sixes Spring '24/Season 41]] |sdate=06 Oct |edate=19 Dec|date= }}
 
{{TNL |league=oz    |link=[[ozfortress Highlander Season 8|ozfortress Highlander Spring '24/Season 6]] |sdate=09 Oct |edate=15 Dec|date= }}
{{EventsCompleted}} <!--Completed Events Start Here, place ending soonest towards the bottom.-->
{{TNL |league=oz |link=[[ozfortress Summer Cup 2016|Summer Cup 2016]] |sdate=3 Jan |edate=21 Feb }}
{{TNL |league=pixling |link=[[Pixling.ru Mix-up Cup #4]] |sdate=12 Feb |edate=13 Feb}}
{{TNL |league=zowie |link=[[ZOWIE 16 Cup]] |date=31 Jan}}
|-
|}
|}
<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}}