Difference between revisions of "Template:Recent tournament results week nav"

From QBWiki
Jump to navigation Jump to search
(Created page with "{{#vardefine:week|{{#if:{{{1|}}}|{{{1}}}|{{currentweek}}}}}}<!-- -->{{#vardefine:day|{{#explode:{{#var:week}}|-}}}}<!-- -->{{#vardefine:offset|{{dayoffset|{{#var:day}}}}}}<!--...")
 
Line 11: Line 11:
 
Create nav box with links to the recent tournament result pages for the preceding and following weeks.
 
Create nav box with links to the recent tournament result pages for the preceding and following weeks.
  
Input should be a range of dates separated by a hyphen, canonically those produced by [[Template:currentweek]]. This nav will use only the first value and will not validate the dates provided.
+
Input should be a range of dates separated by a hyphen, canonically those produced by [[Template:currentweek]]. This nav will use only the first value and will not validate the dates provided. Future improvements could have it use a single day, since that's all that's really necessary anyways, but that's for another time.
  
 
{{Recent tournament results week nav|October 30, 2021-November 5, 2021}}
 
{{Recent tournament results week nav|October 30, 2021-November 5, 2021}}
 
</noinclude>
 
</noinclude>

Revision as of 16:14, 7 November 2021

Recent tournament results
Previous
Current
Next
May 25, 2024-May 31, 2024
June 1, 2024-June 7, 2024
June 8, 2024-June 14, 2024

Create nav box with links to the recent tournament result pages for the preceding and following weeks.

Input should be a range of dates separated by a hyphen, canonically those produced by Template:currentweek. This nav will use only the first value and will not validate the dates provided. Future improvements could have it use a single day, since that's all that's really necessary anyways, but that's for another time.


Recent tournament results
Previous
Current
Next
October 23, 2021-October 29, 2021
October 30, 2021-November 5, 2021
November 6, 2021-November 12, 2021