Difference between revisions of "Template:Availability/store"

From PCGamingWiki, the wiki about fixing PC games
(changed Epic vardefine name (only used by Template:Save game cloud syncing--unifying name with Template:Availability/DRM to simplify cloud template))
(removed Semantic MediaWiki tagging (migrated to Cargo))
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{#switch:{{lc:{{{1}}}}}
 
{{#switch:{{lc:{{{1}}}}}
 
|amazon
 
|amazon
|amazon.com = [https://amazon.com/dp/{{{link}}}?tag=pcgamingwik0e-20 Amazon.com]{{#vardefine:store|Amazon}}{{#vardefine:store property value|Amazon.com}}
+
|amazon.com = [https://amazon.com/dp/{{{link}}}?tag=pcgamingwik0e-20 Amazon.com]{{#vardefine:store|Amazon}}{{#vardefine:store property value|Amazon US}}
|amazon.co.uk = [https://amazon.co.uk/dp/{{{link}}}?tag=pcgamingwiki-21 Amazon.co.uk]{{#vardefine:store|Amazon UK}}{{#vardefine:store property value|Amazon.co.uk}}
+
|amazon.co.uk = [https://amazon.co.uk/dp/{{{link}}}?tag=pcgamingwiki-21 Amazon.co.uk]{{#vardefine:store|Amazon UK}}{{#vardefine:store property value|Amazon UK}}
 
|battle.net = [https://shop.battle.net/product/{{{link}}} Battle.net]{{#vardefine:store|Battlenet}}{{#vardefine:store property value|Battle.net}}
 
|battle.net = [https://shop.battle.net/product/{{{link}}} Battle.net]{{#vardefine:store|Battlenet}}{{#vardefine:store property value|Battle.net}}
 
|bethesda.net = [https://bethesda.net/en/store/product/{{{link}}} Bethesda.net]{{#vardefine:store|Bethesdanet}}{{#vardefine:store property value|Bethesda.net}}
 
|bethesda.net = [https://bethesda.net/en/store/product/{{{link}}} Bethesda.net]{{#vardefine:store|Bethesdanet}}{{#vardefine:store property value|Bethesda.net}}
 
|discord = [https://discord.com/store/skus/{{{link}}} Discord]{{#vardefine:Discord|true}}{{#vardefine:cloud|needed}}{{#vardefine:store|Discord}}{{#vardefine:store property value|Discord}}
 
|discord = [https://discord.com/store/skus/{{{link}}} Discord]{{#vardefine:Discord|true}}{{#vardefine:cloud|needed}}{{#vardefine:store|Discord}}{{#vardefine:store property value|Discord}}
|epic games store = [https://store.epicgames.com/pcgamingwiki/{{{link}}} Epic Games Store]{{#vardefine:Epic Games Launcher|true}}{{#vardefine:cloud|needed}}{{#vardefine:store|Epic Games Store}}[[Epic Games Store ID::{{{link}}}| ]]{{#vardefine:store property value|Epic Games Store}}
+
|epic games store = [https://store.epicgames.com/pcgamingwiki/{{{link}}} Epic Games Store]{{#vardefine:Epic Games Launcher|true}}{{#vardefine:cloud|needed}}{{#vardefine:store|Epic Games Store}}{{#vardefine:store property value|Epic Games Store}}
|epic games store subpage = [https://www.epicgames.com/store/product/{{{link}}}?epic_affiliate=pcgamingwiki Epic Games Store]{{#vardefine:Epic Games Launcher|true}}{{#vardefine:cloud|needed}}{{#vardefine:store|Epic Games Store}}[[Epic Games Store ID::{{{link}}}| ]]{{#vardefine:store property value|Epic Games Store}}
+
|epic games store subpage = [https://www.epicgames.com/store/product/{{{link}}}?epic_affiliate=pcgamingwiki Epic Games Store]{{#vardefine:Epic Games Launcher|true}}{{#vardefine:cloud|needed}}{{#vardefine:store|Epic Games Store}}{{#vardefine:store property value|Epic Games Store}}
 
|gamersgate = [https://www.dpbolvw.net/click-6723194-10912384?url=https://www.gamersgate.com/product/{{{link}}}?caff=5418682 GamersGate]{{#vardefine:store|GamersGate}}{{#vardefine:store property value|GamersGate}}
 
|gamersgate = [https://www.dpbolvw.net/click-6723194-10912384?url=https://www.gamersgate.com/product/{{{link}}}?caff=5418682 GamersGate]{{#vardefine:store|GamersGate}}{{#vardefine:store property value|GamersGate}}
|gamesplanet = [https://gamesplanet.com/game/{{{link}}}?ref=pcgwiki Gamesplanet]{{#vardefine:store|Gamesplanet}}{{#vardefine:store property value|Gamesplanet}}
+
|gamesplanet = [[File:Gamesplanet_logo.svg|136px|link=https://gamesplanet.com/game/{{{link}}}?ref=pcgwiki]]{{#vardefine:store|Gamesplanet}}{{#vardefine:store property value|Gamesplanet}}
 
|gog.com
 
|gog.com
|gog = [https://www.gog.com/game/{{{link}}}?pp=708a77db476d737e54b8bf4663fc79b346d696d2 GOG.com][[GOGcom page::{{{link}}}| ]]{{#if:{{#var:gogcom id}}||{{#vardefine:gogcom id|unknown}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Availability)]] }} }}{{#vardefine:cloud|needed}}{{#vardefine:store|GOGcom}}{{#vardefine:store property value|GOG.com}}
+
|gog = [https://af.gog.com/game/{{{link}}}?as=1649876489 GOG.com]{{#if:{{#var:gogcom id}}||{{#vardefine:gogcom id|unknown}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Availability)]] }} }}{{#vardefine:cloud|needed}}{{#vardefine:store|GOGcom}}{{#vardefine:store property value|GOG.com}}
 
|gmg = [https://www.dpbolvw.net/click-6723194-10912384?url=https://www.greenmangaming.com/games/{{{link}}} Green Man Gaming]{{#vardefine:store|Green Man Gaming}}{{#vardefine:store property value|Green Man Gaming}}
 
|gmg = [https://www.dpbolvw.net/click-6723194-10912384?url=https://www.greenmangaming.com/games/{{{link}}} Green Man Gaming]{{#vardefine:store|Green Man Gaming}}{{#vardefine:store property value|Green Man Gaming}}
 
|humble store
 
|humble store
|humble = [https://www.humblebundle.com/store/{{{link}}}?partner=pcgw Humble Store]{{#vardefine:store|Humble Store}}[[Humble Store ID::{{{link}}}| ]]{{#vardefine:store property value|Humble Store}}
+
|humble = [https://www.humblebundle.com/store/{{{link}}}?partner=pcgw Humble Store]{{#vardefine:store|Humble Store}}{{#vardefine:store property value|Humble Store}}
 
|itch.io = [{{{link}}}?ac=Q8uS8a4hVvG itch.io]{{#vardefine:store|itchio}}{{#vardefine:store property value|itch.io}}
 
|itch.io = [{{{link}}}?ac=Q8uS8a4hVvG itch.io]{{#vardefine:store|itchio}}{{#vardefine:store property value|itch.io}}
 
|macapp
 
|macapp
Line 22: Line 22:
 
|oculus store = [https://www.oculus.com/experiences/rift/{{{link}}}/ Oculus Store]{{#vardefine:store|Oculus Store}}{{#vardefine:store property value|Oculus Store}}
 
|oculus store = [https://www.oculus.com/experiences/rift/{{{link}}}/ Oculus Store]{{#vardefine:store|Oculus Store}}{{#vardefine:store property value|Oculus Store}}
 
|origin  
 
|origin  
|ea desktop = [https://www.origin.com/usa/en-us/store/{{{link}}} Origin]{{#vardefine:store|Origin}}{{#vardefine:store property value|Origin}}
+
|ea desktop = [https://www.origin.com/usa/en-us/store/{{{link}}} Origin]{{#vardefine:store|EA Desktop}}{{#vardefine:store property value|EA Desktop}}
 
|steam = [https://store.steampowered.com/app/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam]{{#if:{{#var:steam appid}}||{{#vardefine:steam appid|{{{link}}}}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Availability)]] }} }}{{#vardefine:cloud|needed}}{{#vardefine:store|Steam}}{{#vardefine:store property value|Steam}}
 
|steam = [https://store.steampowered.com/app/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam]{{#if:{{#var:steam appid}}||{{#vardefine:steam appid|{{{link}}}}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Availability)]] }} }}{{#vardefine:cloud|needed}}{{#vardefine:store|Steam}}{{#vardefine:store property value|Steam}}
 
|steam-sub = [https://store.steampowered.com/sub/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam]{{#if:{{#var:steam appid}}||{{#vardefine:steam appid|{{{link}}}}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Availability)]] }} }}{{#vardefine:cloud|needed}}{{#vardefine:store|Steam}}{{#vardefine:store property value|Steam}}
 
|steam-sub = [https://store.steampowered.com/sub/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam]{{#if:{{#var:steam appid}}||{{#vardefine:steam appid|{{{link}}}}}{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (Availability)]] }} }}{{#vardefine:cloud|needed}}{{#vardefine:store|Steam}}{{#vardefine:store property value|Steam}}
Line 32: Line 32:
 
|viveport = [https://www.viveport.com/apps/{{{link}}} Viveport]{{#vardefine:store|Viveport}}{{#vardefine:store property value|Viveport}}
 
|viveport = [https://www.viveport.com/apps/{{{link}}} Viveport]{{#vardefine:store|Viveport}}{{#vardefine:store property value|Viveport}}
 
|zoom
 
|zoom
|zoom platform = [https://www.zoom-platform.com/product/{{{link}}}?affiliate=d13eea34-a694-4c6b-831e-0706cd728e86 ZOOM Platform]{{#vardefine:store|ZOOM Platform}}{{#vardefine:store property value|ZOOM Platform}}
+
|zoom platform = [https://www.zoom-platform.com/product/{{{link}}}?affiliate=d13eea34-a694-4c6b-831e-0706cd728e86 ZOOM Platform]{{#vardefine:store|ZOOM Platform}}{{#vardefine:store property value|Zoom Platform}}
 
|retail = Retail{{#vardefine:store|Retail}}{{#vardefine:store property value|Retail}}
 
|retail = Retail{{#vardefine:store|Retail}}{{#vardefine:store property value|Retail}}
 
|developer = [{{{link}}} Developer website]{{#vardefine:store|Developer}}{{#vardefine:store property value|Developer website}}
 
|developer = [{{{link}}} Developer website]{{#vardefine:store|Developer}}{{#vardefine:store property value|Developer website}}
Line 38: Line 38:
 
|official = [{{{link}}} Official website]{{#vardefine:store|Official}}{{#vardefine:store property value|Official website}}
 
|official = [{{{link}}} Official website]{{#vardefine:store|Official}}{{#vardefine:store property value|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>
}}{{#if: {{#var:store property value}} | [[Available from historically::{{#var:store property value}}| ]] {{#if: {{#var:store unavailable}} | | [[Available from::{{#var:store property value}}| ]] }} }}{{#ifeq: {{NAMESPACE}} | | {{#ifeq:{{lc:{{{1}}}}} | retail | |{{#ifeq:{{{link}}} | | [[Category:Invalid template usage (Availability)]]}}}}}}{{#vardefine:store property value|}}
+
}}{{#vardefine:Available from historically|{{#if:{{#var:Available from historically}}|{{#var:Available from historically}},{{#var:store property value}}|{{#var:store property value}}}}}} {{#if: {{#var:store unavailable}} | | {{#vardefine:Available from|{{#if:{{#var:Available from}}|{{#var:Available from}},{{#var:store property value}}|{{#var:store property value}}}}}} }}{{#ifeq: {{NAMESPACE}} | | {{#ifeq:{{lc:{{{1}}}}} | retail | |{{#ifeq:{{{link}}} | | [[Category:Invalid template usage (Availability)]]}}}}}}

Latest revision as of 09:57, 18 October 2021

Incorrect store name. See here for available options.