Template talk:Gameid: Difference between revisions

Discussion page of Template:Gameid
(Created page with "==Including the pagename in forum thread link== I've encountered a problem with the way I was linking to the forum threads. Previously, I was including the game name in the li...")
 
No edit summary
Line 2: Line 2:
I've encountered a problem with the way I was linking to the forum threads. Previously, I was including the game name in the link before the game ID using <code><nowiki>{{#regex:{{PAGENAME}}|/\s/|+}}</nowiki></code> to improve accuracy of the links (I took the game name straight from the page name). This worked for the most part until I hit games that have different names for different versions (for example: Ratchet & Clank: QForce and Atelier Shallie: Alchemists of the Dusk Sea). For lack of a better solution, I've simply removed the page name from the link which is fine for now. This reduces the accuracy of the links but I haven't seen it fail or link to a wrong thread yet.  
I've encountered a problem with the way I was linking to the forum threads. Previously, I was including the game name in the link before the game ID using <code><nowiki>{{#regex:{{PAGENAME}}|/\s/|+}}</nowiki></code> to improve accuracy of the links (I took the game name straight from the page name). This worked for the most part until I hit games that have different names for different versions (for example: Ratchet & Clank: QForce and Atelier Shallie: Alchemists of the Dusk Sea). For lack of a better solution, I've simply removed the page name from the link which is fine for now. This reduces the accuracy of the links but I haven't seen it fail or link to a wrong thread yet.  


But if that does occur, we'll have to consider renaming the threads to fix the issue.[[User:MrHulaHoop|MrHulaHoop]] ([[User talk:MrHulaHoop|talk]]) 14:48, 11 February 2018 (UTC)
But if that does occur, we'll have to consider renaming the threads to fix the issue. - [[User:MrHulaHoop|MrHulaHoop]] ([[User talk:MrHulaHoop|talk]]) 14:48, 11 February 2018 (UTC)

Revision as of 14:48, 11 February 2018

Including the pagename in forum thread link

I've encountered a problem with the way I was linking to the forum threads. Previously, I was including the game name in the link before the game ID using {{#regex:{{PAGENAME}}|/\s/|+}} to improve accuracy of the links (I took the game name straight from the page name). This worked for the most part until I hit games that have different names for different versions (for example: Ratchet & Clank: QForce and Atelier Shallie: Alchemists of the Dusk Sea). For lack of a better solution, I've simply removed the page name from the link which is fine for now. This reduces the accuracy of the links but I haven't seen it fail or link to a wrong thread yet.

But if that does occur, we'll have to consider renaming the threads to fix the issue. - MrHulaHoop (talk) 14:48, 11 February 2018 (UTC)