Difference between revisions of "Template:Video"
(removed Semantic MediaWiki property tagging and template parameters (migrated to Cargo)) |
m (Added auto-populated notes for UE5) |
||
(28 intermediate revisions by 2 users not shown) | |||
Line 7: | Line 7: | ||
|Game data/config | |Game data/config | ||
|Save game cloud syncing={{#vardefine:section|Video}} | |Save game cloud syncing={{#vardefine:section|Video}} | ||
− | |#Default = [[Category:Invalid section order]] | + | |#Default = {{#ifeq:{{NAMESPACE}}||[[Category:Invalid section order]]}} |
}}{{#vardefine:Video|present}}<!-- | }}{{#vardefine:Video|present}}<!-- | ||
-->{{#ifeq:{{#var:VR}}|true|{{ii}} This game requires a virtual reality headset (see [[#VR support|VR support]] for details).}} | -->{{#ifeq:{{#var:VR}}|true|{{ii}} This game requires a virtual reality headset (see [[#VR support|VR support]] for details).}} | ||
Line 107: | Line 107: | ||
<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> | <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> | ||
+ | |||
+ | <!-- High-fidelity upscaling --> | ||
+ | {{#if:{{{upscaling|}}}| | ||
+ | {{#ifeq:{{{upscaling|}}}|unknown|| | ||
+ | <tr class="template-infotable-body table-settings-video-body-row"> | ||
+ | <th scope="row" class="table-settings-video-body-parameter">[[Glossary:High-fidelity upscaling|High-fidelity upscaling]]</th> | ||
+ | <td class="table-settings-video-body-rating">{{Tickcross-a-na|{{{upscaling|}}}||{{{upscaling notes|}}}}}</td> | ||
+ | <td colspan="2" class="table-settings-video-body-notes">{{#arraymaptemplate:{{{upscaling tech|}}}|Video/upscaling|,}}{{#if: {{{upscaling tech|}}} | <br>}}{{#if: {{{upscaling notes|}}} | {{{upscaling notes|}}} | {{#ifeq: {{{upscaling|}}} | false | {{#if: {{#var:Windows}}{{#var:OS X}}{{#var:Linux}} | ''See the [[Glossary:High-fidelity_upscaling#Force_upscaling_in_unsupported_games|glossary page]] for potential workarounds.'' | }}}}}}</td> | ||
+ | </tr> | ||
+ | }} | ||
+ | }} | ||
<!-- Vsync --> | <!-- Vsync --> | ||
Line 135: | Line 146: | ||
</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,OpenGL_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">{{{hdr notes|}}}</td> | + | <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}} | {{#ifeq:{{#var:Unreal Engine 5|false}}|true|''See the [[Engine:Unreal Engine 5#High dynamic range (HDR)|engine page]] to force native HDR output, or the [[Glossary:High dynamic range (HDR)#Enable HDR output in unsupported games|glossary page]] for other alternatives.''|{{#ifeq:{{#var:Unreal Engine 4|false}}|true|''See the [[Engine:Unreal Engine 4#High dynamic range (HDR)|engine page]] to force native HDR output, or the [[Glossary:High dynamic range (HDR)#Enable HDR output in unsupported games|glossary page]] for other alternatives.''|''See the [[Glossary:High dynamic range (HDR)#Enable HDR output in unsupported games|glossary page]] for potential alternatives.''}} }} }} }}}}</td> |
</tr> | </tr> | ||
}} | }} | ||
Line 148: | Line 167: | ||
{{#switch: {{{ray tracing|}}}{{{ray tracing notes|}}} | | unknown = | #default= | {{#switch: {{{ray tracing|}}}{{{ray tracing notes|}}} | | unknown = | #default= | ||
<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"><abbr title="Game implements ray tracing">Ray tracing</abbr></th> | + | <th scope="row" class="table-settings-video-body-parameter"><abbr title="Game implements ray tracing">[[Glossary:Ray tracing (RT)|Ray tracing (RT)]]</abbr></th> |
− | <td class="table-settings-video-body-rating">{{Tickcross-a|{{{ray tracing|}}}||{{{ray tracing notes|}}}}}</td> | + | <td class="table-settings-video-body-rating">{{Tickcross-a-na|{{{ray tracing|}}}||{{{ray tracing notes|}}}}}</td> |
<td colspan="2" class="table-settings-video-body-notes">{{{ray tracing notes|}}}</td> | <td colspan="2" class="table-settings-video-body-notes">{{{ray tracing notes|}}}</td> | ||
</tr> | </tr> | ||
Line 165: | Line 184: | ||
-->{{#ifeq:{{#var:VR}}|false| {{#ifeq:{{{widescreen resolution|}}}|false| {{#ifeq:{{{multimonitor|}}}{{{ultrawidescreen|}}}{{{4k ultra hd|}}}|falsefalsefalse||[[Category:Invalid template usage (Video)]]}} }} }}<!-- | -->{{#ifeq:{{#var:VR}}|false| {{#ifeq:{{{widescreen resolution|}}}|false| {{#ifeq:{{{multimonitor|}}}{{{ultrawidescreen|}}}{{{4k ultra hd|}}}|falsefalsefalse||[[Category:Invalid template usage (Video)]]}} }} }}<!-- | ||
-->{{#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><!-- |
+ | -->{{#ifeq:{{#var:Unreal Engine 5|false}}|true|{{mm}} The game engine may allow for manual configuration of the game via its variables. See the [[Engine:Unreal Engine 5|Unreal Engine 5]] page for more details.}}<!-- | ||
+ | -->{{#ifeq:{{#var:Unreal Engine 4|false}}|true|{{mm}} The game engine may allow for manual configuration of the game via its variables. See the [[Engine:Unreal Engine 4|Unreal Engine 4]] page for more details.}}<!-- | ||
+ | -->{{#ifeq:{{#var:Unity|false}}|true|{{mm}} The game engine may allow for manual configuration of the game via its variables. See the [[Engine:Unity|Unity]] page for more details.}}<!-- | ||
+ | --></includeonly><!-- | ||
--><noinclude>{{#cargo_declare: | --><noinclude>{{#cargo_declare: | ||
_table=Video | _table=Video | ||
Line 182: | Line 205: | ||
|Anisotropic_filtering=String | |Anisotropic_filtering=String | ||
|Antialiasing=String | |Antialiasing=String | ||
+ | |Upscaling=List (,) of String | ||
|Vsync=String | |Vsync=String | ||
|60_FPS=String | |60_FPS=String | ||
Line 204: | Line 228: | ||
|Anisotropic_filtering={{{anisotropic|}}} | |Anisotropic_filtering={{{anisotropic|}}} | ||
|Antialiasing={{{antialiasing|}}} | |Antialiasing={{{antialiasing|}}} | ||
+ | |Upscaling={{#var:upscaling tech|}} | ||
|Vsync={{{vsync|}}} | |Vsync={{{vsync|}}} | ||
|60_FPS={{{60 fps|}}} | |60_FPS={{{60 fps|}}} |
Latest revision as of 06:10, 7 December 2023
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