Difference between revisions of "Development:Availability/store"
From PCGamingWiki, the wiki about fixing PC games
(ITAD get+store) |
|||
Line 32: | Line 32: | ||
|official = [{{{link}}} Official website][[Available from::Official website| ]]{{#vardefine:store|Official}} | |official = [{{{link}}} Official website][[Available from::Official website| ]]{{#vardefine:store|Official}} | ||
|#Default = Incorrect store name. See [[Template:Availability|here]] for available options.<includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Availability)]] }}</includeonly> | |#Default = Incorrect store name. See [[Template:Availability|here]] for available options.<includeonly>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Availability)]] }}</includeonly> | ||
− | }}{{#ifeq: {{NAMESPACE}} | | {{#ifeq:{{lc:{{{1}}}}} | retail | |{{#ifeq:{{{link}}} | | [[Category:Invalid template usage (Availability)]]}}}}}} | + | }}<!-- |
+ | -->{{#ifeq:{{#var:ITAD}}|true|{{#vardefine:ITAD|}}{{#get_web_data:url=https://api.isthereanydeal.com/v02/game/plain/?key=ITAD_KEY&shop={{#switch:{{#var:store}} | ||
+ | |Amazon=amazonus&game_id={{{link}}} | ||
+ | |Battlenet=battlenet&url=https://shop.battle.net/product/{{{link}}} | ||
+ | |Discord=discord&game_id={{{link}}} | ||
+ | |Epic Games Store=epic&game_id={{{link}}} | ||
+ | |GamersGate=gamersgate&game_id={{{link}}} | ||
+ | |Gamesplanet=gamesplanetus&game_id={{{link}}} | ||
+ | |GOGcom=gog&url=https://www.gog.com/game/{{{link}}} | ||
+ | |Green Man Gaming=greenmangaming&game_id={{{link}}} | ||
+ | |Humble Store=humblestore&game_id={{{link}}}_storefront | ||
+ | |itchio=itchio&url={{{link}}} | ||
+ | |Oculus Store=oculus&game_id={{{link}}} | ||
+ | |Origin=origin&url=https://www.origin.com/store/{{{link}}}/standard-edition | ||
+ | |Uplay=uplay&game_id={{{link}}} | ||
+ | |Microsoft Store=microsoft&game_id={{{link}}} | ||
+ | }}|format=JSON|data=itad=data}}[[IsThereAnyDeal ID::{{#external_value:itad}}| ]]{{#vardefine:ITAD|{{#external_value:itad}}}} | ||
+ | }}<!-- | ||
+ | -->{{#ifeq: {{NAMESPACE}} | | {{#ifeq:{{lc:{{{1}}}}} | retail | |{{#ifeq:{{{link}}} | | [[Category:Invalid template usage (Availability)]]}}}}}} |
Revision as of 08:59, 4 June 2019
Incorrect store name. See here for available options.