Difference between revisions of "Template:Availability/store"

From PCGamingWiki, the wiki about fixing PC games
(Gamesplanet changed to 160px width)
m (update link for battle.net)
 
(3 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
|amazon.com = [https://amazon.com/dp/{{{link}}}?tag=pcgamingwik0e-20 Amazon.com]{{#vardefine:store|Amazon}}{{#vardefine:store property value|Amazon US}}
 
|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 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://battle.net/shop/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}}
Line 9: Line 9:
 
|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}}
 
|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 = [[File:Gamesplanet_logo.svg|160px|link=https://gamesplanet.com/game/{{{link}}}?ref=pcgwiki]]{{#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://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}}
 
|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}}}/?tap_a=1964-996bbb&tap_s=341948-7fd0d2 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}}{{#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}}
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>
}}{{#vardefine:Available from historically|{{#if:{{#var:Available from historically}}|{{#var:Available from historically}},{{#var:store property value}}|{{#var:store property value}}}}}}[[Available from historically::{{#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}}}}}}[[Available from::{{#var:store property value}}| ]] }}{{#ifeq: {{NAMESPACE}} | | {{#ifeq:{{lc:{{{1}}}}} | retail | |{{#ifeq:{{{link}}} | | [[Category:Invalid template usage (Availability)]]}}}}}}
+
}}{{#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 00:12, 26 October 2021

Incorrect store name. See here for available options.