The Infobox game template currently sets a number of Semantic MediaWiki properties, such as GOG.com page and Steam AppID. As the template also accepts the game's ID in the WineHQ AppDB as a parameter, this should similarly be set as a property. Admittedly, I'm not very familiar with SMW, but adding a line reading the following should accomplish this:
{{#if: {{{winehq|}}}| [[WineHQ AppID::{{{winehq}}}| ]] }}
The page is protected, so I'm unable to make this change myself, but it would allow for improved searching and data use through SMW.