Difference between revisions of "Template:Availability/store"
From PCGamingWiki, the wiki about fixing PC games
(added GOG.com var) |
(added checks for GOG.com and Steam presence in infobox) |
||
Line 6: | Line 6: | ||
|gamersgate = [http://www.dpbolvw.net/click-6723194-10912384?url=http://www.gamersgate.com/{{{link}}}?caff=5418682 GamersGate][[Available from::GamersGate| ]] | |gamersgate = [http://www.dpbolvw.net/click-6723194-10912384?url=http://www.gamersgate.com/{{{link}}}?caff=5418682 GamersGate][[Available from::GamersGate| ]] | ||
|gog.com | |gog.com | ||
− | |gog = [https://www.gog.com/game/{{{link}}}?pp=708a77db476d737e54b8bf4663fc79b346d696d2 GOG.com][[Available from::GOG.com| ]][[GOGcom page::{{{link}}}| ]]{{#vardefine:gogcom id| | + | |gog = [https://www.gog.com/game/{{{link}}}?pp=708a77db476d737e54b8bf4663fc79b346d696d2 GOG.com][[Available from::GOG.com| ]][[GOGcom page::{{{link}}}| ]]{{#if:{{#var:gogcom id}}||{{#vardefine:gogcom id|{{{link}}}}}[[Category:Invalid template usage (availability)]] }} |
|gmg = [https://www.dpbolvw.net/click-6723194-10912384?url=https://www.greenmangaming.com/games/{{{link}}}/?tap_a=1964-996bbb&tap_s=341948-7fd0d2 Green Man Gaming][[Available from::Green Man Gaming| ]] | |gmg = [https://www.dpbolvw.net/click-6723194-10912384?url=https://www.greenmangaming.com/games/{{{link}}}/?tap_a=1964-996bbb&tap_s=341948-7fd0d2 Green Man Gaming][[Available from::Green Man Gaming| ]] | ||
|humble store | |humble store | ||
Line 16: | Line 16: | ||
|oculus store = [https://www.oculus.com/experiences/rift/{{{link}}}/ Oculus Store][[Available from::Oculus Store| ]] | |oculus store = [https://www.oculus.com/experiences/rift/{{{link}}}/ Oculus Store][[Available from::Oculus Store| ]] | ||
|origin = [https://www.origin.com/store/{{{link}}} Origin][[Available from::Origin| ]]{{#vardefine:Origin|yes}} | |origin = [https://www.origin.com/store/{{{link}}} Origin][[Available from::Origin| ]]{{#vardefine:Origin|yes}} | ||
− | |steam = [https://store.steampowered.com/app/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam][[Available from::Steam| ]] | + | |steam = [https://store.steampowered.com/app/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam][[Available from::Steam| ]]{{#if:{{#var:steam appid}}||{{#vardefine:steam appid|{{{link}}}}}[[Category:Invalid template usage (availability)]] }} |
− | |steam-sub = [https://store.steampowered.com/sub/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam][[Available from::Steam| ]] | + | |steam-sub = [https://store.steampowered.com/sub/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam][[Available from::Steam| ]]{{#if:{{#var:steam appid}}||{{#vardefine:steam appid|{{{link}}}}}[[Category:Invalid template usage (availability)]] }} |
|twitch = [https://www.twitch.tv/directory/game/{{{link}}}/details Twitch][[Available from::Twitch| ]] | |twitch = [https://www.twitch.tv/directory/game/{{{link}}}/details Twitch][[Available from::Twitch| ]] | ||
|uplay = [http://www.dpbolvw.net/click-6723194-10912384?url=http://store.ubi.com/{{{link}}}.html Uplay][[Available from::Uplay| ]]{{#vardefine:Uplay|yes}} | |uplay = [http://www.dpbolvw.net/click-6723194-10912384?url=http://store.ubi.com/{{{link}}}.html Uplay][[Available from::Uplay| ]]{{#vardefine:Uplay|yes}} |
Revision as of 09:46, 21 September 2018
Incorrect store name. See here for available options.