Jump to content

Template:Infobox game

From BarkWiki
Revision as of 17:05, 25 August 2025 by templates>Fandyllic (Protected "Template:Infobox game": deter vandalism ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite)))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

{{#ifeq: BarkWiki|Templates Wiki||

Your wiki got a version of Template:Documentation that is only relevant to Templates Wiki! Click here to revert it. For a documentation template you can use on your wiki, see Template:Documentation (copy) on Templates Wiki.

}}

Template information, documentation, and installation instructions.
Expand the below text for usage and other information.

{{#if: ||

Template Documentation:
Note: The template above might be broken without the parameters; while not ideal and often not necessary, this is common.
{{#if:
  | Edit this template for the documentation| {{#ifexist: Template:Infobox game/doc
    | View, edit, or check the history of this documentation.
    |Create documentation for this template.
    }}
   }} (How does this work?)
Editors can experiment with this template's sandbox and testcases.

{{#if:

 | {{{content}}}
| {{#ifexist: Template:Infobox game/doc | {{#if: |{{{{{1}}}}} |
Description
This template is used to create a game infobox.
Syntax
Type {{#if: |Template parameter limit reached! (help)|

{{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:infobox game |{{#if: |:}}infobox game]]{{#if: |
}}{{#if:... | |...{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }} somewhere, with parameters as shown below.

Usage

{{Infobox game
| name         =
| image        =
| caption      =
| developer    =
| publisher    =
| release      =
| platform     =
| genre        =
| modes        =
| media        =
| input        =
| requirements =
}}

Preview


Click here to refresh the preview

{{Infobox game
| name         = Some Game
| image        = Placeholder item.png
| caption      = Item from Some Game
| developer    = Some Developer
| publisher    = Some Publisher
| release      = 10 December 2017
| platform     = Web
| genre        = Some genre
| modes        = Some mode
| media        = Internet
| input        = Keyboard
| requirements = Computer
}}
}}
   | Documentation does not exist. Create it at [{{fullurl:
             {{#if:|{{{1}}}|Template:Infobox game/doc}}
             |action=edit&preload=Template:Documentation/preload&summary=Create+documentation+for+%5B%5BTemplate%3AInfobox+game%5D%5D {{#if:|{{{1}}}|Template:Infobox game/doc}}] .
 }}

}} }}


}}

Installation Instructions
{{#ifexist: Template:Infobox game/install
    |: View installation Instructions.}}
{{#ifeq:{{{SPW}}}|is not relevant
   |
   | :Export this template, then import to install it.
Use edit summary: Copied from [[w:c:templates:Template:Infobox game]] to properly attribute this template's editors.}}{{#if:|:This template is compatible with vanilla MediaWiki.}}
{{#switch:
   | starter = This template is created by default after March 11, 2020. It should be in your wiki. 

| is not relevant

| is not relevant to =
File:Warning.svg
This template should not be copied, because it is probably not relevant to wikis other than Templates Wiki. You probably don't want to copy this template to your wiki. {{#if:|For a similar template intended to be copied, see [[Template:{{{SPW-link}}}]].}}{{#ifeq: BarkWiki
       | Templates Wiki
       | 
     }}
  }}

{{#if:

   |[[de:{{{de}}}]]
   |
  }}{{#if:
   |[[es:{{{es}}}]]
   |
  }}{{#if:
   |[[fr:{{{fr}}}]]
   |
  }}{{#if:
   |[[it:{{{it}}}]]
   |
  }}{{#if:
   |[[ja:{{{ja}}}]]
   |
  }}{{#if:
   |[[ko:{{{ko}}}]]
   |
  }}{{#if:
   |[[nl:{{{nl}}}]]
   |
  }}{{#if:
   |[[pt:{{{pt}}}]]
   |
  }}{{#if:
   |[[tr:{{{tr}}}]]
   |
  }}{{#if:
   |[[zh:{{{zh}}}]]
   |
   }}

{{#ifeq: {{{SPW}}}|is not relevant | |{{#if: infinity

 | The above message will be enough for most cases; if there are additional instructions, you can see them below.
Dependencies
Templates
  • {{#if: |Template parameter limit reached! (help)|

{{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:template |{{#if: |:}}template]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }}

  • {{#if: |Template parameter limit reached! (help)|

{{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:template |{{#if: |:}}template]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }}

  • {{#if: |Template parameter limit reached! (help)|

{{#switch: | plain =

| pre =
 
| code = 
| #default = 
}}{{{{#if:  | {{{prefix}}}: |}}[[{{#if: |:}}Template:code |{{#if: |:}}code]]{{#if: |
}}{{#if: | |{{{2}}}{{#if: |
}}
}}{{ #if: | |{{{3}}}{{#if: |
}}
}}{{ #if: | |{{{4}}}{{#if: |
}}
}}{{ #if: | |{{{5}}}{{#if: |
}}
}}{{ #if: | |{{{6}}}{{#if: |
}}
}}{{ #if: | |{{{7}}}{{#if: |
}}
}}{{ #if: | |{{{8}}}{{#if: |
}}
}}{{ #if: | |{{{9}}}{{#if: |
}}
}}{{ #if: | |{{{10}}}{{#if: |
}}
}}{{ #if: | |{{{11}}}{{#if: |
}}
}}{{ #if: | |{{{12}}}{{#if: |
}}
}}{{ #if: | |{{{13}}}{{#if: |
}}
}}{{ #if: | |{{{14}}}{{#if: |
}}
}}{{ #if: | |{{{15}}}{{#if: |
}}
}}{{ #if: | |{{{16}}}{{#if: |
}}
}}{{ #if: | |{{{17}}}{{#if: |
}}
}}{{ #if: | |{{{18}}}{{#if: |
}}
}}{{ #if: | |{{{19}}}{{#if: |
}}
}}{{ #if: | |{{{20}}}{{#if: |
}}
}}{{ #if: | |{{{21}}}{{#if: |
}}
}}{{ #if: | |{{{22}}}{{#if: |
}}
}}{{ #if: | |{{{23}}}{{#if: |
}}
}}{{ #if: | |{{{24}}}{{#if: |
}}
}}{{ #if: | |{{{25}}}{{#if: |
}}
}}{{ #if: | |{{{26}}}{{#if: |
}}
}}{{ #if: | |{{{27}}}{{#if: |
}}
}}{{ #if: | |{{{28}}}{{#if: |
}}
}}{{ #if: | |{{{29}}}{{#if: |
}}
}}{{ #if: | |{{{30}}}{{#if: |
}}
}}{{ #if: | |{{{31}}}{{#if: |
}}
}}}}{{#switch: | pre =

| plain = | #default = }} }}

CSS
Installation
After you copy x, you need to change the following code:
...
{{Documentation}}
{{CODE}} <-- Remove Code
<div>...
Notes
  • A does not work in b
  • You might need to do c for this to work.
 | :There is no additional installation instructions for this template. If there is any, you may create it at Template:Infobox game/install.

}} }}