Difference between revisions of "Template:Event end"

From Team Fortress Wiki
Jump to: navigation, search
m (Added Da switch)
Line 37: Line 37:
  
 
;Parameters
 
;Parameters
* <code><date></code> &ndash; the day the event ends/ended. Can be inputted as text or using {{tl|Patch name}}.
+
* <code><date></code> &ndash; the day the event ends/ended. Can be inputted as text or using {{tl|Date fmt}}.
 
* <code>ended</code> &ndash; add once the event has ended.
 
* <code>ended</code> &ndash; add once the event has ended.
  
Line 43: Line 43:
 
;Examples
 
;Examples
 
* <code><nowiki>{{Event end|November 7, 2023}}</nowiki></code> results in {{Event end|November 7, 2023}}
 
* <code><nowiki>{{Event end|November 7, 2023}}</nowiki></code> results in {{Event end|November 7, 2023}}
* <code><nowiki>{{Event end|{{Patch name|11|7|2023|date-only=yes}}|ended}}</nowiki></code> results in {{Event end|{{Patch name|11|7|2023|date-only=yes}}|ended}}
+
* <code><nowiki>{{Event end|{{Date fmt|11|7|2023}}|ended}}</nowiki></code> results in {{Event end|{{Date fmt|11|7|2023}}|ended}}
  
 
[[Category:Templates]]
 
[[Category:Templates]]
 
<noinclude>
 
<noinclude>

Revision as of 18:07, 31 October 2025

The event is set to end on {{{1}}}.

Documentation for Event end

Template for articles about updates with events, like Scream Fortress and Smissmas.


Syntax

{{Event end|<date>|ended}}


Parameters
  • <date> – the day the event ends/ended. Can be inputted as text or using {{Date fmt}}.
  • ended – add once the event has ended.


Examples
  • {{Event end|November 7, 2023}} results in The event is set to end on November 7, 2023.
  • {{Event end|{{Date fmt|11|7|2023}}|ended}} results in The event ended on November 7, 2023.