Template:Month next: Difference between revisions

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