Template:MainPage/GameEntry: Difference between revisions

From VR Wiki
No edit summary
No edit summary
Line 94: Line 94:
{{#ifexpr:{{{free|0}}}|<div class="corner free">FREE</div>|}}
{{#ifexpr:{{{free|0}}}|<div class="corner free">FREE</div>|}}
{{#ifexpr:{{{freeplus|0}}}|<div class="corner freeplus">FREE+</div>|}}
{{#ifexpr:{{{freeplus|0}}}|<div class="corner freeplus">FREE+</div>|}}
{{#ifexpr:{{{price|0}}}|<div class="corner price">{{{price|}}}</div>|}}
{{#if:{{{price|}}}|<div class="corner price">{{{price|}}}</div>|}}
{{#ifexpr:{{{desktop|0}}} or {{{index|0}}} or {{{quest|0}}} or {{{vive|0}}} or {{{wmr|0}}} or {{{fbt|0}}}|<div class="support">
{{#ifexpr:{{{desktop|0}}} or {{{index|0}}} or {{{quest|0}}} or {{{vive|0}}} or {{{wmr|0}}} or {{{fbt|0}}}|<div class="support">
{{#ifexpr:{{{desktop|0}}}|<span class="supports desktop"/>}}
{{#ifexpr:{{{desktop|0}}}|<span class="supports desktop"/>}}

Revision as of 01:48, 24 June 2024

Beginning of Game List on Main Page

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Game Namename

Name of the Game

Example
VRChat
Page namerequired
Tile IDtileid

CSS ID for this particular tile

Example
tile-vrchat
Stringrequired
Free Productfree

True if product is free

Default
0
Booleanoptional
Freemiumfreeplus

True if product is a freemium product

Default
0
Booleanoptional
Price (USD)price

Price on Steam, if product is not free nor freemium

Example
$5.99
Stringoptional
Supports Desktop Usedesktop

Whether the game supports play with keyboard and mouse

Default
0
Booleanoptional
Supports Valve Indexindex

Whether the game supports Valve Index

Default
0
Booleanoptional
Supports Questquest

Whether the game supports the Meta Quest ecosystem

Default
0
Booleanoptional
Supports Vivevive

Whether the game supports HTC Vive headsets

Default
0
Booleanoptional
Supports Windows Mixed Realitywmr

Whether the game supports Windows Mixed Reality headsets

Default
0
Booleanoptional
Supports Full Body Trackingfbt

Whether the game supports Full Body Tracking

Default
0
Booleanoptional