Template:LASTYEAR: Difference between revisions
From Chalo Chatu, Zambia online encyclopedia
enwiki>GreenC No edit summary |
m (1 revision imported) |
(No difference)
|
Latest revision as of 12:47, 8 September 2021
2023
<templatestyles src="Module:Documentation/styles.css"></templatestyles>
Template documentation
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.
- example 1
{{LASTYEAR}}
- displays
- 2023
- example 2
{{LASTYEAR|4}}
- displays
- 2020
See also