Template:AddDays: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>ZachPruckowski
m (I hate nested expressions!!)
imported>ZachPruckowski
(revert back. Will test elsewhere - AddDays/test)
Line 1: Line 1:
{{#if: {{#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}}} }}
{{CURRENTYEAR}}{{CURRENTMONTH}}{{#expr: {{CURRENTDAY}} + {{{1}}} }}
--!>

Revision as of 10:28, 19 April 2007

202406Expression error: Unrecognized punctuation character "{".