Difference between revisions of "Template:Availability/keys"

From PCGamingWiki, the wiki about fixing PC games
(updated Cargo vardefine to prevent storing empty comma separation)
(removed Semantic MediaWiki tagging (migrated to Cargo))
 
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|{{#if:{{#var:{{#var:store property value}} keys}}|{{#var:{{#var:store property value}} keys}},{{#var:key}}|{{#var:key}}}}}}{{#vardefine:key|}}</includeonly><noinclude>{{documentation}}</noinclude>
+
}}{{#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>

Latest revision as of 10:06, 18 October 2021

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