Difference between revisions of "Template:Video"
m (added automated HDR note when set to false for D3D11 and D3D12 games) |
(extended HDR retrofit glossary note to OpenGL, DX9, DX10 and made it auto-populate on games with HDR set to false or unknown) |
||
Line 135: | Line 135: | ||
</tr> | </tr> | ||
}} | }} | ||
+ | <!-- HDR support --> | ||
{{#switch: {{#var:VR}},{{{hdr|}}}{{{hdr notes|}}} | true, | true,false | true,unknown = | #default= | {{#switch: {{#var:VR}},{{{hdr|}}}{{{hdr notes|}}} | true, | true,false | true,unknown = | #default= | ||
− | + | {{#if: {{#cargo_query:tables=API|where= | |
+ | (_pageID = {{PAGEID}} AND OpenGL_versions HOLDS LIKE '%') OR | ||
+ | (_pageID = {{PAGEID}} AND Direct3D_versions HOLDS LIKE '9%') OR | ||
+ | (_pageID = {{PAGEID}} AND Direct3D_versions HOLDS LIKE '10%') OR | ||
+ | (_pageID = {{PAGEID}} AND Direct3D_versions HOLDS LIKE '11%') OR | ||
+ | (_pageID = {{PAGEID}} AND Direct3D_versions HOLDS LIKE '12%') | ||
+ | |fields=Direct3D_versions|no html|default=}} | ||
+ | | {{#vardefine:show HDR|true}}{{#vardefine:retrofit HDR|true}} }} | ||
{{#ifeq: {{{hdr|}}}{{{hdr notes|}}}{{#var:show HDR}} | unknown || | {{#ifeq: {{{hdr|}}}{{{hdr notes|}}}{{#var:show HDR}} | unknown || | ||
<tr class="template-infotable-body table-settings-video-body-row"> | <tr class="template-infotable-body table-settings-video-body-row"> | ||
<th scope="row" class="table-settings-video-body-parameter">[[Glossary:High dynamic range (HDR)|<abbr title="Game supports expanded color space on HDR-compatible displays">High dynamic range display (HDR)</abbr>]]</th> | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:High dynamic range (HDR)|<abbr title="Game supports expanded color space on HDR-compatible displays">High dynamic range display (HDR)</abbr>]]</th> | ||
− | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{hdr|}}}||{{{hdr notes|}}}}}</td> | + | <td class="table-settings-video-body-rating">{{Tickcross-a|{{#if: {{{hdr|}}} | {{{hdr|}}} | unknown }}||{{{hdr notes|}}}}}</td> |
− | <td colspan="2" class="table-settings-video-body-notes">{{#if: {{{hdr notes|}}} | {{{hdr notes|}}} | {{# | + | <td colspan="2" class="table-settings-video-body-notes">{{#if: {{{hdr notes|}}} | {{{hdr notes|}}} | {{#switch: {{{hdr|}}} | limited | true | always on | hackable = | #default = {{#if: {{#var:retrofit HDR}} | ''See the [[Glossary:High dynamic range (HDR)#Enable HDR output in unsupported games|glossary page]] for potential alternatives.'' }} }}}}</td> |
</tr> | </tr> | ||
}} | }} |
Revision as of 08:37, 23 May 2022
This template defines the table "Video". View table.
- 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