Difference between revisions of "Template:Currentweek"

From QBWiki
Jump to navigation Jump to search
(Created page with "{{#vardefine:dayofweek|{{#time:l|+{{#expr:{{{1|0}}}*7}}}}}} {{#ifeq:{{#var:dayofweek}}|Saturday |{{#vardefine:offset|0}} |{{#ifeq:{{#var:dayofweek}}|Sunday <!---->|{{#vardefin...")
 
Line 1: Line 1:
{{#vardefine:dayofweek|{{#time:l|+{{#expr:{{{1|0}}}*7}}}}}}
+
{{#vardefine:dayofweek|{{#time:l|+{{#expr:{{{1|0}}}*7}}}}}}{{#ifeq:{{#var:dayofweek}}|Saturday
{{#ifeq:{{#var:dayofweek}}|Saturday
 
 
|{{#vardefine:offset|0}}
 
|{{#vardefine:offset|0}}
 
|{{#ifeq:{{#var:dayofweek}}|Sunday
 
|{{#ifeq:{{#var:dayofweek}}|Sunday
Line 20: Line 19:
 
<!----><!---->}}
 
<!----><!---->}}
 
<!---->}}
 
<!---->}}
}}}}{{#time:F j, Y|-{{#var:offset}} day}}-{{#time:F j, Y|+{{#expr:7-{{#var:offset}}}} day}}
+
}}}}{{#time:F j, Y|-{{#var:offset}} day}}-{{#time:F j, Y|+{{#expr:7-{{#var:offset}}}} day}}<noinclude>
 +
 
 +
The week from Saturday to Friday. Intended to represent the period of time in which a set of [[tournament]] results from a given weekend is the most recent. There currently {{#ifexist:QBWiki:Recent tournament results/{{currentweek}}|is|is not}} a page of results for the [[QBWiki:Recent tournament results/{{currentweek}}|current week]].
 +
</noinclude>

Revision as of 14:19, 7 November 2021

November 16, 2024-November 23, 2024

The week from Saturday to Friday. Intended to represent the period of time in which a set of tournament results from a given weekend is the most recent. There currently is not a page of results for the current week.