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
(re-implemented GOGcom page property storage)
(added store vardefine switch)
Line 32: Line 32:
 
|official = [{{{link}}} Official website][[Available from::Official website| ]]
 
|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}} | | {{#switch:{{lc:{{{1}}}}}
 +
|amazon
 +
|amazon.com = {{#vardefine:store|Amazon}}
 +
|amazon.co.uk = {{#vardefine:store|Amazon UK}}
 +
|battle.net = {{#vardefine:store|Battlenet}}
 +
|bethesda.net = {{#vardefine:store|Bethesdanet}}
 +
|gog.com
 +
|gog = {{#vardefine:store|GOGcom}}
 +
|itch.io = {{#vardefine:store|Itchio}}
 +
|steam-sub
 +
|steam-bundle = {{#vardefine:store|Steam}}
 +
|#Default = {{#vardefine:store|{{lc:{{{1}}}}}}}
 +
}}{{#ifeq:{{lc:{{{1}}}}} | retail | |{{#ifeq:{{{link}}} | | [[Category:Invalid template usage (Availability)]]}}}}}}

Revision as of 23:02, 2 June 2019

Incorrect store name. See here for available options.