Difference between pages "Template:LASTYEAR" and "Template:LASTYEAR/sandbox"

(Difference between pages)
Jump to navigation Jump to search
Page 1
Page 2
imported>GreenC
 
imported>Sdkb
(substitution-friendly design)
 
Line 1: Line 1:
{{#expr:{{#time:Y}}-{{{1|1}}}}}<noinclude>
+
{{safesubst:<noinclude/>#expr:{{safesubst:<noinclude/>#time:Y}}-{{{1|1}}}}}<noinclude>
 
{{documentation|content=
 
{{documentation|content=
 
Display the current year offset by one ie. current year - 1 year. If the first parameter is set (optional), it will offset by that number of years backwards.
 
Display the current year offset by one ie. current year - 1 year. If the first parameter is set (optional), it will offset by that number of years backwards.
Line 14: Line 14:
  
 
'''See also'''
 
'''See also'''
* <code>{{magic word|CURRENTYEAR}}</code>
+
* {{tlx|CURRENTYEAR}}
 
* {{tlx|NEXTYEAR}}
 
* {{tlx|NEXTYEAR}}