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 15:14, 7 November 2021

Recent tournament results
Previous
Current
Next
November 9, 2024-November 15, 2024
November 16, 2024-November 22, 2024
November 23, 2024-November 29, 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