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

From PCGamingWiki, the wiki about fixing PC games
m (added handling for adding to store DRM columns as well)
m (only populate "uses DRM" value if not used on an availability row)
Line 82: Line 82:
 
|physical = [[Digital rights management (DRM)#Physical |Physical]]{{#vardefine:DRM|Physical}}
 
|physical = [[Digital rights management (DRM)#Physical |Physical]]{{#vardefine:DRM|Physical}}
 
|#Default  = {{{1|}}}[[Category:Invalid template usage (DRM)]]
 
|#Default  = {{{1|}}}[[Category:Invalid template usage (DRM)]]
}}{{#if: {{{2}}} |&nbsp;{{{2}}}}}{{#vardefine:uses DRM|{{#if:{{#var:uses DRM}}|{{#var:uses DRM}},{{#var:DRM}}|{{#var:DRM}}}}}}{{#if:{{#var:store property value}}|{{#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>
+
}}{{#if: {{{2}}} |&nbsp;{{{2}}}}}{{#if:{{#var:store property value}}|{{#vardefine:{{#var:store property value}} DRM|{{#if:{{#var:{{#var:store property value}} DRM}}|{{#var:{{#var:store property value}} DRM}},{{#var:DRM}}|{{#var:DRM}}}}}}|{{#vardefine:uses DRM|{{#if:{{#var:uses DRM}}|{{#var:uses DRM}},{{#var:DRM}}|{{#var:DRM}}}}}}}}{{#vardefine:DRM|}}</includeonly>

Revision as of 18:27, 11 September 2022