Template:AddDays: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>ZachPruckowski
mNo edit summary
imported>ZachPruckowski
m (I hate nested expressions!!)
Line 1: Line 1:
{{#if: {{expr: {{CURRENTDAY}} + {{{1}}} > {{DaysInMonth|{{CURRENTMONTH}}}} }}  
{{#if: {{#expr: {{#expr:{{CURRENTDAY}} + {{{1}}} }} > {{DaysInMonth|{{CURRENTMONTH}}}} }}  
|{{CURRENTYEAR}}{{#expr:{{CURRENTMONTH}} +1}}{{#expr: {{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:27, 19 April 2007

202413Expression error: Unrecognized punctuation character "{".