Template talk:Infobox VG

From Dolphin Emulator Wiki
Revision as of 07:22, 22 July 2017 by Xerxes (talk | contribs) (→‎Uhh)
Jump to navigation Jump to search

GameIDs Link

The links we currently provide for GameIDs are just to our internal redirect pages, and thus just loop back to the page one is currently on. Should we revise them to link out to GameTDB or someplace else that provides region specific info on titles? Kolano (talk) 03:10, 20 November 2016 (CET)

I like the idea. Redirecting to GameTDB seems doable as well since it's just a matter of passing the Game ID (e.g. http://www.gametdb.com/Wii/<gameID>)... - Jhonn (talk) 04:20, 20 November 2016 (CET)
In the meantime it might be more useful to at least make all the GameID links in the infobox not redirect. I filled in a lot of the pages for weird IDs with some information when I was going through awhile ago (Target/Best Buy special editions, regions of release, game languages etc), and currently there's no way for someone to even know that exists without going out of their way to the ID page with a redirect=no. Those notes were mostly for future editors scratching their heads at the IDs (like I did), but it could give them additional marginal benefits. - Xerxes (talk) 11:22, 30 May 2017 (CEST)

Uhh

This template is spewing Category:Pages with template loops on all most pages those have parentheses in their page names, this happens recently after new Wiki update. There's got to be something up with codes behind the 'See also' section in this template. Also, BuildBot responsible for Template:CurrentGitRevision seems to be dead. Lucario (talk) 10:48, 20 July 2017 (CEST)

Not all, apparently, WiiWare titles and some others were excluded. For non-WiiWare title, take this for example, Genesis version of Dai Makaimura (TurboGrafx-16) will take you to Ghouls'n Ghosts (Genesis), notice that latter one magically doesn't have template loop category. Lucario (talk) 11:24, 20 July 2017 (CEST)
The Genesis version there isn't linking back to the TurboGrafx-16 one, so that's why it's not adding the category (weird it goes one way and not the other). According to Template:Exist's documentation (which is used for the alternate console links), that template actually transcludes the other page in order to see if that page exists or not. So I think it's including wikitext from the other game page with its own infobox, which is being detected as a recursive loop (infobox call inside infobox call) and triggering the warning. You could try replacing them all with #ifexist instead to see if that fixes it, but there's a cap on those and it might max out, plus the exist template says there's a bug with Wanted pages when using it. - Xerxes (talk) 12:19, 20 July 2017 (CEST)
Oh, good catch, I've mistaken "Exist" as other #if's in the ParserFunctions extension. Also, thanks for updating the codes so it doesn't spew that category anymore. Lucario (talk) 03:34, 22 July 2017 (CEST)

Swapping to #ifexist did remove all the warnings caused by infobox, but it also breaks wanted pages. There's a bit of a pro/con situation here and it's hard to choose which is better. {{exist}} is a lot slower than #ifexist [1] and throws those MediaWiki warnings, but wanted pages works ok, and the MediaWiki warning category can be marked hidden. #ifexist is faster, keeps the warning working as intended without cluttering the category unnecessarily, but breaks wanted pages. - Xerxes (talk) 03:45, 22 July 2017 (CEST)

If nothing else works, we could always be more traditional and replace that code into actual parameter, then list alternative system version of the same game in each infobox. It'll even add non-existent page to the Wanted list if we so choose too. This seems manageable, there aren't many games to update and we have almost completed game list if not already. Lucario (talk) 04:13, 22 July 2017 (CEST)
I don't think that's such a bad idea honestly. As far as your implementation in the sandbox it's very clean and works fine in the expander, I even like the name "altsys". (As a personal request, please don't exceed 9 characters with new parameter names, it would mess up the spacing...) If the decision is made to switch because of the bugs then it might be good to add something like Category:Games with alternate console versions into the live template so there's a list of ones to change. But, there should definitely be some input from User:Kolano, User:Jhonn beforehand. - Xerxes (talk) 07:22, 22 July 2017 (CEST)