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

Difference between revisions of "Template:Video"

From PCGamingWiki, the wiki about fixing PC games
m (set vsync parameter to "unnecessary" for validation)
m (redirected AA glossary page link to the Glossary:Anti-aliasing (AA)#Forcing anti-aliasing subsection)
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#vardefine:section|Video_settings}}<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-settings-video">
+
<includeonly>{{#vardefine:section|Video_settings}}<!--
 +
-->{{#ifeq:{{#var:VR}}|true|{{ii}} This game requires a virtual reality headset (see [[#VR support|VR support]] for details).}}
 +
<div class="container-pcgwikitable"><table class="pcgwikitable template-infotable" id="table-settings-video">
 
<tr class="template-infotable-head table-settings-video-head-row">
 
<tr class="template-infotable-head table-settings-video-head-row">
 
<th scope="col" style="width: 230px;" class="table-settings-video-head-parameter">Graphics feature</th>
 
<th scope="col" style="width: 230px;" class="table-settings-video-head-parameter">Graphics feature</th>
Line 10: Line 12:
 
</tr>
 
</tr>
  
 +
{{#switch: {{#var:VR}},{{{widescreen resolution|}}}{{{widescreen resolution notes|}}} | true, | true,false | true,unknown = | #default=
 
<!-- Widescreen support -->
 
<!-- Widescreen support -->
 
<tr class="template-infotable-body table-settings-video-body-row">
 
<tr class="template-infotable-body table-settings-video-body-row">
Line 17: Line 20:
 
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{widescreen resolution notes|}}}</td>
 
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{widescreen resolution notes|}}}</td>
 
</tr>
 
</tr>
 +
}}
  
 +
{{#switch: {{#var:VR}},{{{multimonitor|}}}{{{multimonitor notes|}}} | true, | true,false | true,unknown = | #default=
 
<!-- Multi-monitor support -->
 
<!-- Multi-monitor support -->
 
<tr class="template-infotable-body table-settings-video-body-row">
 
<tr class="template-infotable-body table-settings-video-body-row">
Line 25: Line 30:
 
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{multimonitor notes|}}}</td>
 
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{multimonitor notes|}}}</td>
 
</tr>
 
</tr>
 +
}}
  
 +
{{#switch: {{#var:VR}},{{{ultrawidescreen|}}}{{{ultrawidescreen notes|}}} | true, | true,false | true,unknown = | #default=
 
<!-- Ultra-widescreen support -->
 
<!-- Ultra-widescreen support -->
 
<tr class="template-infotable-body table-settings-video-body-row">
 
<tr class="template-infotable-body table-settings-video-body-row">
Line 33: Line 40:
 
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{ultrawidescreen notes|}}}</td>
 
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{ultrawidescreen notes|}}}</td>
 
</tr>
 
</tr>
 +
}}
  
 +
{{#switch: {{#var:VR}},{{{4k ultra hd|}}}{{{4k ultra hd notes|}}} | true, | true,false | true,unknown = | #default=
 
<!-- 4K Ultra HD support -->
 
<!-- 4K Ultra HD support -->
 
<tr class="template-infotable-body table-settings-video-body-row">
 
<tr class="template-infotable-body table-settings-video-body-row">
Line 41: Line 50:
 
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{4k ultra hd notes|}}}</td>
 
{{#if: {{{wsgf link|}}} | <td class="table-settings-video-body-notes"> | <td colspan="2" class="table-settings-video-body-notes"> }} {{{4k ultra hd notes|}}}</td>
 
</tr>
 
</tr>
 +
}}
  
 +
{{#switch: {{#var:VR}},{{{fov|}}}{{{fov notes|}}} | true, | true,false | true,unknown = | #default=
 
<!-- Field of view -->
 
<!-- Field of view -->
 
<tr class="template-infotable-body table-settings-video-body-row">
 
<tr class="template-infotable-body table-settings-video-body-row">
Line 48: Line 59:
 
<td colspan="2" class="table-settings-video-body-notes">{{{fov notes|}}}</td>
 
<td colspan="2" class="table-settings-video-body-notes">{{{fov notes|}}}</td>
 
</tr>
 
</tr>
 +
}}
  
 +
{{#switch: {{#var:VR}},{{{windowed|}}}{{{windowed notes|}}} | true, | true,false | true,unknown = | #default=
 
<!-- Windowed mode -->
 
<!-- Windowed mode -->
 
<tr class="template-infotable-body table-settings-video-body-row">
 
<tr class="template-infotable-body table-settings-video-body-row">
Line 55: Line 68:
 
<td colspan="2" class="table-settings-video-body-notes">{{#if: {{{windowed notes|}}} | {{{windowed notes|}}} | {{#ifeq: {{{windowed|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] toggle with'' {{key|Alt|Enter}} ''(see the [[Glossary:Windowed|glossary page]] for other workarounds).'' | ''See the [[Glossary:Windowed|glossary page]] for potential workarounds.'' }}}}}}</td>
 
<td colspan="2" class="table-settings-video-body-notes">{{#if: {{{windowed notes|}}} | {{{windowed notes|}}} | {{#ifeq: {{{windowed|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] toggle with'' {{key|Alt|Enter}} ''(see the [[Glossary:Windowed|glossary page]] for other workarounds).'' | ''See the [[Glossary:Windowed|glossary page]] for potential workarounds.'' }}}}}}</td>
 
</tr>
 
</tr>
 +
}}
  
 +
{{#switch: {{#var:VR}},{{{borderless windowed|}}}{{{borderless windowed notes|}}} | true, | true,false | true,unknown = | #default=
 
<!-- Borderless fullscreen mode -->
 
<!-- Borderless fullscreen mode -->
 
<tr class="template-infotable-body table-settings-video-body-row">
 
<tr class="template-infotable-body table-settings-video-body-row">
Line 69: Line 84:
 
}}</td>
 
}}</td>
 
</tr>
 
</tr>
 
+
}}
 
<!-- Anisotropic filtering -->
 
<!-- Anisotropic filtering -->
 
<tr class="template-infotable-body table-settings-video-body-row">
 
<tr class="template-infotable-body table-settings-video-body-row">
Line 81: Line 96:
 
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Anti-aliasing (AA)|Anti-aliasing (AA)]]</th>
 
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Anti-aliasing (AA)|Anti-aliasing (AA)]]</th>
 
<td class="table-settings-video-body-rating">{{Tickcross-a-na|{{{antialiasing|}}}|Anti-aliasing (AA)|{{{antialiasing notes|}}}}}</td>
 
<td class="table-settings-video-body-rating">{{Tickcross-a-na|{{{antialiasing|}}}|Anti-aliasing (AA)|{{{antialiasing notes|}}}}}</td>
<td colspan="2" class="table-settings-video-body-notes">{{#if: {{{antialiasing notes|}}} | {{{antialiasing notes|}}} | {{#ifeq: {{{antialiasing|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | | ''See the [[Glossary:Anti-aliasing (AA)|glossary page]] for potential workarounds.''}}}}}}</td>
+
<td colspan="2" class="table-settings-video-body-notes">{{#if: {{{antialiasing notes|}}} | {{{antialiasing notes|}}} | {{#ifeq: {{{antialiasing|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | | ''See the [[Glossary:Anti-aliasing (AA)#Forcing anti-aliasing|glossary page]] for potential workarounds.''}}}}}}</td>
 
</tr>
 
</tr>
  
Line 88: Line 103:
 
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Vertical sync (Vsync)|Vertical sync (Vsync)]]</th>
 
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:Vertical sync (Vsync)|Vertical sync (Vsync)]]</th>
 
<td class="table-settings-video-body-rating">{{Tickcross-a|{{{vsync}}}|Vertical sync (Vsync)|unnecessary}}</td>
 
<td class="table-settings-video-body-rating">{{Tickcross-a|{{{vsync}}}|Vertical sync (Vsync)|unnecessary}}</td>
<td colspan="2" class="table-settings-video-body-notes">{{#if: {{{vsync notes|}}} | {{{vsync notes|}}} | {{#ifeq: {{{vsync|}}} | false | {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] use an [[DOSBox#Unofficial builds|unofficial build]] (see the [[Glossary:Vertical sync (Vsync)|glossary page]] for other workarounds).'' | ''See the [[Glossary:Vertical sync (Vsync)|glossary page]] for potential workarounds.'' }}}}}}</td>
+
<td colspan="2" class="table-settings-video-body-notes">{{#if: {{{vsync notes|}}} | {{{vsync notes|}}} | {{#switch: {{{vsync|}}} | always on | false = {{#if: {{#var:DOS}}{{#var:PC booter}} | ''For [[DOSBox]] use an [[DOSBox#Unofficial builds|unofficial build]] (see the [[Glossary:Vertical sync (Vsync)|glossary page]] for other workarounds).'' | ''See the [[Glossary:Vertical sync (Vsync)|glossary page]] for potential workarounds.'' }}}}}}</td>
 
</tr>
 
</tr>
  
Line 111: Line 126:
 
</tr>
 
</tr>
 
}}
 
}}
 
+
{{#switch: {{#var:VR}},{{{hdr|}}}{{{hdr notes|}}} | true, | true,false | true,unknown = | #default=
 
<!-- HDR support -->
 
<!-- HDR support -->
 
{{#ifeq: {{{hdr|}}}{{{hdr notes|}}}{{#var:show HDR}} | unknown ||
 
{{#ifeq: {{{hdr|}}}{{{hdr notes|}}}{{#var:show HDR}} | unknown ||
Line 120: Line 135:
 
</tr>
 
</tr>
 
}}
 
}}
 
+
}}
 
<!-- Colour blind mode -->
 
<!-- Colour blind mode -->
 
{{#ifeq: {{{color blind|}}}{{{color blind notes|}}} | false ||
 
{{#ifeq: {{{color blind|}}}{{{color blind notes|}}} | false ||
Line 131: Line 146:
 
}}
 
}}
 
}}<!-- Hidden property
 
}}<!-- Hidden property
-->{{#ifeq:{{{widescreen resolution|}}}|false| {{#ifeq:{{{multimonitor|}}}{{{ultrawidescreen|}}}{{{4k ultra hd|}}}|falsefalsefalse||[[Category:Invalid template usage (Video settings)]]}} }}<!--
+
-->{{#ifeq:{{#var:VR}}|false| {{#ifeq:{{{widescreen resolution|}}}|false| {{#ifeq:{{{multimonitor|}}}{{{ultrawidescreen|}}}{{{4k ultra hd|}}}|falsefalsefalse||[[Category:Invalid template usage (Video settings)]]}} }} }}<!--
 
-->{{#if:{{#var:screenshots}}|{{#vardefine:Video settings screenshots|true}}{{#vardefine:screenshots|}}}}<!--
 
-->{{#if:{{#var:screenshots}}|{{#vardefine:Video settings screenshots|true}}{{#vardefine:screenshots|}}}}<!--
 
--></table></div></includeonly><!--
 
--></table></div></includeonly><!--

Revision as of 07:37, 7 December 2019

This template defines the table "Video_settings". This table has not been created yet.

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

This table is meant to contain all information relating to video settings and features. If a setting is hackable or requires additional notes, add the information below the table in a header like so:

===[[Glossary:Field of view (FOV)|Field of view (FOV)]]===
Fixbox here
...

and make note of it in the table in the following fashion See [[#Field of view (FOV)|Field of view (FOV)]].. Any smaller notes can and should be included directly in the table.

Below is a more thorough explanation of each of the possible arguments. Apart from the WSGF-related arguments, each can be appended with  notes to fill in the information in the Notes column.

All of the arguments may be set to: true, false, unknown, hackable and n/a (not applicable). Some rows will be however hidden from view in that case.

Arguments
  • wsgf link - link to the WSGF page.
  • widescreen wsgf award - WSGF award for widescreen support.
  • multimonitor wsgf award - WSGF award for multi-monitor support.
  • ultrawidescreen wsgf award - WSGF award for ultra-widescreen support.
  • 4k ultra hd wsgf award - WSGF award for 4K Ultra HD support.
  • widescreen resolution - whether the game can be played in a widescreen resolution.
  • multimonitor - whether the game can spread across multiple monitors.
  • ultrawidescreen - whether the game works in ultra-widescreen resolutions.
  • 4k ultra hd - whether the game works in 4K Ultra HD resolutions.
  • fov - whether the game has modifiable field of view (FOV).
  • windowed - whether the game has a Windowed mode.
  • borderless windowed - whether the game has the option to run, or can be run, in borderless fullscreen windowed mode.
  • anisotropic - whether the game has anisotropic filtering (AF). Only applies to 3D games.
  • antialiasing - whether the game has anti-aliasing (AA) support.
  • upscaling - whether the game has high-fidelity upscaling support.
  • vsync - whether the game has some form of vertical sync (Vsync).
  • 60 fps - whether the game supports 60 FPS.
  • 120 fps - whether the game supports 120+ FPS.
  • hdr - whether the game supports High dynamic range (HDR).
  • ray tracing - whether the game implements ray tracing.
  • color blind - whether the game has a color blind mode.
Syntax
{{Video
|wsgf link                  = 
|widescreen wsgf award      = 
|multimonitor wsgf award    = 
|ultrawidescreen wsgf award = 
|4k ultra hd wsgf award     = 
|widescreen resolution      = 
|widescreen resolution notes= 
|multimonitor               = 
|multimonitor notes         = 
|ultrawidescreen            = 
|ultrawidescreen notes      = 
|4k ultra hd                = 
|4k ultra hd notes          = 
|fov                        = 
|fov notes                  = 
|windowed                   = 
|windowed notes             = 
|borderless windowed        = 
|borderless windowed notes  = 
|anisotropic                = 
|anisotropic notes          = 
|antialiasing               = 
|antialiasing notes         = 
|upscaling                  = 
|upscaling tech             = 
|upscaling notes            = 
|vsync                      = 
|vsync notes                = 
|60 fps                     = 
|60 fps notes               = 
|120 fps                    = 
|120 fps notes              = 
|hdr                        = 
|hdr notes                  = 
|ray tracing                = 
|ray tracing notes          = 
|color blind                = 
|color blind notes          = 
}}
VR only titles

The following parameters are hidden automatically if the game is flagged as being a VR only title and the parameters are empty or set to false or unknown and their accompanied note is empty as well.

  • widescreen resolution
  • multimonitor
  • ultrawidescreen
  • 4k ultra hd
  • fov
  • windowed
  • borderless windowed
  • hdr