Template:AddDays: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>ZachPruckowski
(test new version w/ wraparound)
imported>ZachPruckowski
mNo edit summary
Line 1: Line 1:
{{#if: {{expr: {{CURRENTDAY}} + {{{1}}} > {{DaysInMonth|{{CURRENTMONTH}}}} }}  
{{#if: {{expr: {{CURRENTDAY}} + {{{1}}} > {{DaysInMonth|{{CURRENTMONTH}}}} }}  
|{{CURRENTYEAR}}{{#expr:{{CURRENTMONTH}} +{{{1}}}}}{{#expr: {{CURRENTDAY}} + {{{1}}} - {{DaysInMonth|{{CURRENTMONTH}}}} }}
|{{CURRENTYEAR}}{{#expr:{{CURRENTMONTH}} +1}}{{#expr: {{expr:{{CURRENTDAY}} + {{{1}}} }} - {{DaysInMonth|{{CURRENTMONTH}} }} }}
|{{CURRENTYEAR}}{{CURRENTMONTH}}{{#expr: {{CURRENTDAY}} + {{{1}}} }}
|{{CURRENTYEAR}}{{CURRENTMONTH}}{{#expr: {{CURRENTDAY}} + {{{1}}} }}
}}
}}

Revision as of 09:25, 19 April 2007

202413Expression error: Unrecognized punctuation character "{".