Template:Infobox Game2/Documentation: Difference between revisions

Template page
(Created Template:Infobox Game2/Documentation)
 
No edit summary
 
Line 78: Line 78:


== Example ==
== Example ==
```wiki
<pre>
{{Game Infobox
{{Game Infobox
  | gamename    = Marvel vs. Capcom 2
  | gamename    = Marvel vs. Capcom 2
Line 97: Line 97:
  | community    = [https://discord.gg/mvc2 MvC2 Discord]
  | community    = [https://discord.gg/mvc2 MvC2 Discord]
}}
}}
</pre>

Latest revision as of 21:39, 16 April 2025

Usage

This infobox template is designed for displaying consistent game information across pages on Supercombo.gg. It supports custom image sizing, alignment, and multiple entries for fields such as developers, publishers, platforms, and community resources.

Place the template at the top of a game's article page.

Syntax

{{Game Infobox
 | gamename      = 
 | abbreviation  = 
 | image         = 
 | imagesize     = 
 | imagealign    = 
 | float         = 
 | version       = 
 | version2      = 
 | ...
 | developer     = 
 | developer2    = 
 | ...
 | publisher     = 
 | publisher2    = 
 | ...
 | system        = 
 | system2       = 
 | ...
 | release       = 
 | release2      = 
 | ...
 | website       = 
 | website2      = 
 | ...
 | netcode       = 
 | netcode2      = 
 | ...
 | resources     = 
 | resources2    = 
 | ...
 | community     = 
 | community2    = 
 | ...
 | extra         = 
}}

Parameters

gamename
Title of the game.
abbreviation
Optional short name (e.g. acronym) that displays under the game name.
image
Filename of the game logo or relevant image (no `File:` prefix needed).
imagesize
(Optional) Size of the image, e.g. `300px`, `200px`. Default: `300px`.
imagealign
(Optional) Alignment of the image. Accepts `left`, `center`, `right`, `none`. Default: `center`.
float
(Optional) Controls the infobox position relative to text. Use `left`, `right`, or `none`. Default: `right`.

Multi-row Fields

You can add up to 9 entries for each of these fields: - version - developer - publisher - system (platforms) - release (release dates) - website (official links) - netcode (online play technologies) - resources (player guides, wiki pages, etc.) - community (social channels, Discords, forums, etc.)

Use `version2`, `version3`, etc., to list multiple entries.

extra
Optional wikitext or table rows to add additional content to the bottom of the infobox.

Example

{{Game Infobox
 | gamename     = Marvel vs. Capcom 2
 | abbreviation = MvC2
 | image        = MvC2_Logo.png
 | imagesize    = 250px
 | imagealign   = right
 | float        = left
 | version      = Dreamcast
 | version2     = PS2
 | developer    = Capcom
 | publisher    = Capcom
 | system       = Dreamcast
 | release      = March 30, 2000
 | website      = https://www.capcom.com/mvc2
 | netcode      = GGPO (community mod)
 | resources    = [[MvC2 Wiki Guide]]
 | community    = [https://discord.gg/mvc2 MvC2 Discord]
}}