Template:MainPage/GameEntry: Difference between revisions

From VR Wiki
Created page with "<noinclude> <templatedata> { "params": { "name": { "label": "Game Name", "description": "Name of the Game", "example": "VRChat", "type": "wiki-page-name", "required": true }, "icon": { "label": "Tile Background", "description": "Logo or Steam Tile for tile background image", "example": "https://...", "type": "wiki-file-name", "required": true } }, "description": "Beginning of Game List on Main Page", "format": "inline" } </templa..."
 
No edit summary
Line 13: Line 13:
"label": "Tile Background",
"label": "Tile Background",
"description": "Logo or Steam Tile for tile background image",
"description": "Logo or Steam Tile for tile background image",
"example": "https://...",
"example": "https://vrwiki.nexisonline.net/w/images/6/6d/VRChatTile.png",
"type": "wiki-file-name",
"type": "url",
"required": true
"required": true
}
}
Line 23: Line 23:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
<div class="mainpage-gamelist-tile" style="background-image:url('{{{icon|https://VRChatTile.png}}}')">
<div class="mainpage-gamelist-tile" style="background-image:url('{{{icon|https://vrwiki.nexisonline.net/w/images/6/6d/VRChatTile.png}}}')">
<div class="title">[[{{{name|VRChat}}}]]</div>
<div class="title">[[{{{name|VRChat}}}]]</div>
</div>
</div>

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

Logo or Steam Tile for tile background image

Example
https://vrwiki.nexisonline.net/w/images/6/6d/VRChatTile.png
URLrequired