On the Nintendo Wiki we have been considering having a button on the wiki where users can set their region so that once they do that then the box art in game infoboxes will display the box art for their region.
Can anyone help with the coding? I don't know much js coding, but I have an idea how it would work. The regions would be NA, JP, EU, AU, KO, and CH (North America, Japan, Europe, Australia, Korea and China). In the coding of the infobox there would be divs for each region classed with the region abbreviation (NA, JP, etc.) and only one would be shown for each user, depending on which region that they are in, and the rest wouldn't be displayed. I can code the divs and all related wiki-text coding, but I can't code how the user will set their region.
Can anyone help code this?