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:selectedDow}} {{#var:cellMonth}}-00}}|{{#time:j|first {{#var:selectedDow}} {{#var:cellMonth}}-00}}]]{{#var:thinterpunct}}[[{{#time:Y-m-d|second {{#var:selectedDow}} {{#var:cellMonth}}-00}}|{{#time:j|second {{#var:selectedDow}} {{#var:cellMonth}}-00}}]]{{#var:thinterpunct}}[[{{#time:Y-m-d|third {{#var:selectedDow}} {{#var:cellMonth}}-00}}|{{#time:j|third {{#var:selectedDow}} {{#var:cellMonth}}-00}}]]{{#var:thinterpunct}}[[{{#time:Y-m-d|fourth {{#var:selectedDow}} {{#var:cellMonth}}-00}}|{{#time:j|fourth {{#var:selectedDow}} {{#var:cellMonth}}-00}}]]{{#ifeq:{{#time:Y-m|fifth {{#var:selectedDow}} {{#var:cellMonth}}-00}}|{{#var:cellMonth}}|{{#var:thinterpunct}}[[{{#time:Y-m-d|fifth {{#var:selectedDow}} {{#var:cellMonth}}-00}}|{{#time:j|fifth {{#var:selectedDow}} {{#var:cellMonth}}-00}}]]| }}
+
{{#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}}}}}}| }}

Latest revision as of 22:48, 3 March 2020

| style="text-align: center; font-size: 80%;" | 4 · 11 · 18 · 25