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/keys"

From PCGamingWiki, the wiki about fixing PC games
(added vardefines for Cargo)
(updated Cargo vardefine to prevent storing empty comma separation)
Line 19: Line 19:
 
  |download = <div class="svg-25 svg-icon drm-download" title="Download">[[File:Icon overlay.png|link=Glossary:Download|Download]]</div>{{#vardefine:key|Download}}
 
  |download = <div class="svg-25 svg-icon drm-download" title="Download">[[File:Icon overlay.png|link=Glossary:Download|Download]]</div>{{#vardefine:key|Download}}
 
  |#Default=<div class="svg-icon svg-25 os-error">[[File:Icon overlay.png|link=|Error: key type '{{{1|}}}' not recognised]]</div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (DRM)]] }}
 
  |#Default=<div class="svg-icon svg-25 os-error">[[File:Icon overlay.png|link=|Error: key type '{{{1|}}}' not recognised]]</div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (DRM)]] }}
}}[[{{#var:store}} keys::{{{1|}}}| ]]{{#vardefine:{{#var:store property value}} keys|{{#var:{{#var:store property value}} keys}},{{#var:key}}}}{{#vardefine:key|}}</includeonly><noinclude>{{documentation}}</noinclude>
+
}}[[{{#var:store}} keys::{{{1|}}}| ]]{{#vardefine:{{#var:store property value}} keys|{{#if:{{#var:{{#var:store property value}} keys}}|{{#var:{{#var:store property value}} keys}},{{#var:key}}|{{#var:key}}}}}}{{#vardefine:key|}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 09:14, 22 September 2021

Documentation for the above template (sometimes hidden from view).