User talk:Xerxes: Difference between revisions

Jump to navigation Jump to search
Line 150: Line 150:


If not possible through standard wiki mechanics, I'm guessing some JavaScript as I'm hoping to implement to restore random videos might be able to handle it. [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 08:08, 29 December 2017 (CET)
If not possible through standard wiki mechanics, I'm guessing some JavaScript as I'm hoping to implement to restore random videos might be able to handle it. [[User:Kolano|Kolano]] ([[User talk:Kolano|talk]]) 08:08, 29 December 2017 (CET)
:After taking another look at it, I don't think I liked my old design either, it seemed tacky. This new version changes nothing about page output for existing pages. Instead, all that it does is look for a variable in the page's infobox that matches the name of each ID, and if there's a match then it links to wherever that variable says to instead of to the redirect page like it normally does; if there's no match for one or more IDs, then it adds the page to the unverified IDs category. For example, on page [[Atlantis no Nazo]], if I were to confirm that page's ID [[FEAJ01]], all I would have to do is add the line <code>|FEAJ01 = <NUS link></code> and the link in the infobox under the GameIDs section would take you to the NUS. You can play around with this using the sandbox and page previews, I can't demonstrate in the actual documentation because it needs a real game page with ID redirects to work.
:The ultimate goal would be to have a system with some kind of small checkmark icon next to verified IDs and an X next to unverified IDs in the infobox and make the checkmark what links instead of the ID itself, but I'd need to go find some public domain icons and figure out how to do that visually. - [[User:Xerxes|Xerxes]] ([[User talk:Xerxes|talk]]) 10:27, 29 December 2017 (CET)
6,906

edits

Navigation menu