Template:MainPage/GameEntry: Difference between revisions

From VR Wiki
No edit summary
No edit summary
 
Line 95: Line 95:
{{#ifexpr:{{{freeplus|0}}}|<div class="corner freeplus">FREE+</div>|}}
{{#ifexpr:{{{freeplus|0}}}|<div class="corner freeplus">FREE+</div>|}}
{{#if:{{{price|}}}|<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}}}|<span class="supports desktop"></span>}}{{#ifexpr:{{{fbt|0}}}|<span class="supports fbt"></span>}}</div>{{#ifexpr:{{{index|0}}}|<span class="supports index"></span>}}{{#ifexpr:{{{quest|0}}}|<span class="supports quest"></span>}}{{#ifexpr:{{{vive|0}}}|<span class="supports vive"></span>}}{{#ifexpr:{{{wmr|0}}}|<span class="supports wmr"></span>}}|}}
{{#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" title="Supports desktop"></span>}}{{#ifexpr:{{{fbt|0}}}|<span class="supports fbt" title="Supports Full-Body Tracking"></span>}}{{#ifexpr:{{{index|0}}}|<span class="supports index" title="Supports Valve Index"></span>}}{{#ifexpr:{{{quest|0}}}|<span class="supports quest" title="Supports Meta Quest/Oculus"></span>}}{{#ifexpr:{{{vive|0}}}|<span class="supports vive" title="Supports HTC Vive"></span>}}{{#ifexpr:{{{wmr|0}}}|<span class="supports wmr" title="Supports Windows Mixed Reality"></span>}}</div>|}}
</div>
</div>

Latest revision as of 10:21, 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