Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Development:Infobox game"

From PCGamingWiki, the wiki about fixing PC games
(changed IsThereAnyDeal query to use stored value first)
(Undo revision 792022 by Garrett (talk))
Tag: Undo
Line 42: Line 42:
 
<!-- Icons -->
 
<!-- Icons -->
 
<!-- storing WSGF Link state -->{{#vardefine:WSGF Link|{{#show: {{PAGENAME}} | ?WSGF Link #}}}}<!--
 
<!-- storing WSGF Link state -->{{#vardefine:WSGF Link|{{#show: {{PAGENAME}} | ?WSGF Link #}}}}<!--
storing IsThereAnyDeal ID -->{{#vardefine:ITAD match|{{#show: {{PAGENAME}} | ?IsThereAnyDeal ID}}}}{{#if:{{#var:ITAD match}}||{{#if:{{{steam appid|}}}|{{#get_web_data:url=https://api.isthereanydeal.com/v02/game/plain/?key=ITAD_KEY&shop=steam&game_id=app/{{{steam appid|}}}|format=JSON|data=itad=data}}{{#vardefine:ITAD match|{{#external_value:itad}}}}}}}}<!--
+
storing IsThereAnyDeal ID -->{{#if:{{{steam appid|}}}|{{#get_web_data:url=https://api.isthereanydeal.com/v02/game/plain/?key=ITAD_KEY&shop=steam&game_id=app/{{{steam appid|}}}|format=JSON|data=itad=data}}{{#vardefine:ITAD match|{{#external_value:itad}}}}}}{{#if:{{#var:ITAD match}}||{{#vardefine:ITAD match|{{#show: {{PAGENAME}} | ?IsThereAnyDeal ID}}}}}}<!--
 
-->{{#if: {{{wikipedia|}}}{{{gogcom id|}}}{{{steam appid|}}}{{{winehq|}}}{{{strategywiki|}}}{{#var:WSGF Link}}{{#var:ITAD match}}|
 
-->{{#if: {{{wikipedia|}}}{{{gogcom id|}}}{{{steam appid|}}}{{{winehq|}}}{{{strategywiki|}}}{{#var:WSGF Link}}{{#var:ITAD match}}|
 
<tr>
 
<tr>

Revision as of 02:07, 9 June 2019

{{#ogpdescription:Infobox game at PCGamingWiki - bugs, fixes, crashes, mods, guides and improvements for every PC game.}}
Infobox game
Error: #cargo_declare must be called from a template page.
Documentation for the above template (sometimes hidden from view).