User talk:Xerxes: Difference between revisions

m
no edit summary
mNo edit summary
Line 151: Line 151:
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 tries to consolidate everything to the GameIDs section instead of adding a new section. 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. (Ironically a bad example since FEAJ [http://ccs.cdn.shop.wii.com/ccs/download/000100014645414A/tmd doesn't have a download] from 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.
:After taking another look at it, I don't think I liked my old design either, it seemed tacky. This new version tries to consolidate everything to the GameIDs section instead of adding a new section. 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. (Ironically a bad example since FEAJ [http://ccs.cdn.shop.wii.com/ccs/download/000100014645414A/tmd doesn't have a download] from NUS...) There's a demonstration on the [[Dummy Page]] so you can see what I mean.


: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)
: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