User:Masamune/Sandbox
Jump to navigation
Jump to search
Potential Code to use
{{ #expr: {{CURRENTMONTH}} - 1 }} (Use this to list this month AND next months current article)
{{ #expr: {{CURRENTMONTH}} + 2 }} (Use this on Current Events to list the current two months of gaming plus the next two months afterwards)
Consideration: Will need a more in-depth IF conditional. If the current month is January, CURRENTMONTH-1 will equal 0 instead of 12. In December, CURRENTMONTH+2 will equal 14 instead of 2.
Alternative: {{ #time: m/Y | +2 months }}
Will produce: 08/2024
Note: In order to implement this, will need to shift Featured Articles and Upcoming Games to:
Gamehiker Wiki:Today's featured article/06/2024
Code to create this is:
{{Gamehiker Wiki:Today's featured article/{{#time: m/Y}}}}