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