Difference between revisions of "Template:Availability/store"

From PCGamingWiki, the wiki about fixing PC games
(updated some store names; removed some unused property tags; moved vardefine clear to Template:Availability/row)
(updated Cargo vardefine to prevent storing empty comma separation)
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}} | {{#vardefine:Available from historically|{{#var:Available from historically}},{{#var:store property value}}}}[[Available from historically::{{#var:store property value}}| ]] {{#if: {{#var:store unavailable}} | | {{#vardefine:Available from|{{#var:Available from}},{{#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}}}}}}[[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)]]}}}}}}

Revision as of 09:22, 22 September 2021

Incorrect store name. See here for available options.