Template:MainPage/GameEntry: Difference between revisions

From VR Wiki
m Protected "Template:MainPage/GameEntry": High traffic page ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) [cascading]
No edit summary
Line 10: Line 10:
"required": true
"required": true
},
},
"icon": {
"tileid": {
"label": "Tile Background",
"label": "Tile ID",
"description": "Logo or Steam Tile for tile background image",
"description": "CSS ID for this particular tile",
"example": "https://vrwiki.nexisonline.net/w/images/6/6d/VRChatTile.png",
"example": "tile-vrchat",
"type": "url",
"type": "string",
"required": true
"required": true
}
}
},
},
"description": "Beginning of Game List on Main Page",
"description": "Beginning of Game List on Main Page",
"format": "inline"
"format": "inline",
"paramOrder": [
"name",
"tileid"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<div class="mainpage-gamelist-tile" style="background-image:url('{{{icon|https://vrwiki.nexisonline.net/w/images/6/6d/VRChatTile.png}}}')">
<div class="mainpage-gamelist-tile" id="{{{tileid|tile-vrchat}}}">
<div class="title">[[{{{name|VRChat}}}]]</div>
<div class="title">[[{{{name|VRChat}}}]]</div>
</div>
</div>

Revision as of 00:04, 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