Template:Month next: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
test
No edit summary
 
(10 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{#explode:{{{1}}}| |1}}<br/>
{{#ifeq:{{#explode:{{{1}}}| |1}}|December|{{#expr: {{#explode:{{{1}}}| |0}} + 1}}|{{#explode:{{{1}}}| |0}} }} {{#switch: {{#explode:{{{1}}}| |1}} | January = February | February = March | March = April | April = May | May = June | June = July | July = August | August = September| September = October | October = November |November = December | December = January }}<noinclude>
{{#explode:{{{1}}}| |2}}
 
{{#ifeq:{{#explode:{{{1}}}| |1}}|December|{{#expr: {{#explode:{{{1}}}| |2}} + 1}} }}
<noinclude>
==Documentation==
==Documentation==
Template to return next month from month passed to template.
Template to return next month from month passed to template in the format: Month YEAR.
 
[[Category:Templates utility]]
</noinclude>
</noinclude>

Latest revision as of 06:19, 25 October 2021

{{{1}}}

Documentation

Template to return next month from month passed to template in the format: Month YEAR.