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

From PCGamingWiki, the wiki about fixing PC games
(removed some unused property tagging; added vardefines for Cargo)
(updated Cargo vardefine to prevent storing empty comma separation)
Line 62: Line 62:
 
  |unknown = <div class="svg-25 svg-icon drm-unknown" title="DRM details are not known">[[File:Icon overlay.png|link=Digital rights management (DRM)|DRM details are not known]][[{{#var:store}} DRM::Unknown| ]]{{#vardefine:DRM|Unknown}}</div>
 
  |unknown = <div class="svg-25 svg-icon drm-unknown" title="DRM details are not known">[[File:Icon overlay.png|link=Digital rights management (DRM)|DRM details are not known]][[{{#var:store}} DRM::Unknown| ]]{{#vardefine:DRM|Unknown}}</div>
 
  |#Default=<div class="svg-icon svg-25 os-error">[[File:Icon overlay.png|link=|Error: DRM '{{{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: DRM '{{{1|}}}' not recognised]]</div>{{#ifeq: {{NAMESPACE}} | | [[Category:Invalid template usage (DRM)]] }}
}}{{#vardefine:uses DRM|{{#var:uses DRM}},{{#var:DRM}}}}{{#vardefine:{{#var:store property value}} DRM|{{#var:{{#var:store property value}} DRM}},{{#var:DRM}}}}{{#vardefine:DRM|}}</includeonly><noinclude>{{documentation}}</noinclude>
+
}}{{#vardefine:uses DRM|{{#if:{{#var:uses DRM}}|{{#var:uses DRM}},{{#var:DRM}}|{{#var:DRM}}}}}}{{#vardefine:{{#var:store property value}} DRM|{{#if:{{#var:{{#var:store property value}} DRM}}|{{#var:{{#var:store property value}} DRM}},{{#var:DRM}}|{{#var:DRM}}}}}}{{#vardefine:DRM|}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 09:29, 22 September 2021

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