Template:Infobox game: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
mNo edit summary
(Edited the template to hide the Rating row if no ESRB or PEGI ratings apply, so Pikmin Bloom doesn't appear as unrated. (hopefully I didn't break the template))
Line 9: Line 9:
{{!}} {{{jname}}} }}
{{!}} {{{jname}}} }}
|-
|-
! style="width: 30%;" | Rating
{{#if:{{{esrb|}}}{{{pegi|}}} | ! Rating
| {{#if:{{{esrb|}}}{{{pegi|}}} | [[File:ESRB {{{esrb}}}.png|ESRB rating: {{{esrb}}}|x32px]] [[File:PEGI {{{pegi}}}.png|PEGI rating: {{{pegi}}}|x32px]] | Unrated}}
{{!}} {{#if:{{{esrb|}}}{{{pegi|}}} | [[File:ESRB {{{esrb}}}.png|ESRB rating: {{{esrb}}}|x32px]] [[File:PEGI {{{pegi}}}.png|PEGI rating: {{{pegi}}}|x32px]]}} }}
|-
|-
! Console
! style="width: 30%;" | Console
| {{#if:{{{console|}}}|{{#ifexist:{{{console}}}|[[{{{console}}}]]|{{{console}}}}}{{#if:{{{console2|}}}|, {{#ifexist:{{{console2}}}|[[{{{console2}}}]]|{{{console2}}}}}}}|TBA}}
| {{#if:{{{console|}}}|{{#ifexist:{{{console}}}|[[{{{console}}}]]|{{{console}}}}}{{#if:{{{console2|}}}|, {{#ifexist:{{{console2}}}|[[{{{console2}}}]]|{{{console2}}}}}}}|TBA}}
|-
|-

Revision as of 17:06, November 26, 2021

{{{name}}}
Console TBA
Developer Nintendo EAD
Publisher TBA
Genre {{{genre}}}
Players {{{players}}}
Release date
Japan N/A
North America N/A
Europe N/A
Australia N/A
South Korea N/A

Info

Place this on top of game articles. This creates an information box with data about the game.

Articles with this template are automatically categorized under Category:Games or Category:Re-releases, as per the "rereleaseof" parameter.

Parameters

Parameter Mandatory Default Detailed description
name Yes Name of the game.
image No Name of the cover image file, with extension.
size No 250px Size of the image.
caption No Caption for the image, if needed.
jname No Japanese name.
esrb No ESRB rating.
pegi No PEGI rating.
console No TBA Primary console the game is played on, without a link.
console2 No Secondary console the game is played on, without a link.
developer No {{w|Nintendo EAD}} Game's developer, with a link.
publisher No TBA Game's publisher(s), with links.
genre Yes Game's genre.
players Yes Number of players that can play. If different game modes have different player numbers, list all possible combinations in different lines. e.g. Single-player (story mode)<br>2-player co-op (Challenge Mode)<br>2-player versus (2-Player Battle)
savesize No Size of the saved game.
predecessor No Game's predecessor, remember to link manually.
sequel No Game's sequel, remember to link manually.
rerelease No The game's re-release, remember to link manually.
rereleaseof No What this game is a re-release of, remember to link manually. It's important to leave it blank if it's not a re-release.
jp No N/A Japanese release date.
na No N/A North American release date.
eu No N/A European release date.
au No N/A Australian release date.
ko No N/A South Korean release date.
nocat No To make the infobox not categorize the article, give this parameter a value like "y".

Skeleton

{{infobox game
|name        = 
|image       = 
|size        = 
|caption     = 
|jname       = 
|esrb        = 
|pegi        = 
|console     = 
|console2    = 
|developer   = 
|publisher   = 
|genre       = 
|players     = 
|savesize    = 
|predecessor = 
|sequel      = 
|rerelease   = 
|rereleaseof = 
|jp          = 
|na          = 
|eu          = 
|au          = 
|ko          = 
|nocat       = 
}}