Difference between revisions of "Template:Events"

From comp.tf
Jump to navigation Jump to search
Line 9: Line 9:
 
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=UGC |link=[[UGC 4v4 Season 21]] |sdate=Oct 09 |edate=Dec 18 |date= }}
{{TNL |league=UGC |link=[[UGC 6v6 Season 34]] |sdate=Oct 07 |edate=Dec 116 |date= }}
+
{{TNL |league=UGC |link=[[UGC 6v6 Season 34]] |sdate=Oct 07 |edate=Dec 16 |date= }}
 
{{TNL |league=UGC |link=[[UGC Ultiduo Season 3]] |sdate=Oct 06 |edate=Dec 15 |date= }}
 
{{TNL |league=UGC |link=[[UGC Ultiduo Season 3]] |sdate=Oct 06 |edate=Dec 15 |date= }}
 
{{TNL |league=UGC |link=[[UGC Highlander Season 32]] |sdate=Oct 05 |edate=Dec 14 |date= }}
 
{{TNL |league=UGC |link=[[UGC Highlander Season 32]] |sdate=Oct 05 |edate=Dec 14 |date= }}
Line 15: Line 15:
 
{{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 4|RGL Trad. Sixes Season 4]] |sdate=30 Aug |edate=04 Dec |date= }}
+
{{TNL |league=rgl  |link=[[RGL Traditional Sixes Season 4|RGL Trad. Sixes Season 4]] |sdate=Aug 30 |edate=Dec 4 |date= }}
{{TNL |league=rgl  |link=[[RGL Highlander Season 7|RGL HL Season 7]] |sdate=28 Sep |edate=30 Nov |date= }}
+
{{TNL |league=rgl  |link=[[RGL Highlander Season 7|RGL HL Season 7]] |sdate=Sep 28 |edate=Nov 30 |date= }}
{{TNL |league=etf2l |link=[[ETF2L Highlander Season 22|ETF2L HL Season 22]] |sdate=13 Sep |edate=19 Nov |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=13 Sep |edate=19 Nov |date= }}
+
{{TNL |league=oz    |link=[[ozfortress Season 29]] |sdate=Sep 13 |edate=Nov 19 |date= }}
  
 
{{StaticEventsCompleted}}<!--
 
{{StaticEventsCompleted}}<!--

Revision as of 08:32, 26 September 2020

(view - edit) Documentation

[edit] TF2 Events
Upcoming
UGC UGC 4v4 Season 21
Oct 09

Dec 18
UGC UGC 6v6 Season 34
Oct 07

Dec 16
UGC UGC Ultiduo Season 3
Oct 06

Dec 15
UGC UGC Highlander Season 32
Oct 05

Dec 14
Ongoing
RGL RGL Trad. Sixes Season 4
Aug 30

Dec 4
RGL RGL HL Season 7
Sep 28

Nov 30
ETF2L ETF2L HL Season 22
Sep 13

Nov 19
ozfortress ozfortress Season 29
Sep 13

Nov 19
Completed


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