Vorlage:Wochentag
Aus Kitakien
(Unterschied zwischen Versionen)
(v1.0) |
|||
Zeile 40: | Zeile 40: | ||
}} - {{{1}}}) mod 7 }} | }} - {{{1}}}) mod 7 }} | ||
|0 = {{CURRENTDOW}} | |0 = {{CURRENTDOW}} | ||
- | |1 = {{CURRENTDOW}}-1 | + | |1 = {{#ifexpr: {{CURRENTDOW}}>=1 |{{#expr:{{CURRENTDOW}}-1}} |{{#expr:{{CURRENTDOW}}+6}} }} |
- | |2 = {{CURRENTDOW}}-2 | + | |2 = {{#ifexpr: {{CURRENTDOW}}>=2 |{{#expr:{{CURRENTDOW}}-2}} |{{#expr:{{CURRENTDOW}}+5}} }} |
- | |3 = {{CURRENTDOW}}-3 | + | |3 = {{#ifexpr: {{CURRENTDOW}}>=3 |{{#expr:{{CURRENTDOW}}-3}} |{{#expr:{{CURRENTDOW}}+4}} }} |
- | |4 = {{CURRENTDOW}}-4 | + | |4 = {{#ifexpr: {{CURRENTDOW}}>=4 |{{#expr:{{CURRENTDOW}}-4}} |{{#expr:{{CURRENTDOW}}+3}} }} |
- | |5 = {{CURRENTDOW}}-5 | + | |5 = {{#ifexpr: {{CURRENTDOW}}>=5 |{{#expr:{{CURRENTDOW}}-5}} |{{#expr:{{CURRENTDOW}}+2}} }} |
- | |6 = {{CURRENTDOW}}-6 | + | |6 = {{#ifexpr: {{CURRENTDOW}}>=6 |{{#expr:{{CURRENTDOW}}-6}} |{{#expr:{{CURRENTDOW}}+1}} }} |
}} | }} |
Version vom 17:27, 14. Jul. 2006
Verwendung:
{{Wochentag|01|01|1970}}
Samstag, 23.11.2024 6