Difference between revisions of "Template:Warnings"

From PCGamingWiki, the wiki about fixing PC games
(added ref name to Mantle support warning (combines ref with Template:API use))
(updated VR warning handling for Cargo)
Line 1: Line 1:
 
<includeonly><p>'''Warnings'''<!--
 
<includeonly><p>'''Warnings'''<!--
-->{{#ifeq:{{#var:VR}}|true|{{ii}} This game requires a virtual reality headset (see [[#VR support|VR support]] for details).}}<!--
+
-->{{#if:{{#var:VR}}|{{ii}} This game requires a virtual reality headset (see [[#VR support|VR support]] for details).}}<!--
 
-->{{#if:{{#show: {{PAGENAME}} | ?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.}}<!--
 
-->{{#arraymaptemplate:{{#var:DRM}}|Warnings/DRM|,|}}<!--
 
-->{{#arraymaptemplate:{{#var:DRM}}|Warnings/DRM|,|}}<!--

Revision as of 20:17, 9 October 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.