Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.

Difference between revisions of "Template:Warnings"

From PCGamingWiki, the wiki about fixing PC games
(added warning for 32-bit-only macOS apps)
(added fix to ensure English warnings should only appear once even on older pages)
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>'''Warnings'''<!--
+
<includeonly>{{#switch: {{{1|}}}
-->{{#ifeq:{{#var:VR}}|true|{{ii}} This game requires a virtual reality headset (see [[#VR support|VR support]] for details).}}<!--
+
|Always online={{ii}} This game requires a [[Digital rights management (DRM)#Always online|constant internet connection]] for all game modes.
-->{{#if:{{#show: {{PAGENAME}} | ?Always online}}|{{ii}} This game requires a [[Digital rights management (DRM)#Always online|constant internet connection]] for all game modes.}}<!--
+
|English hackable={{#if:{{#var:English warned}}||{{ii}} This game is only playable in English with a fan translation (see [[#Localizations|Localizations]] for details and other supported languages).{{#vardefine:English warned|true}}}}
-->{{#arraymaptemplate:{{#var:DRM}}|Warnings/DRM|,|}}<!--
+
|English false={{#if:{{#var:English warned}}||{{ii}} This game is not playable in English (see [[#Localizations|Localizations]] for supported languages).{{#vardefine:English warned|true}}}}
-->{{#if:{{#show: {{PAGENAME}} | ?GameSpy}}|{{--}} [[GameSpy]] online services have been shut down (see [[#Network|Network]] for solutions).{{#vardefine:GameSpy|true}}}}<!--
+
|GFWL={{#if:{{#var:GFWL warned}}||{{ii}} For [[Games for Windows - LIVE]] on Windows 8 or later, install the latest [https://community.pcgamingwiki.com/files/file/1012-microsoft-games-for-windows-live/ Games for Windows - LIVE software].{{#vardefine:GFWL warned|true}}}}
-->{{#if:{{#show: {{PAGENAME}} | ?Supported language}}|{{#if: {{#show: {{PAGENAME}} | ?English status}}||{{ii}} This game is not playable in English (see [[#Localizations|Localizations]] for supported languages).}}}}<!--
+
|GameSpy={{--}} [[GameSpy]] online services have been shut down (see [[#Network|Network]] for solutions).{{#vardefine:GameSpy|true}}
-->{{#if:{{#show: {{PAGENAME}} | ?Mantle support}}|{{ii}} Mantle graphics API option requires an AMD video card with a driver version earlier than Radeon Software Adrenalin 2019 Edition 19.5.1.<ref>{{Refsnip|url=https://www.amd.com/en/support/kb/release-notes/rn-rad-win-19-5-1|title=AMD - Radeon Software Adrenalin 2019 Edition 19.5.1 Highlights|date=2019-05-15|snippet=Support for AMD Mantle API Technology has been discontinued starting with Radeon Software Adrenalin 2019 Edition 19.5.1. Users who wish to continue to use AMD Mantle API Technology may do so with prior supported Radeon Software releases.}}</ref>}}<!--
+
|macOS PowerPC only={{--}} The Mac OS X version of this game ''does not work'' on Mac OS X Lion (version 10.7) or later due to the removal of support for PowerPC apps.
-->{{#if:{{#var:OS X}}|{{#ifeq:{{#show: {{PAGENAME}} | ?MacOS 64-bit app}}|false|{{--}} The macOS (OS X) version of this game ''does not work'' on macOS Catalina (10.15) or later due to the removal of support for 32-bit-only apps.}}}}<!--
+
|macOS 64-bit false={{--}} The macOS (OS X) version of this game ''does not work'' on macOS Catalina (version 10.15) or later due to the removal of support for 32-bit-only apps.
-->{{#if:{{#var:Windows 3.x}}|{{#if:{{#var:Windows native}}||{{ii}} The Windows 3.x version of this game ''does not work'' on 64-bit versions of Windows (see [[#Availability|Availability]] for affected versions).}}}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
|macOS 64-bit hackable={{ii}} The macOS (OS X) version of this game needs a fix to work on macOS Catalina (version 10.15) or later (see [[#API|API]] for details).
 +
|Mantle={{ii}} Mantle graphics API option requires an AMD video card with a driver version earlier than Radeon Software Adrenalin 2019 Edition 19.5.1.<ref name="Mantle support">{{Refsnip|url=https://www.amd.com/en/support/kb/release-notes/rn-rad-win-19-5-1|title=AMD - Radeon Software Adrenalin 2019 Edition 19.5.1 Highlights|date=2019-05-15|snippet=Support for AMD Mantle API Technology has been discontinued starting with Radeon Software Adrenalin 2019 Edition 19.5.1. Users who wish to continue to use AMD Mantle API Technology may do so with prior supported Radeon Software releases.}}</ref>
 +
|SafeDisc = {{#if:{{#var:SafeDisc warned}}||{{#ifeq:{{#var:available digitally}}|false|{{--}} [[Digital rights management (DRM)#SafeDisc|SafeDisc]] retail [[Digital rights management (DRM)|<abbr title="Digital rights management (DRM)">DRM</abbr>]] ''does not work'' on Windows Vista and later (see [[#Availability|Availability]] for affected versions).}}{{#vardefine:SafeDisc warned|true}}}}
 +
|StarForce = {{#if:{{#var:StarForce warned}}||{{#ifeq:{{#var:available digitally}}|false|{{#if:{{#cargo_query:tables=StarForce|where=_pageID = {{PAGEID}} AND StarForce_compatible='false'|fields=StarForce_compatible|default=}}|{{--}} [[Digital rights management (DRM)#StarForce|StarForce]] [[Digital rights management (DRM)|<abbr title="Digital rights management (DRM)">DRM</abbr>]] for this game ''does not work'' on modern versions of Windows (see [[#Availability|Availability]] for affected versions).}}}}{{#vardefine:StarForce warned|true}}}}
 +
|VR only={{ii}} This game requires a virtual reality headset (see [[#VR support|VR support]] for details).
 +
|Windows 3.x={{--}} The Windows 3.x version of this game ''does not work'' on 64-bit versions of Windows (see [[#Availability|Availability]] for affected versions).
 +
}}</includeonly><noinclude>{{Documentation}}</noinclude>

Revision as of 20:13, 20 November 2021

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

Notification template called by other templates (not to be added manually). See the Editing guide for further details.