|
|
Line 1: |
Line 1: |
− | Monday
| + | {{#vardefine:MondayNW|{{#switch:{{#time: l|now}}|Monday={{#time: Y|now +0 days}}|Tuesday={{#time: Y|now -1 days}}|Wednesday={{#time: Y|now -2 days}}|Thursday={{#time: Y|now -3 days}}|Friday={{#time: Y|now -4 days}}|Saturday={{#time: Y|now -5 days}}|Sunday={{#time: Y|now -6 days}}}}}} |
− | {{#vardefine:MondayNW|{{#switch:{{#time: l|now}}|Monday={{#time: Y|now +0 days}}|Tuesday={{#time: Y|now -1 days}}|Wednesday={{#time: Y|now -2 days}}|Thursday={{#time: Y|now -3 days}}|Friday={{#time: Y|now -4 days}}|Saturday={{#time: Y|now -5 days}}|Sunday={{#time: Y|now -6 days}}}}}} | |
| | | |
− | <br>
| + | {{#var:MondayNW}} |
− | {{#var:MondayNW}} | |
− | | |
− | <br>
| |
− | | |
− | Tuesday
| |
− | {{#vardefine:TuesdayNW|{{#switch:{{#time: l|now}}|Monday={{#time: Y|now +1 days}}|Tuesday={{#time: Y|now +0 days}}|Wednesday={{#time: Y|now -1 days}}|Thursday={{#time: Y|now -2 days}}|Friday={{#time: Y|now -3 days}}|Saturday={{#time: Y|now -4 days}}|Sunday={{#time: Y|now -5 days}}}}}}
| |
− | | |
− | <br>
| |
− | {{#var:TuesdayNW}}
| |
− | | |
− | <br>
| |
− | | |
− | Wednesday
| |
− | {{#vardefine:WednesdayNW|{{#switch:{{#time: l|now}}|Monday={{#time: Y|now +2 days}}|Tuesday={{#time: Y|now +1 days}}|Wednesday={{#time: Y|now +0 days}}|Thursday={{#time: Y|now -1 days}}|Friday={{#time: Y|now -2 days}}|Saturday={{#time: Y|now -3 days}}|Sunday={{#time: Y|now -4 days}}}}}}
| |
− | | |
− | <br>
| |
− | {{#var:WednesdayNW}}
| |
− | | |
− | <br>
| |
− | | |
− | Thursday
| |
− | {{#vardefine:ThursdayNW|{{#switch:{{#time: l|now}}|Monday={{#time: Y|now +3 days}}|Tuesday={{#time: Y|now +2 days}}|Wednesday={{#time: Y|now +1 days}}|Thursday={{#time: Y|now +0 days}}|Friday={{#time: Y|now -1 days}}|Saturday={{#time: Y|now -2 days}}|Sunday={{#time: Y|now -3 days}}}}}}
| |
− | | |
− | <br>
| |
− | {{#var:ThursdayNW}}
| |
− | | |
− | <br>
| |
− | | |
− | Friday
| |
− | {{#vardefine:FridayNW|{{#switch:{{#time: l|now}}|Monday={{#time: Y|now +4 days}}|Tuesday={{#time: Y|now +3 days}}|Wednesday={{#time: Y|now +2 days}}|Thursday={{#time: Y|now +1 days}}|Friday={{#time: Y|now +0 days}}|Saturday={{#time: Y|now -1 days}}|Sunday={{#time: Y|now -2 days}}}}}}
| |
− | | |
− | <br>
| |
− | {{#var:FridayNW}}
| |
− | | |
− | <br>
| |
− | | |
− | Saturday
| |
− | {{#vardefine:SaturdayNW|{{#switch:{{#time: l|now}}|Monday={{#time: Y|now +5 days}}|Tuesday={{#time: Y|now +4 days}}|Wednesday={{#time: Y|now +3 days}}|Thursday={{#time: Y|now +2 days}}|Friday={{#time: Y|now +1 days}}|Saturday={{#time: Y|now +0 days}}|Sunday={{#time: Y|now -1 days}}}}}}
| |
− | | |
− | <br>
| |
− | {{#var:SaturdayNW}}
| |
− | | |
− | <br>
| |
− | | |
− | Sunday
| |
− | {{#vardefine:SundayNW|{{#switch:{{#time: l|now}}|Monday={{#time: Y|now +6 days}}|Tuesday={{#time: Y|now +5 days}}|Wednesday={{#time: Y|now +4 days}}|Thursday={{#time: Y|now +3 days}}|Friday={{#time: Y|now +2 days}}|Saturday={{#time: Y|now +1 days}}|Sunday={{#time: Y|now +0 days}}}}}}
| |
− | | |
− | <br>
| |
− | {{#var:SundayNW}}
| |
− | | |
− | <br>
| |