Difference between revisions of "Template:WeekDiff"

From 2value wiki 2
Jump to navigation Jump to search
Line 3: Line 3:
 
| {{#ifexpr: {{{1}}} > {{#timel: Y}}  
 
| {{#ifexpr: {{{1}}} > {{#timel: Y}}  
  
|  {{#expr:( {{{1}}}-{{#timel: Y}})*52+{{#timel: W}}-{{{2}}}  }}
+
|  {{#expr:( {{{1}}}-{{#timel: Y}}-1)*52+{{#timel: W}}-{{{2}}}  }}
  
 
|  {{#expr:( {{{1}}}-{{#timel: Y}})*52-{{#timel: W}}+{{{2}}}  }}
 
|  {{#expr:( {{{1}}}-{{#timel: Y}})*52-{{#timel: W}}+{{{2}}}  }}

Revision as of 03:05, 6 January 2010

Expression error: Unrecognized punctuation character "{".