Difference between revisions of "Development:Availability/DRM"

From PCGamingWiki, the wiki about fixing PC games
(new tagging)
(fix DRM-free and Unknown tagging)
Line 24: Line 24:
 
  |microsoft store=<div class="svg-25 svg-icon store-microsoft">[[File:Icon overlay.png|link=Store:Microsoft Store|Microsoft Store]][[{{#var:store}} DRM::Microsoft Store| ]][[Uses DRM::Microsoft Store| ]]{{#vardefine:DRM|Microsoft Store}}</div>
 
  |microsoft store=<div class="svg-25 svg-icon store-microsoft">[[File:Icon overlay.png|link=Store:Microsoft Store|Microsoft Store]][[{{#var:store}} DRM::Microsoft Store| ]][[Uses DRM::Microsoft Store| ]]{{#vardefine:DRM|Microsoft Store}}</div>
 
  |drm-free*
 
  |drm-free*
  |drm-free={{#switch: {{lc:{{#var:store}}}}
+
  |drm-free={{#vardefine:DRM|DRM-free}}[[{{#var:store}} DRM::DRM-free| ]]{{#switch: {{lc:{{#var:store}}}}
|epic games store=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Epic Games Store|DRM-free after installation through Epic Games Launcher (notes may include more details)]][[{{#var:store}} DRM::DRM-free| ]]</div>
+
|epic games store=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Epic Games Store|DRM-free after installation through Epic Games Launcher (notes may include more details)]]</div>
|bethesdanet=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Bethesda.net|DRM-free after installation through Bethesda.net Launcher (notes may include more details)]][[{{#var:store}} DRM::DRM-free| ]]</div>
+
|bethesdanet=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Bethesda.net|DRM-free after installation through Bethesda.net Launcher (notes may include more details)]]</div>
 
|discord=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Store:Discord|DRM-free after installation through Discord client (notes may include more details)]][[Discord DRM::DRM-free| ]]</div>
 
|discord=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Store:Discord|DRM-free after installation through Discord client (notes may include more details)]][[Discord DRM::DRM-free| ]]</div>
 
|gamersgate=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Store:GamersGate|DRM-free after installation (requires an internet connection during installation)]][[GamersGate DRM::DRM-free| ]]</div>
 
|gamersgate=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Store:GamersGate|DRM-free after installation (requires an internet connection during installation)]][[GamersGate DRM::DRM-free| ]]</div>
Line 39: Line 39:
 
|uplay
 
|uplay
 
|ubisoft store=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Uplay|DRM-free after installation through Ubisoft Connect client (notes may include more details)]][[Uplay DRM::DRM-free| ]][[Ubisoft Store DRM::DRM-free| ]]</div>
 
|ubisoft store=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Uplay|DRM-free after installation through Ubisoft Connect client (notes may include more details)]][[Uplay DRM::DRM-free| ]][[Ubisoft Store DRM::DRM-free| ]]</div>
|#Default=<!-- START OF DRM-FREE* SPECIAL CASE -->{{#switch: {{lc:{{{1|}}}}}
+
|#Default=<!-- START OF DRM-FREE* SPECIAL CASE -->{{#vardefine:DRM|DRM-free}}[[{{#var:store}} DRM::DRM-free| ]]{{#switch: {{lc:{{{1|}}}}}
|drm-free*=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Glossary:DRM-free|DRM-free with some exceptions (notes may include more details)]][[DRM-free::true| ]][[{{#var:store}} DRM::DRM-free| ]]</div>
+
|drm-free*=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Glossary:DRM-free|DRM-free with some exceptions (notes may include more details)]][[DRM-free::true| ]]</div>
|drm-free=<div class="svg-25 svg-icon drm-drmfree" title="DRM-free">[[File:Icon overlay.png|link=Glossary:DRM-free|DRM-free]][[DRM-free::true| ]][[{{#var:store}} DRM::DRM-free| ]]</div>
+
|drm-free=<div class="svg-25 svg-icon drm-drmfree" title="DRM-free">[[File:Icon overlay.png|link=Glossary:DRM-free|DRM-free]][[DRM-free::true| ]]</div>
 
}}<!-- END OF DRM-FREE* SPECIAL CASE -->
 
}}<!-- END OF DRM-FREE* SPECIAL CASE -->
 
}}
 
}}
Line 60: Line 60:
 
  |cartridge = <div class="svg-25 svg-icon drm-cartridge">[[File:Icon overlay.png|link=Digital rights management (DRM)#Disc check|IBM PCjr cartridge (requires the cartridge in a cartridge slot to play)]]</div>[[Uses DRM::PCjr cartridge| ]]{{#vardefine:DRM|PCjr cartridge}}[[{{#var:store}} DRM::PCjr cartridge| ]]
 
  |cartridge = <div class="svg-25 svg-icon drm-cartridge">[[File:Icon overlay.png|link=Digital rights management (DRM)#Disc check|IBM PCjr cartridge (requires the cartridge in a cartridge slot to play)]]</div>[[Uses DRM::PCjr cartridge| ]]{{#vardefine:DRM|PCjr cartridge}}[[{{#var:store}} DRM::PCjr cartridge| ]]
 
  |dongle = <div class="svg-25 svg-icon drm-dongle">[[File:Icon overlay.png|link=Digital rights management (DRM)#Disc check|Dongle check (the dongle must be connected in order to play)]]</div>[[Uses DRM::Dongle| ]]{{#vardefine:DRM|Dongle}}[[{{#var:store}} DRM::Dongle| ]]
 
  |dongle = <div class="svg-25 svg-icon drm-dongle">[[File:Icon overlay.png|link=Digital rights management (DRM)#Disc check|Dongle check (the dongle must be connected in order to play)]]</div>[[Uses DRM::Dongle| ]]{{#vardefine:DRM|Dongle}}[[{{#var:store}} DRM::Dongle| ]]
  |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| ]]</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:{{#var:store property value}} DRM|{{#var:DRM}},{{#var:{{#var:store property value}} DRM}}}}{{#vardefine:DRM|}}</includeonly><noinclude>{{documentation}}</noinclude>
 
}}{{#vardefine:{{#var:store property value}} DRM|{{#var:DRM}},{{#var:{{#var:store property value}} DRM}}}}{{#vardefine:DRM|}}</includeonly><noinclude>{{documentation}}</noinclude>

Revision as of 02:26, 19 September 2021

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