Template:Infobox game: Difference between revisions

From Pizza Tower Wiki
Content added Content deleted
m (implemented infoboxwrapper class to have new styling)
(+ CSS parser function)
Line 1: Line 1:
<includeonly><div class="infoboxWrapper"><infobox>
<includeonly>{{#css:MediaWiki:Infobox.css}}<div class="infoboxWrapper"><infobox>
<title source="name"><default>{{PAGENAME}}</default></title>
<title source="name"><default>{{PAGENAME}}</default></title>
<image source="image"><default>Placeholder.png</default>
<image source="image"><default>Placeholder.png</default>

Revision as of 07:34, 25 September 2023

How do I use this thing?

This is documentation about a Template. Portions of this template may not display properly without certain values provided.

Edit this documentation | About the Documentation template

Description
This infobox must be used on article about a video game.
Syntax
Copy the following boilerplate code and fill it up with values:
{{Infobox game
|name =
|image =
|caption =
|developer =
|publisher =
|release =
|platform =
|genre =
|modes =
|media =
|input =
|requirements =
}}
  • name is an optional parameter, be default it will use name of the page
  • if image is not provided, infobox will use a placeholder image


Usage example
Syntax
{{Infobox game
|name = Pizza Tower
|image = 
|caption = Cover art
|release = 10 December 2017
|platform = Windows
|genre = Platformer
|modes = Single player
|media = Internet
|input = Keyboard, Controller
|requirements = Computer}}
Results: