Code
Subtract the argument from the current year:
{{#expr: {{CURRENTYEAR}} - {{{1}}} }}
Examples
- {{years ago|1980}} = 46 (years since Reagan was elected)
Various historical events
| Year |
Event |
Years ago
|
| 1602
|
Shakespeare wrote Hamlet
|
425
|
| 1945 |
US and allies won WWII |
81
|