Difference between revisions of "Template:Availability/store"
From PCGamingWiki, the wiki about fixing PC games
(added check for empty link parameter (if type is not Retail)) |
(added available from property) |
||
Line 1: | Line 1: | ||
{{#switch:{{lc:{{{1}}}}} | {{#switch:{{lc:{{{1}}}}} | ||
|amazon | |amazon | ||
− | |amazon.com = [https://amzn.com/{{{link}}}?tag=pcgamingwik0e-20 Amazon.com] | + | |amazon.com = [https://amzn.com/{{{link}}}?tag=pcgamingwik0e-20 Amazon.com][[Available from::Amazon.com| ]] |
|amazon uk | |amazon uk | ||
− | |amazon.co.uk = [http://amzn.co.uk/dp/{{{link}}}?tag=pcgamingwiki-21 Amazon.co.uk] | + | |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] | + | |battle.net = [https://battle.net/shop/product/{{{link}}} Battle.net][[Available from::Battle.net| ]] |
− | |gamersgate = [http://www.dpbolvw.net/click-6723194-10912384?url=http://www.gamersgate.com/{{{link}}} GamersGate] | + | |gamersgate = [http://www.dpbolvw.net/click-6723194-10912384?url=http://www.gamersgate.com/{{{link}}} GamersGate][[Available from::GamersGate| ]] |
− | |gamesplanet = [https://gamesplanet.com/game/{{{link}}}?ref=pcgw Gamesplanet] | + | |gamesplanet = [https://gamesplanet.com/game/{{{link}}}?ref=pcgw Gamesplanet][[Available from::Gamesplanet| ]] |
− | |gamestop = [http://www.gamestop.com/pc/games/{{{link}}} GameStop] | + | |gamestop = [http://www.gamestop.com/pc/games/{{{link}}} GameStop][[Available from::GameStop| ]] |
|gog.com | |gog.com | ||
− | |gog = [https://www.gog.com/game/{{{link}}}?pp=708a77db476d737e54b8bf4663fc79b346d696d2 GOG.com] | + | |gog = [https://www.gog.com/game/{{{link}}}?pp=708a77db476d737e54b8bf4663fc79b346d696d2 GOG.com][[Available from::GOG.com| ]] |
|green man gaming | |green man gaming | ||
|greenmangaming | |greenmangaming | ||
− | |gmg = [https://www.dpbolvw.net/click-6723194-10912384?url=https://www.greenmangaming.com/games/{{{link}}}/?gmgr=jivalane Green Man Gaming] | + | |gmg = [https://www.dpbolvw.net/click-6723194-10912384?url=https://www.greenmangaming.com/games/{{{link}}}/?gmgr=jivalane Green Man Gaming][[Available from::Green Man Gaming| ]] |
|humble store | |humble store | ||
− | |humble = [https://www.humblebundle.com/store/{{{link}}} Humble Store] | + | |humble = [https://www.humblebundle.com/store/{{{link}}} Humble Store][[Available from::Humble Store| ]] |
− | |itch.io = [{{{link}}} itch.io] | + | |itch.io = [{{{link}}} itch.io][[Available from::itch.io| ]] |
|macapp | |macapp | ||
− | |mac app store = [https://itunes.apple.com/app/{{{link}}} Mac App Store] | + | |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] | + | |oculus store = [https://www.oculus.com/experiences/rift/{{{link}}}/ Oculus Store][[Available from::Oculus Store| ]] |
− | |origin = [https://www.origin.com/store/{{{link}}} Origin] | + | |origin = [https://www.origin.com/store/{{{link}}} Origin][[Available from::Origin| ]] |
− | |steam = [http://store.steampowered.com/app/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam] | + | |steam = [http://store.steampowered.com/app/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam][[Available from::Steam| ]] |
− | |steam-sub = [http://store.steampowered.com/sub/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam] | + | |steam-sub = [http://store.steampowered.com/sub/{{{link}}}/?utm_source=PCGamingWiki&utm_medium=PCGamingWiki&utm_campaign=PCGamingWiki Steam][[Available from::Steam| ]] |
− | |uplay-emea = [http://www.dpbolvw.net/click-6723194-10912384?url=http://store.ubi.com/{{{link}}}.html Uplay (<abbr title="EMEA countries (Europe, the Middle East, and Africa)">EMEA</abbr>/other)] | + | |uplay-emea = [http://www.dpbolvw.net/click-6723194-10912384?url=http://store.ubi.com/{{{link}}}.html Uplay (<abbr title="EMEA countries (Europe, the Middle East, and Africa)">EMEA</abbr>/other)][[Available from::Uplay| ]] |
− | |uplay-na = [http://www.dpbolvw.net/click-6723194-10912384?url=http://shop.ubi.com/store/ubina/pd/productID.{{{link}}} Uplay (US/Canada)] | + | |uplay-na = [http://www.dpbolvw.net/click-6723194-10912384?url=http://shop.ubi.com/store/ubina/pd/productID.{{{link}}} Uplay (US/Canada)][[Available from::Uplay| ]] |
− | |winstore = [https://www.microsoft.com/store/apps/{{{link}}} Windows Store] | + | |winstore = [https://www.microsoft.com/store/apps/{{{link}}} Windows Store][[Available from::Windows Store| ]] |
− | |retail = Retail | + | |retail = Retail[[Available from::Retail| ]] |
− | |developer = [{{{link}}} Developer website] | + | |developer = [{{{link}}} Developer website][[Available from::Developer website| ]] |
− | |publisher = [{{{link}}} Publisher website] | + | |publisher = [{{{link}}} Publisher website][[Available from::Publisher website| ]] |
− | |official = [{{{link}}} Official website] | + | |official = [{{{link}}} Official website][[Available from::Official website| ]] |
|#Default = Incorrect store name. See [[Template:Availability|here]] for available options.<includeonly>[[Category:Invalid template usage (availability)]]</includeonly> | |#Default = Incorrect store name. See [[Template:Availability|here]] for available options.<includeonly>[[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 00:50, 26 November 2017
Incorrect store name. See here for available options.