Template:MainPage/GameEntry: Difference between revisions

From VR Wiki
No edit summary
No edit summary
Line 28: Line 28:
</noinclude>
</noinclude>
<div class="mainpage-gamelist-tile" id="{{{tileid|tile-vrchat}}}">
<div class="mainpage-gamelist-tile" id="{{{tileid|tile-vrchat}}}">
<div class="title">[[{{{name|VRChat}}}]]</div>
[[{{{name|VRChat}}}]]
</div>
{{#if:{{{free|0}}}|<div class="corner free">FREE</div>|}}
{{#if:{{{freeplus|0}}}|<div class="corner freeplus">FREE+</div>|}}
{{#if:{{{price|0}}}|<div class="corner price">{{{price|}}}</div>|}}
{{#if:{{{desktop|0}}} or {{{index|0}}} or {{{quest|0}}} or {{{vive|0}}} or {{{wmr|0}}} or {{{fbt|0}}}|<div class="support">
{{#if:{{{desktop|0}}}|<span class="supports desktop"/>}}
{{#if:{{{index|0}}}|<span class="supports index"/>}}
{{#if:{{{vive|0}}}|<span class="supports vive"/>}}
{{#if:{{{wmr|0}}}|<span class="supports wmr"/>}}
{{#if:{{{fbt|0}}}|<span class="supports fbt"/>}}
</div>|}}

Revision as of 01:19, 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

VRChat

FREE
FREE+