Difference between revisions of "Template:Events"

From comp.tf
Jump to navigation Jump to search
(RETF2 Highlander S2 moved to Completed. ozfortress OWL S14 moved to Ongoing)
(Updated events)
 
(461 intermediate revisions by 38 users not shown)
Line 1: Line 1:
{| class="right" style="width: auto;"
+
<includeonly><!--
! class="mainhead" | <span class="controls">[<span class="plainlinks">[{{fullurl:Template:Events|action=edit}} edit]</span>]</span> TF2 events
+
Blank templates for input
|-
+
{{TNL |league= |link= |sdate= |edate= |date= }}
|
 
{| class="infobox right events"
 
|-
 
<!-- UPCOMING EVENTS START HERE -->
 
! colspan=3 | <div style="background-color:#eaf5fe;">Upcoming</div>
 
<!-- Uncomment events that are a month away to avoid filling up the entire front page. Unless its slow days -->
 
<!-- |-
 
| [[File:GXL Universe.jpg|20px]]
 
| [[GXL LAN 2015]]
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">16 Oct</div><br/><div class="end">18 Oct</div></div></span>
 
|-
 
| [[File:Tip_of_the_Hats_icon.png|20px]]
 
| [[Tip of the Hats]]
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">September</div><br/><div class="end"> </div></div></span>
 
|-
 
| [[File:DeutschLAN Icon.png|20px]]
 
| [[DeutschLAN]]
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">11 Sep</div><br/><div class="end">13 Sep</div></div></span>
 
|-
 
| [[File:Multiplayicon.png|20px]]
 
| [[Insomnia55|Insomnia55 LAN]]
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">28 Aug</div><br/><div class="end">31 Aug</div></div></span> -->
 
|-
 
| [[File:Oomba-logo.png|20px]]
 
| SoCal Series #2
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">8 Aug</div><br/><div class="end">8 Aug</div></div></span>
 
|-
 
| [[File:RETF2-icon.png|20px|link=Retrospective]]
 
| [[Retrospective Season 2|RETF2 S2 Grand Finals]]
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">27 Jul</div><br/><div class="end">2 Aug</div></div></span>
 
|-
 
| [[File:RETF2-icon.png|20px|link=Retrospective]]
 
| RETF2 Ultiduo S2
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">24 Jul</div><br/><div class="end">24 Jul</div></div></span>
 
|-
 
| [[File:RETF2-icon.png|20px|link=Retrospective]]
 
| RETF2 6v6 Seniors S2
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">18 Jul</div><br/><div class="end">19 Jul</div></div></span>
 
|-
 
| [[File:RETF2-icon.png|20px|link=Retrospective]]
 
| RETF2 6v6 Newbies S2
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">16 Jul</div><br/><div class="end">17 Jul</div></div></span>
 
|-
 
| [[File:RETF2-icon.png|20px|link=Retrospective]]
 
| RETF2 Arena Respawn S2
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">13 Jul</div><br/><div class="end">15 Jul</div></div></span>
 
|-
 
| [[File:Tf2connexionlogo.png|20px|link=TF2Connexion]]
 
| [[TF2Connexion]] Master Connexion 4
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">13 Jul</div><br/><div class="end">13 Aug</div></div></span>
 
|-
 
<!-- ONGOING EVENTS START HERE -->
 
! colspan=3 | <div style="background-color:#ebfeea;">Ongoing</div>
 
|-
 
| [[File:Ozfortress_icon.png|20px|link=Ozfortress]]
 
| [[ozfortress]] OWL Season 14
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">12 Jul</div><br/><div class="end">11 Sep</div></div></span>
 
|-
 
| [[File:AsiaFortress-Icon.png|20px|link=AsiaFortress]]
 
| [[AsiaFortress]] Cup 6v6 season 9
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">29 Jun</div><br/><div class="end">23 Aug</div></div></span>
 
|-
 
| [[File:UGC-Icon.png|20px|link=UGC]]
 
| [[UGC]] 4v4 Season 5
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">5 Jun</div><br/><div class="end">21 Aug</div></div></span>
 
|-
 
| [[File:UGC-Icon.png|20px|link=UGC]]
 
| [[UGC]] 6v6 Season 18
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">3 Jun</div><br/><div class="end">19 Aug</div></div></span>
 
|-
 
| [[File:UGC-Icon.png|20px|link=UGC]]
 
| [[UGC]] Highlander Season 16
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">1 Jun</div><br/><div class="end">17 Aug</div></div></span>
 
|-
 
| [[File:ETF2L-Icon.png|20px|link=ETF2L]]
 
| [[ETF2L 6v6 Season 21]]
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">17 May</div><br/><div class="end"></div></div></span>
 
|-
 
| [[File:EseaLogo.png|20px|link=ESEA]]
 
| [[ESEA]] 6v6 Season 19
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">4 May</div><br/><div class="end">27 July</div></div></span>
 
|-
 
<!-- COMPLETED EVENTS START HERE -->
 
! colspan=3 | <div style="background-color:#feeeea;">Completed</div>
 
|-
 
| [[File:RETF2-icon.png|20px|link=Retrospective]]
 
| RETF2 Highlander S2
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">9 Jul</div><br/><div class="end">11 Jul</div></div></span>
 
|-
 
| [[File:RETF2-icon.png|20px|link=Retrospective]]
 
| RETF2 Ready Steady Pan S2
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">6 Jul</div><br/><div class="end">8 Jul</div></div></span>
 
|-
 
| [[File:Tf2connexionlogo.png|20px|link=TF2Connexion]]
 
| [[TF2Connexion]] 6v6 Season 15
 
| <span style="line-height: 1.6em;"><div class="date"><div class="start">18 May</div><br/><div class="end">28 Jun</div></div></span>
 
|-
 
|}
 
|}
 
<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.
+
{{TNLMulti |league= |text= |link1= |link2= |link3= |link4= |sdate= |edate=}}
  
'''After 1 month of being completed events should be completely removed from the Completed tab to make space for new upcoming and ongoing events.'''
+
-->{{StaticEventsStart}}
 +
{{StaticEventsUpcoming}}<!--
 +
Upcoming events start here, place starting soonest towards the bottom.-->
 +
{{TNL |league=etf2l |link=[[ETF2L 6v6 Season 47|ETF2L 6v6 Spring 2024/Season 47]] |sdate=25 Mar |edate=26 May |date= }}
 +
{{TNL |league=etf2l |link=[[ETF2L BBall Cup 7]] |sdate=14 Mar |edate=17 Mar |date= }}
 +
{{TNL |league=UGC  |link=[[UGC Spring 2024]] |sdate=03 Mar |edate=TBD|date= }}
  
=== Template: ===
+
{{StaticEventsOngoing}}<!--
Copy this code to the page you wish to add this table to.
+
Ongoing events start here, place ending soonest towards the bottom.-->
<pre>
+
{{TNL |league=oz    |link=[[ozfortress Season 39|ozfortress Sixes Autumn '24/Season 39]] |sdate=11 Feb  |edate=27 Apr |date= }}
{{Events}}
+
{{TNL |league=oz    |link=[[ozfortress Highlander Season 6|ozfortress Highlander Autumn '24/Season 6]] |sdate=14 Feb  |edate=23 Apr |date= }}
</pre>
+
{{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= }}
  
  
 
+
{{StaticEventsEnd}}
[[Category:Main page templates]]
+
</includeonly><noinclude>
[[Category:Template]]
+
{{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}}