Difference between revisions of "Template:WeekDiff"

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

Revision as of 03:03, 6 January 2010

Expression error: Unrecognized punctuation character "{".