Difference between revisions of "Template:Month next"

From Nottinghack Wiki
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#explode:{{{1}}}| |0}}<br/>
+
{{#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>
{{#explode:{{{1}}}| |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}} }} -->
 
<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 18:55, 22 July 2019

Documentation

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