Template:AddDays: Difference between revisions

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


<!--
<!--
 
{{CURRENTYEAR}}{{CURRENTMONTH}}{{#expr: {{CURRENTDAY}} + {{{1}}} }}
{{#switch: {{CURRENTMONTH
|2 =
|4 =
|6 =
|9 =
|11 =
|12 =
|default {{#ifexpr: {{CURRENTDAY}}
}}
 
 
 
--!>
--!>

Revision as of 09:24, 19 April 2007

2024Expression error: Unrecognized punctuation character "{".Expression error: Unrecognized punctuation character "{".