Difference between revisions of "Template:Availability/DRM"

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 1: Line 1:
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}
 
<includeonly>{{#switch: {{lc:{{{1|}}}}}
  |battle.net=<div class="svg-25 svg-icon store-battlenet">[[File:Icon overlay.png|link=Battle.net]][[{{#var:store}} DRM::Battle.net| ]][[Uses DRM::Battle.net| ]]{{#vardefine:DRM|Battle.net}}</div>
+
  |battle.net=<div class="svg-25 svg-icon store-battlenet">[[File:Icon overlay.png|link=Battle.net]]{{#vardefine:DRM|Battle.net}}</div>
 
  |bethesda
 
  |bethesda
  |bethesda.net=<div class="svg-25 svg-icon store-bethesda">[[File:Icon overlay.png|link=Bethesda.net|Bethesda.net Launcher]][[{{#var:store}} DRM::Bethesda.net| ]][[Uses DRM::Bethesda.net| ]]{{#vardefine:DRM|Bethesda.net}}</div>
+
  |bethesda.net=<div class="svg-25 svg-icon store-bethesda">[[File:Icon overlay.png|link=Bethesda.net|Bethesda.net Launcher]]{{#vardefine:DRM|Bethesda.net}}</div>
  |discord=<div class="svg-25 svg-icon store-discord">[[File:Icon overlay.png|link=Store:Discord|Discord]][[{{#var:store}} DRM::Discord| ]][[Uses DRM::Discord| ]]{{#vardefine:DRM|Discord}}</div>
+
  |discord=<div class="svg-25 svg-icon store-discord">[[File:Icon overlay.png|link=Store:Discord|Discord]]{{#vardefine:DRM|Discord}}</div>
 
  |eos
 
  |eos
 
  |egs
 
  |egs
 
  |epic games store
 
  |epic games store
  |epic games launcher=<div class="svg-25 svg-icon store-epicgames">[[File:Icon overlay.png|link=Epic Games Store|Epic Games Launcher]][[{{#var:store}} DRM::Epic Games Launcher| ]][[Uses DRM::Epic Games Launcher| ]]{{#vardefine:DRM|Epic Games Launcher}}</div>{{#vardefine:Epic Games Launcher|true}}{{#vardefine:cloud|needed}}
+
  |epic games launcher=<div class="svg-25 svg-icon store-epicgames">[[File:Icon overlay.png|link=Epic Games Store|Epic Games Launcher]]{{#vardefine:DRM|Epic Games Launcher}}</div>{{#vardefine:Epic Games Launcher|true}}{{#vardefine:cloud|needed}}
  |gfwl=<div class="svg-25 svg-icon store-gfwl">[[File:Icon overlay.png|link=Games for Windows - LIVE]][[{{#var:store}} DRM::Games for Windows - LIVE| ]][[Uses DRM::Games for Windows - LIVE| ]]{{#vardefine:DRM|Games for Windows - LIVE}}</div>
+
  |gfwl=<div class="svg-25 svg-icon store-gfwl">[[File:Icon overlay.png|link=Games for Windows - LIVE]]{{#vardefine:DRM|Games for Windows - LIVE}}</div>
 
  |gog.com
 
  |gog.com
  |gog=<div class="svg-25 svg-icon store-gogcom">[[File:Icon overlay.png|link=GOG.com|GOG.com key]][[{{#var:store}} DRM::GOG.com| ]][[Uses DRM::GOG.com| ]]{{#vardefine:DRM|GOG.com}}</div>
+
  |gog=<div class="svg-25 svg-icon store-gogcom">[[File:Icon overlay.png|link=GOG.com|GOG.com key]]{{#vardefine:DRM|GOG.com}}</div>
  |gog galaxy=<div class="svg-25 svg-icon store-gogcom">[[File:Icon overlay.png|link=GOG Galaxy|GOG Galaxy client required to play]][[{{#var:store}} DRM::GOG Galaxy| ]][[Uses DRM::GOG Galaxy| ]]{{#vardefine:DRM|GOG Galaxy}}</div>
+
  |gog galaxy=<div class="svg-25 svg-icon store-gogcom">[[File:Icon overlay.png|link=GOG Galaxy|GOG Galaxy client required to play]]{{#vardefine:DRM|GOG Galaxy}}</div>
  |macapp=<div class="svg-25 svg-icon store-mas">[[File:Icon overlay.png|link=Mac App Store]][[{{#var:store}} DRM::Mac App Store| ]][[Uses DRM::Mac App Store| ]]{{#vardefine:DRM|Mac App Store}}</div>
+
  |macapp=<div class="svg-25 svg-icon store-mas">[[File:Icon overlay.png|link=Mac App Store]]{{#vardefine:DRM|Mac App Store}}</div>
  |oculus=<div class="svg-25 svg-icon store-oculus">[[File:Icon overlay.png|link=Oculus Store]][[{{#var:store}} DRM::Oculus Store| ]][[Uses DRM::Oculus Store| ]]{{#vardefine:DRM|Oculus Store}}</div>
+
  |oculus=<div class="svg-25 svg-icon store-oculus">[[File:Icon overlay.png|link=Oculus Store]]{{#vardefine:DRM|Oculus Store}}</div>
 
  |origin
 
  |origin
  |ea desktop=<div class="svg-25 svg-icon store-origin">[[File:Icon overlay.png|link=Store:Origin|Origin]][[{{#var:store}} DRM::Origin| ]][[Uses DRM::Origin| ]]{{#vardefine:DRM|EA Desktop}}</div>{{#vardefine:Origin|true}}{{#vardefine:cloud|needed}}
+
  |ea desktop=<div class="svg-25 svg-icon store-origin">[[File:Icon overlay.png|link=Store:Origin|Origin]]{{#vardefine:DRM|EA Desktop}}</div>{{#vardefine:Origin|true}}{{#vardefine:cloud|needed}}
  |playfire=[[File:Availability Table Icons - Playfire Client.png|25x25px|link=Store:Green Man Gaming|Playfire Client]][[{{#var:store}} DRM::Playfire Client| ]][[Uses DRM::Playfire Client| ]]{{#vardefine:DRM|Playfire Client}}
+
  |playfire=[[File:Availability Table Icons - Playfire Client.png|25x25px|link=Store:Green Man Gaming|Playfire Client]]{{#vardefine:DRM|Playfire Client}}
  |rockstar games launcher=<div class="svg-25 svg-icon store-rockstargames">[[File:Icon overlay.png|link=Rockstar Games Launcher]][[{{#var:store}} DRM::Rockstar Games Launcher| ]][[Uses DRM::Rockstar Games Launcher| ]]{{#vardefine:DRM|Rockstar Games Launcher}}</div>
+
  |rockstar games launcher=<div class="svg-25 svg-icon store-rockstargames">[[File:Icon overlay.png|link=Rockstar Games Launcher]]{{#vardefine:DRM|Rockstar Games Launcher}}</div>
  |steam=<div class="svg-25 svg-icon store-steam">[[File:Icon overlay.png|link=Steam]][[{{#var:store}} DRM::Steam| ]][[Uses DRM::Steam| ]]{{#vardefine:DRM|Steam}}</div>
+
  |steam=<div class="svg-25 svg-icon store-steam">[[File:Icon overlay.png|link=Steam]]{{#vardefine:DRM|Steam}}</div>
  |twitch=[[File:Availability Table Icons - Twitch Desktop App.png|25x25px|link=Twitch|Twitch Desktop App]][[{{#var:store}} DRM::Twitch Desktop App| ]][[Uses DRM::Twitch Desktop App| ]]{{#vardefine:DRM|Twitch Desktop App}}
+
  |twitch=[[File:Availability Table Icons - Twitch Desktop App.png|25x25px|link=Twitch|Twitch Desktop App]]{{#vardefine:DRM|Twitch Desktop App}}
 
  |uplay
 
  |uplay
  |ubisoft connect=<div class="svg-25 svg-icon store-uplay">[[File:Icon overlay.png|link=Ubisoft Connect]][[{{#var:store}} DRM::Ubisoft Connect| ]][[Uses DRM::Ubisoft Connect| ]]{{#vardefine:DRM|Ubisoft Connect}}</div>{{#vardefine:Ubisoft Connect|true}}{{#vardefine:cloud|needed}}
+
  |ubisoft connect=<div class="svg-25 svg-icon store-uplay">[[File:Icon overlay.png|link=Ubisoft Connect]]{{#vardefine:DRM|Ubisoft Connect}}</div>{{#vardefine:Ubisoft Connect|true}}{{#vardefine:cloud|needed}}
  |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]]{{#vardefine:DRM|Microsoft Store}}</div>
 
  |drm-free*
 
  |drm-free*
  |drm-free={{#vardefine:DRM|DRM-free}}[[{{#var:store}} DRM::DRM-free| ]]{{#switch: {{lc:{{#var:store}}}}
+
  |drm-free={{#vardefine: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)]]</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)]]</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)]]</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)]]</div>
 
|origin
 
|origin
|ea desktop=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Origin|DRM-free after installation through Origin client (notes may include more details)]][[Origin DRM::DRM-free| ]][[EA Desktop DRM::DRM-free| ]]</div>{{#vardefine:Origin|true}}{{#vardefine:cloud|needed}}
+
|ea desktop=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Origin|DRM-free after installation through Origin client (notes may include more details)]]</div>{{#vardefine:Origin|true}}{{#vardefine:cloud|needed}}
|microsoft store=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Store:Microsoft Store|DRM-free after installation through Microsoft Store client (notes may include more details)]][[Microsoft Store DRM::DRM-free| ]]</div>
+
|microsoft store=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Store:Microsoft Store|DRM-free after installation through Microsoft Store client (notes may include more details)]]</div>
|rockstar games launcher=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Rockstar Games Launcher|DRM-free after installation through Rockstar Games Launcher (notes may include more details)]][[Rockstar Games Launcher::DRM-free| ]]</div>
+
|rockstar games launcher=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Rockstar Games Launcher|DRM-free after installation through Rockstar Games Launcher (notes may include more details)]]</div>
 
|steam-sub
 
|steam-sub
 
|steam-bundle
 
|steam-bundle
|steam=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Steam|DRM-free after installation through Steam client (notes may include more details)]][[Steam DRM::DRM-free| ]]</div>
+
|steam=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Steam|DRM-free after installation through Steam client (notes may include more details)]]</div>
|twitch=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Twitch|DRM-free after installation through Twitch Desktop App (notes may include more details)]][[Twitch DRM::DRM-free| ]]</div>
+
|twitch=<div class="svg-25 svg-icon drm-drmfree-asterisk" title="DRM-free">[[File:Icon overlay.png|link=Twitch|DRM-free after installation through Twitch Desktop App (notes may include more details)]]</div>
 
|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)]]</div>
|#Default=<!-- START OF DRM-FREE* SPECIAL CASE -->{{#vardefine:DRM|DRM-free}}[[{{#var:store}} DRM::DRM-free| ]]{{#switch: {{lc:{{{1|}}}}}
+
|#Default=<!-- START OF DRM-FREE* SPECIAL CASE -->{{#vardefine: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| ]]</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)]]</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>
+
|drm-free=<div class="svg-25 svg-icon drm-drmfree" title="DRM-free">[[File:Icon overlay.png|link=Glossary:DRM-free|DRM-free]]</div>
 
}}<!-- END OF DRM-FREE* SPECIAL CASE -->
 
}}<!-- END OF DRM-FREE* SPECIAL CASE -->
 
}}
 
}}
Line 47: Line 47:
 
  |dvd
 
  |dvd
 
  |disc check
 
  |disc check
  |disc = <div class="svg-25 svg-icon drm-disc" title="Disc check">[[File:Icon overlay.png|link=Glossary:Disc check|Disc check (requires the CD/DVD in the drive to play)]]</div>[[Uses DRM::Disc check| ]]{{#vardefine:DRM|Disc check}}[[{{#var:store}} DRM::Disc check| ]]
+
  |disc = <div class="svg-25 svg-icon drm-disc" title="Disc check">[[File:Icon overlay.png|link=Glossary:Disc check|Disc check (requires the CD/DVD in the drive to play)]]</div>{{#vardefine:DRM|Disc check}}
  |key = <div class="svg-25 svg-icon drm-cdkey" title="CD-key">[[File:Icon overlay.png|link=Glossary:CD-key|CD key]]</div>[[Uses DRM::CD key| ]]{{#vardefine:DRM|CD key}}[[{{#var:store}} DRM::CD key| ]]
+
  |key = <div class="svg-25 svg-icon drm-cdkey" title="CD-key">[[File:Icon overlay.png|link=Glossary:CD-key|CD key]]</div>{{#vardefine:DRM|CD key}}
  |account = <div class="svg-25 svg-icon drm-account" title="Account based">[[File:Icon overlay.png|link=Glossary:Account-based|Account]]</div>[[Uses DRM::Account| ]]{{#vardefine:DRM|Account}}[[{{#var:store}} DRM::Account| ]]
+
  |account = <div class="svg-25 svg-icon drm-account" title="Account based">[[File:Icon overlay.png|link=Glossary:Account-based|Account]]</div>{{#vardefine:DRM|Account}}
  |activation = <div class="svg-25 svg-icon drm-activation">[[File:Icon overlay.png|link=Digital rights management (DRM)#Online activation|Requires online activation]]</div>[[Uses DRM::Online activation| ]]{{#vardefine:DRM|Online activation}}[[{{#var:store}} DRM::Online activation| ]]
+
  |activation = <div class="svg-25 svg-icon drm-activation">[[File:Icon overlay.png|link=Digital rights management (DRM)#Online activation|Requires online activation]]</div>{{#vardefine:DRM|Online activation}}
 
  |activation limit
 
  |activation limit
  |actlimit = [[File:DRM-installationlimit.png|25px|link=Digital rights management (DRM)#Activation limit|Can only be used x times]][[Uses DRM::Activation limit| ]]{{#vardefine:DRM|Activation limit}}[[{{#var:store}} DRM::Activation limit| ]]
+
  |actlimit = [[File:DRM-installationlimit.png|25px|link=Digital rights management (DRM)#Activation limit|Can only be used x times]]{{#vardefine:DRM|Activation limit}}
  |online = <div class="svg-25 svg-icon drm-alwaysonline" title="Always online">[[File:Icon overlay.png|link=Glossary:Always online|Always online (requires a constant internet connection to play)]]</div>[[Uses DRM::Always online| ]]{{#vardefine:DRM|Always online}}[[{{#var:store}} DRM::Always online| ]]
+
  |online = <div class="svg-25 svg-icon drm-alwaysonline" title="Always online">[[File:Icon overlay.png|link=Glossary:Always online|Always online (requires a constant internet connection to play)]]</div>{{#vardefine:DRM|Always online}}
 
  |key disk
 
  |key disk
 
  |floppy check
 
  |floppy check
  |floppy = <div class="svg-25 svg-icon drm-floppy">[[File:Icon overlay.png|link=Digital rights management (DRM)#Disc check|Floppy disk check (requires the original floppy in the drive to play)]]</div>[[Uses DRM::Floppy check| ]]{{#vardefine:DRM|Floppy check}}[[{{#var:store}} DRM::Floppy check| ]]
+
  |floppy = <div class="svg-25 svg-icon drm-floppy">[[File:Icon overlay.png|link=Digital rights management (DRM)#Disc check|Floppy disk check (requires the original floppy in the drive to play)]]</div>{{#vardefine:DRM|Floppy check}}
  |physical = <div class="svg-25 svg-icon drm-physical">[[File:Icon overlay.png|link=Digital rights management (DRM)#Physical|Prompts for answers from manual, code wheel, etc.]]</div>[[Uses DRM::Physical| ]]{{#vardefine:DRM|Physical}}[[{{#var:store}} DRM::Physical| ]]
+
  |physical = <div class="svg-25 svg-icon drm-physical">[[File:Icon overlay.png|link=Digital rights management (DRM)#Physical|Prompts for answers from manual, code wheel, etc.]]</div>{{#vardefine:DRM|Physical}}
  |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>{{#vardefine: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>{{#vardefine: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| ]]{{#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]]{{#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|{{#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>
 
}}{{#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>

Latest revision as of 10:02, 18 October 2021

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