Difference between revisions of "User:Tjtrumpet2323/templates/List of weeks/Month"
From Geohashing
imported>Tjtrumpet2323 m (remove January test case) |
|||
Line 1: | Line 1: | ||
− | {{#vardefine:thinterpunct| · }}{{#vardefine:selectedDow|{{{1|Monday}}}}}{{#vardefine:cellMonth|{{#time:Y-m|{{{2|{{CURRENTTIMESTAMP}}}}} }}}}| style="text-align: center; font-size: 80%;" | [[{{#time:Y-m-d|first {{#var: | + | {{#vardefine:thinterpunct| · }}{{#vardefine:selectedDow|{{{1|Monday}}}}}{{#vardefine:cellMonth|{{#time:Y-m|{{{2|{{CURRENTTIMESTAMP}}}}} }}}}{{#vardefine:dom|{{#var:selectedDow}} {{#var:cellMonth}}-00}}| style="text-align: center; font-size: 80%;" | {{#ifexpr: 1211327999 < {{#time:U|first {{#var:dom}}}} and {{#time:U|first {{#var:dom}}}} < {{#time:U}} |[[{{#time:Y-m-d|first {{#var:dom}}}}|{{#time:j|first {{#var:dom}}}}]]|{{#time:j|first {{#var:dom}}}}}}{{#var:thinterpunct}}{{#ifexpr: 1211327999 < {{#time:U|second {{#var:dom}}}} and {{#time:U|second {{#var:dom}}}} < {{#time:U}} |[[{{#time:Y-m-d|second {{#var:dom}}}}|{{#time:j|second {{#var:dom}}}}]]|{{#time:j|second {{#var:dom}}}}}}{{#var:thinterpunct}}{{#ifexpr: 1211327999 < {{#time:U|third {{#var:dom}}}} and {{#time:U|third {{#var:dom}}}} < {{#time:U}} |[[{{#time:Y-m-d|third {{#var:dom}}}}|{{#time:j|third {{#var:dom}}}}]]|{{#time:j|third {{#var:dom}}}}}}{{#var:thinterpunct}}{{#ifexpr: 1211327999 < {{#time:U|fourth {{#var:dom}}}} and {{#time:U|fourth {{#var:dom}}}} < {{#time:U}} |[[{{#time:Y-m-d|fourth {{#var:dom}}}}|{{#time:j|fourth {{#var:dom}}}}]]|{{#time:j|fourth {{#var:dom}}}}}}{{#ifeq:{{#time:Y-m|fifth {{#var:dom}}}}|{{#var:cellMonth}}|{{#var:thinterpunct}}{{#ifexpr: 1211327999 < {{#time:U|fifth {{#var:dom}}}} and {{#time:U|fifth {{#var:dom}}}} < {{#time:U}} |[[{{#time:Y-m-d|fifth {{#var:dom}}}}|{{#time:j|fifth {{#var:dom}}}}]]|{{#time:j|fifth {{#var:dom}}}}}}| }} |