Difference between revisions of "Template:Events"

From comp.tf
Jump to navigation Jump to search
(Undo revision 65132 by 104.251.212.166 (talk))
Line 10: Line 10:
 
{{TNL |league=rgl |link=[[RGL No Restriction Sixes Season 3|RGL NR Sixes Season 3]] |sdate=13 Jul |edate=28 Aug |date= }}
 
{{TNL |league=rgl |link=[[RGL No Restriction Sixes Season 3|RGL NR Sixes Season 3]] |sdate=13 Jul |edate=28 Aug |date= }}
 
{{TNL |league=rgl |link=[[RGL Highlander Season 6]] |sdate=15 Jun |edate=17 Aug |date= }}
 
{{TNL |league=rgl |link=[[RGL Highlander Season 6]] |sdate=15 Jun |edate=17 Aug |date= }}
{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 36]] |sdate=31 May |edate=19 Jul |date=Standby}}
 
  
 
{{StaticEventsOngoing}}<!--
 
{{StaticEventsOngoing}}<!--
Line 16: Line 15:
 
{{TNL |league=rgl |link=[[RGL Traditional Sixes Season 3]] |sdate=24 May |edate=10 Aug |date= }}
 
{{TNL |league=rgl |link=[[RGL Traditional Sixes Season 3]] |sdate=24 May |edate=10 Aug |date= }}
 
{{TNL |league=oz |link=[[ozfortress Season 28]] |sdate=24 May |edate=30 Jul |date= }}
 
{{TNL |league=oz |link=[[ozfortress Season 28]] |sdate=24 May |edate=30 Jul |date= }}
 +
{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 36]] |sdate=31 May |edate=19 Jul |date=}}
 
{{TNL |league=rgl |link=[[RGL Prolander Season 8|Prolander Season 8]] |sdate=20 Apr |edate=8 Jun |date= }}
 
{{TNL |league=rgl |link=[[RGL Prolander Season 8|Prolander Season 8]] |sdate=20 Apr |edate=8 Jun |date= }}
  

Revision as of 11:19, 4 June 2020

(view - edit) Documentation

[edit] TF2 Events
Upcoming
RGL RGL NR Sixes Season 3
13 Jul

28 Aug
RGL RGL Highlander Season 6
15 Jun

17 Aug
Ongoing
RGL RGL Traditional Sixes Season 3
24 May

10 Aug
ozfortress ozfortress Season 28
24 May

30 Jul
ETF2L ETF2L 6v6 Season 36
31 May

19 Jul
RGL Prolander Season 8
20 Apr

8 Jun
Completed
RGL RGL Experimental Highlander Cup #3
16 May

24 May


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