As the title states. I've figured out how to add a clickable button, how to actually make it jump to the top, and some basic styling for what I want the button to look like, but I looked at the JS aspect and immediately got stuck lol. I imagine I'd need to put the styling of the button and the button itself in a template? But I'm not sure how to make the JS detect only that button and not, like, every other button on my wiki. I'd like it to only show up on scroll, and I found a guide/template on how to implement that JS wise, but putting it all together is going over my head quite a bit.
Also, is there a way to globally add the button? I don't see how right now because that seems like an HTML thing, which as far as I'm aware, I can't do unless I use a template. I'd just like the button to be always there without needing to copy paste the button template on every page.
