This template makes a year by day index for pages with days in Portal:Current events. It can be used in pages like Category:2023 by day.
Usage
edit{{Year by day index|year}}
If year
is omitted then the template looks for a year in the page name. The template page itself uses 2023 as an example.