Difference between revisions of "Template:Warnings"

From PCGamingWiki, the wiki about fixing PC games
(reworded SafeDisc warning for clarity (while workarounds exist, any SafeDisc game is unplayable by default))
(added fix to ensure English warnings should only appear once even on older pages)
 
Line 1: Line 1:
 
<includeonly>{{#switch: {{{1|}}}
 
<includeonly>{{#switch: {{{1|}}}
 
|Always online={{ii}} This game requires a [[Digital rights management (DRM)#Always online|constant internet connection]] for all game modes.
 
|Always online={{ii}} This game requires a [[Digital rights management (DRM)#Always online|constant internet connection]] for all game modes.
|English hackable={{ii}} This game is only playable in English with a fan translation (see [[#Localizations|Localizations]] for details and other supported languages).
+
|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}}}}
|English false={{ii}} This game is not playable in English (see [[#Localizations|Localizations]] for supported languages).
+
|English false={{#if:{{#var:English warned}}||{{ii}} This game is not playable in English (see [[#Localizations|Localizations]] for supported languages).{{#vardefine:English warned|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}}}}
 
|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}}}}
 
|GameSpy={{--}} [[GameSpy]] online services have been shut down (see [[#Network|Network]] for solutions).{{#vardefine:GameSpy|true}}
 
|GameSpy={{--}} [[GameSpy]] online services have been shut down (see [[#Network|Network]] for solutions).{{#vardefine:GameSpy|true}}

Latest 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.