I'm trying to make a navigation template on Nitrome Wiki for enemies on Leap Day. Because the enemies are not prominently named, I wanted to use images to make it easier for a reader to pick out the enemy they want to read about and jump to that section within the list. Here is the template.
Originally, I wanted to make it so that clicking on the images makes you jump to the section you want to jump on the article itself, however, it seems like adding any sort of internal link that jumps to a section causes the image link to stop working entirely despite displaying a tooltip that would otherwise imply that the image would take you to the page with that particular section. The only workaround I can think of is to put in the full external link eg. nitrome.fandom.com/wiki/Enemies_(Leap_Day)#Soldier
, and while it does work, it results in the entire page refreshing when clicked before it jumps to the section, as opposed to clicking on the caption while on the article, which can take you to the section right away.
In the navigation template I linked above, I made a couple examples demonstrating the different methods I tried for getting the images to do the same thing when clicked as the captions. The first in the "Initial launch" section at the top, with the Soldier, is the image with the full external link. The second (Mushroom), is the image link with the full internal link (ie. Enemies (Leap Day)#Mushroom). The third image, Green runner, is just the anchor link itself, ie. #Green runner.
Is there any way to get gallery images to serve as section links where you can jump to a section within a page? Or would the only solution be to just use the captions or external links? I was hoping to use a gallery to make it easier to standardize and maintain. But if not, I suppose the current method I have for all the other enemies in the template would have to do.
I did notice this thread from eight years ago, but it seems like there wasn't much that could have been done at the time. Has that changed since?