Jump to content

Template:Week

From Meta, a Wikimedia project coordination wiki
This is an archived version of this page, as edited by Patrick (talk | contribs) at 22:50, 3 June 2006 (debug). It may differ significantly from the current version.


[expression "([expression "Expression error: unrecognised punctuation character "{" - -676749 + 1" is wrong] + 3 ) / 7 round 0" is wrong]

{{subst:eval|({{subst:orddate|subst=subst:|{{subst:isoyear|{{{1}}}|6|5}}|{{subst:MJD2M|subst=subst:|{{subst:#expr:{{subst:YMD2MJD|subst=subst:|2006|6|5}} - {{subst:DOW|subst=subst:|2006|6|5}} + 4 }}}}|{{subst:MJD2D|subst=subst:|{{subst:#expr:{{subst:YMD2MJD|subst=subst:|2006|6|5}} - {{subst:DOW|subst=subst:|2006|6|5}} + 4 }}}}}} + 3 ) / 7 round 0}}
  • {{week|2006|6|5}} gives 23.
  • [expression "([expression "Expression error: unrecognised punctuation character "{" - -676749 + 1" is wrong] + 3 ) / 7 round 0" is wrong]
  • [expression "([expression "Expression error: unrecognised punctuation character "{" - -676749 + 1" is wrong] + 3 ) / 7 round 0" is wrong]

Compare:

  • variable {{CURRENTWEEK}} gives 23.