• Hi there, I'm Bluerock, and I'm the new Wiki Manager, taking over from PsiSeveredHead. Feel free to drop me a message if you have any questions or need any help editing the Wiki!

      Loading editor
    • Hi there Bluerock,

      As more of a technical question, we have a piece of custom JavaScript used for an interactive minimap - it has been updated several times, and is expected to have more updates coming in the future.

      Are there any best-practices for working with custom JavaScript in combination with templates for rapid testing (using FANDOM Wiki features and/or external solutions) which can be used for this?

        Loading editor
    • Hi As8D, I'll look into this and get back to you soon.

        Loading editor
    • Hey As8d, could you link to an example of what you're working with, just to give me a better idea? Thanks.

        Loading editor
    • Currently the minimap is used on this article:

      Some of the current visuals on the minimap hasn't been touched in a while, mainly due to the complexity of changing it - of which my plan is to work on a visual editor for the minimap.

        Loading editor
    • Hey As8D, apologies for not getting back to you sooner.

      That's an impressive map you've put together, looks really neat! Unfortunately, advanced JS isn't my strong suit, but I've conferred with my fellow WMs and they've offered some general suggestions/advice.

      Due to the complexity of the interactive map, it should ideally be embedded onto a Special page of its own. This is because mobile devices aren't going to be able to see it in the mobile skin, so it should be on a page type that is expected to be interactive. Since mobile device users make up over half of Wiki visitors, this is quite a sizeable chunk of people who won't be able to use it.

      I'm aware that the maps are likely to be consulted by users while playing the game on PC, but many often use mobile devices to access info out of convenience (particularly when they don't wanna leave a full-screen game).

      Basically, as a best practice, the most accessible version (for all platforms) should be visible on an article page, and JavaScript should only be used to enhance the simple experience.

      In this case, the most accessible would be the static map(s), which would ideally be in an article of its own, viewable to everyone, while the interactive map would be on a separate Special page for those who wish to (and have the means to) delve deeper into the info available. This page might be helpful:

      Sorry if it's not as in-depth as you were hoping, but it may point you in the right direction for how to proceed. Let me know how you get on! :-)

        Loading editor
    • A FANDOM user
        Loading editor
Give Kudos to this message
You've given this message Kudos!
See who gave Kudos to this message
Community content is available under CC-BY-SA unless otherwise noted.