Templater move to previous note in folder

Hello! I decided to start using the Templater plugin to make creating notes easier, so, let’s say i’ve got a folder with inside different notes for that category, i’d like to use the templater plugin to make so that when you click on the text it brings you to the previous note in the folder (kinda like the “yesterday and tomorrow daily note” thing, just with everything else) looking at the docs it seems like %tp.file doesn’t do what i hoped it would do? Any tips?

Example on end visual:
Previous note << This note >> Next Note