Changes
Jump to navigation
Jump to search
no edit summary
{{#expr:{{#time:Y}} + {{{1|1}}}}}<noinclude>
{{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.
:example 1
::<code><nowiki>{{NEXTYEAR}}</nowiki></code>
:displays
::{{NEXTYEAR}}
:example 2
::<code><nowiki>{{NEXTYEAR|4}}</nowiki></code>
:displays
::{{NEXTYEAR|4}}
'''See also'''
* {{tlx|CURRENTYEAR}}
* {{tlx|LASTYEAR}}
{{Calendar, clock, date and time computing templates}}
[[Category:Date-computing templates based on current time]]
}}
</noinclude>
{{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.
:example 1
::<code><nowiki>{{NEXTYEAR}}</nowiki></code>
:displays
::{{NEXTYEAR}}
:example 2
::<code><nowiki>{{NEXTYEAR|4}}</nowiki></code>
:displays
::{{NEXTYEAR|4}}
'''See also'''
* {{tlx|CURRENTYEAR}}
* {{tlx|LASTYEAR}}
{{Calendar, clock, date and time computing templates}}
[[Category:Date-computing templates based on current time]]
}}
</noinclude>