Difference between revisions of "Template:NextQuarterMeetingDate"
(created helper template for the next quarter's full date) |
m (fixed 'next' year) |
||
Line 9: | Line 9: | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
[[Category:Workaround templates|{{PAGENAME}}]] | [[Category:Workaround templates|{{PAGENAME}}]] | ||
− | </noinclude><includeonly>{{#expr: 7 - {{#time: w|1-{{NextQuarterMonth}}-{{CURRENTYEAR}} }} }}-{{NextQuarterMonth}}-{{CURRENTYEAR}}</includeonly> | + | </noinclude><includeonly>{{#ifexpr: {{NextQuarterMonth}} < {{CURRENTMONTH}} | {{#expr: 7 - {{#time: w|1-{{NextQuarterMonth}}-{{CURRENTYEAR}} }} }}-{{NextQuarterMonth}}-{{#expr:{{CURRENTYEAR}}+1}} | {{#expr: 7 - {{#time: w|1-{{NextQuarterMonth}}-{{CURRENTYEAR}} }} }}-{{NextQuarterMonth}}-{{CURRENTYEAR}} }}</includeonly> |
Revision as of 11:16, 28 September 2016
This is the "NextQuarterMeetingDate" template. It should be called in the following format:
{{NextQuarterMeetingDate}}
Which will create the following text: 2025-1-4-1-6
Edit the page to see the template text.