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 "Template:Availability/store"

From PCGamingWiki, the wiki about fixing PC games
m (added vardefine for use with {{absent properties}} and subproperties of Property:Available from)
m (Undo revision 712801 by Aemony (talk) this idea didn't plan out as expected. undos the changes and we'll probably revisit this idea in another form)
Tag: Undo
Line 1: Line 1:
 
{{#switch:{{lc:{{{1}}}}}
 
{{#switch:{{lc:{{{1}}}}}
 
|amazon
 
|amazon
|amazon.com = [https://amzn.com/{{{link}}}?tag=pcgamingwik0e-20 Amazon.com][[Available from::Amazon.com| ]]{{#vardefine:AvailableFromAmazonUS|true}}
+
|amazon.com = [https://amzn.com/{{{link}}}?tag=pcgamingwik0e-20 Amazon.com][[Available from::Amazon.com| ]]
|amazon.co.uk = [http://amzn.co.uk/dp/{{{link}}}?tag=pcgamingwiki-21 Amazon.co.uk][[Available from::Amazon.co.uk| ]]{{#vardefine:AvailableFromAmazonUK|true}}
+
|amazon.co.uk = [http://amzn.co.uk/dp/{{{link}}}?tag=pcgamingwiki-21 Amazon.co.uk][[Available from::Amazon.co.uk| ]]
|battle.net = [https://battle.net/shop/product/{{{link}}} Battle.net][[Available from::Battle.net| ]]{{#vardefine:AvailableFromBattleNet|true}}
+
|battle.net = [https://battle.net/shop/product/{{{link}}} Battle.net][[Available from::Battle.net| ]]  
|bethesda.net = [https://store.bethesda.net/store/bethesda/en_IE/pd/productID.{{{link}}} Bethesda.net][[Available from::Bethesda.net| ]]{{#vardefine:AvailableFromBethesdaNet|true}}
+
|bethesda.net = [https://store.bethesda.net/store/bethesda/en_IE/pd/productID.{{{link}}} Bethesda.net][[Available from::Bethesda.net| ]]
|discord = [https://discordapp.com/store/skus/{{{link}}} Discord][[Available from::Discord| ]]{{#vardefine:Discord|yes}}{{#vardefine:cloud|needed}}{{#vardefine:AvailableFromDiscord|true}}
+
|discord = [https://discordapp.com/store/skus/{{{link}}} Discord][[Available from::Discord| ]]{{#vardefine:Discord|yes}}{{#vardefine:cloud|needed}}
|epic games store = [https://www.epicgames.com/store/en-US/product/{{{link}}} Epic Games Store][[Available from::Epic Games Store| ]]{{#vardefine:AvailableFromEpicGameStore|true}}
+
|epic games store = [https://www.epicgames.com/store/en-US/product/{{{link}}} Epic Games Store][[Available from::Epic Games Store| ]]
|gamersgate = [http://www.dpbolvw.net/click-6723194-10912384?url=http://www.gamersgate.com/{{{link}}}?caff=5418682 GamersGate][[Available from::GamersGate| ]]{{#vardefine:AvailableFromGamersGate|true}}
+
|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| ]]{{#if:{{#var:gogcom id}}||[[Category:Invalid template usage (availability)]] }}{{#vardefine:cloud|needed}}{{#vardefine:AvailableFromGOGcom|true}}
+
|gog = [https://www.gog.com/game/{{{link}}}?pp=708a77db476d737e54b8bf4663fc79b346d696d2 GOG.com][[Available from::GOG.com| ]]{{#if:{{#var:gogcom id}}||[[Category:Invalid template usage (availability)]] }}{{#vardefine:cloud|needed}}
|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| ]]{{#vardefine:AvailableFromGreenManGaming|true}}
+
|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
|humble = [https://www.humblebundle.com/store/{{{link}}}?partner=pcgw Humble Store][[Available from::Humble Store| ]]{{#vardefine:AvailableFromHumbleStore|true}}
+
|humble = [https://www.humblebundle.com/store/{{{link}}}?partner=pcgw Humble Store][[Available from::Humble Store| ]]
|itch.io = [{{{link}}} itch.io][[Available from::itch.io| ]]{{#vardefine:AvailableFromItchIO|true}}
+
|itch.io = [{{{link}}} itch.io][[Available from::itch.io| ]]
 
|macapp
 
|macapp
|mac app store = [https://itunes.apple.com/app/{{{link}}} Mac App Store][[Available from::Mac App Store| ]]{{#vardefine:AvailableFromMacAppStore|true}}
+
|mac app store = [https://itunes.apple.com/app/{{{link}}} Mac App Store][[Available from::Mac App Store| ]]
 
|oculus
 
|oculus
|oculus store = [https://www.oculus.com/experiences/rift/{{{link}}}/ Oculus Store][[Available from::Oculus Store| ]]{{#vardefine:AvailableFromOculusStore|true}}
+
|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}}{{#vardefine:cloud|needed}}{{#vardefine:AvailableFromOriginStore|true}}
+
|origin = [https://www.origin.com/store/{{{link}}} Origin][[Available from::Origin| ]]{{#vardefine:Origin|yes}}{{#vardefine:cloud|needed}}
|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)]] }}{{#vardefine:cloud|needed}}{{#vardefine:AvailableFromSteam|true}}
+
|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)]] }}{{#vardefine:cloud|needed}}
|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)]] }}{{#vardefine:cloud|needed}}{{#vardefine:AvailableFromSteam|true}}
+
|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)]] }}{{#vardefine:cloud|needed}}
 
|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}}{{#vardefine:cloud|needed}}{{#vardefine:AvailableFromUplay|true}}
+
|uplay = [http://www.dpbolvw.net/click-6723194-10912384?url=http://store.ubi.com/{{{link}}}.html Uplay][[Available from::Uplay| ]]{{#vardefine:Uplay|yes}}{{#vardefine:cloud|needed}}
|viveport = [https://www.viveport.com/apps/{{{link}}} Viveport][[Available from::Viveport| ]]{{#vardefine:AvailableFromViveport|true}}
+
|viveport = [https://www.viveport.com/apps/{{{link}}} Viveport][[Available from::Viveport| ]]
|microsoft store = [http://microsoft.msafflnk.net/c/1395635/465310/7794?prodsku={{{link}}}&u=https://www.microsoft.com/store/apps/{{{link}}} Microsoft Store][[Available from::Microsoft Store| ]]{{#vardefine:AvailableFromMicrosoftStore|true}}
+
|microsoft store = [http://microsoft.msafflnk.net/c/1395635/465310/7794?prodsku={{{link}}}&u=https://www.microsoft.com/store/apps/{{{link}}} Microsoft Store][[Available from::Microsoft Store| ]]
|retail = Retail[[Available from::Retail| ]]{{#vardefine:AvailableFromRetail|true}}
+
|retail = Retail[[Available from::Retail| ]]
|developer = [{{{link}}} Developer website][[Available from::Developer website| ]]{{#vardefine:AvailableFromDeveloperWebsite|true}}
+
|developer = [{{{link}}} Developer website][[Available from::Developer website| ]]
|publisher = [{{{link}}} Publisher website][[Available from::Publisher website| ]]{{#vardefine:AvailableFromPublisherWebsite|true}}
+
|publisher = [{{{link}}} Publisher website][[Available from::Publisher website| ]]
|official = [{{{link}}} Official website][[Available from::Official website| ]]{{#vardefine:AvailableFromOfficialWebsite|true}}
+
|official = [{{{link}}} Official website][[Available from::Official website| ]]
 
|#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: {{NAMESPACE}} | | {{#ifeq:{{lc:{{{1}}}}} | retail | |{{#ifeq:{{{link}}} | | [[Category:Invalid template usage (availability)]]}}}}}}

Revision as of 09:13, 20 March 2019

Incorrect store name. See here for available options.