Template:NEXTYEAR: Difference between revisions

Safer nicotine wiki Tobacco Harm Reduction
Jump to navigation Jump to search
m (1 revision imported)
imported>Paine Ellsworth
(convert to /doc page for protected template)
 
Line 1: Line 1:
{{#expr:{{#time:Y}} + {{{1|1}}}}}<noinclude>
{{#expr:{{#time:Y}} + {{{1|1}}}}}<noinclude>
{{documentation|content=
{{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.
 
:Example A:
::<code><nowiki>{{NEXTYEAR}}</nowiki></code>
:displays
::{{NEXTYEAR}}
 
:Example B:
::<code><nowiki>{{NEXTYEAR|4}}</nowiki></code>
:displays
::{{NEXTYEAR|4}}
 
'''See also'''
* <code>{{magic word|CURRENTYEAR}}</code>
* {{tlx|LASTYEAR}}
 
{{Calendar, clock, date and time computing templates}}
[[Category:Date-computing templates based on current time]]
}}
</noinclude>
</noinclude>

Latest revision as of 14:57, 1 January 2022

2025