This template is protected from editing.

Difference between revisions of "Template:Days ago/core"

From Team Fortress Wiki
Jump to: navigation, search
m (add new params)
 
m (Protected "Template:Days ago/core" ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)))
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{#ifeq:{{age in days|1={{{year}}}|2={{{month}}}|3={{{day}}}}}
+
<includeonly>{{#ifeq:{{age in days|1={{{year}}}|2={{{month}}}|3={{{day}}}}}
 
  | 0  
 
  | 0  
 
  | {{{today|Today}}}
 
  | {{{today|Today}}}
Line 7: Line 7:
 
   | {{{days-ago-prefix|}}}{{{days-ago|{{age in days|1={{{year}}}|2={{{month}}}|3={{{day}}}}}}}}{{{days-ago-suffix|}}}
 
   | {{{days-ago-prefix|}}}{{{days-ago|{{age in days|1={{{year}}}|2={{{month}}}|3={{{day}}}}}}}}{{{days-ago-suffix|}}}
 
   }}
 
   }}
  }}<noinclude>{{doc begin}}
+
  }}</includeonly><noinclude>{{doc begin}}
 
This template subpage uses mathematical expressions to calculate the amount of days passed since a specific date. This template should not be used directly, instead the main template {{tl|Days ago}} should be used.
 
This template subpage uses mathematical expressions to calculate the amount of days passed since a specific date. This template should not be used directly, instead the main template {{tl|Days ago}} should be used.
 
</noinclude>
 
</noinclude>

Latest revision as of 04:01, 8 August 2023

Documentation for Days ago/core

This template subpage uses mathematical expressions to calculate the amount of days passed since a specific date. This template should not be used directly, instead the main template {{Days ago}} should be used.