Template:Infobox game: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(you needed one of these)
 
m (Text replacement - "{{#if:{{{nocat|}}}||[[Category:" to "{{#if:{{{nocat|{{NAMESPACE}}}}}||[[Category:")
 
(51 intermediate revisions by 9 users not shown)
Line 1: Line 1:
{|class="infobox" align="right" style="width: 20em; font-size: 82%; text-align: left; border-style: solid; border-width: 1px; border-color: grey"
{| class="infobox"
! colspan="2" style="font-size: 160%; background: #ccf; text-align: center;" | {{{name|Pikmin}}}
! colspan="2" class="infoboxTitle" | ''{{{name}}}''
|-
|-
! colspan="2" style="background: #fff; text-align: center;" | [[File:{{{image|Pikmin1boxart.jpg}}}|{{{size|250px}}}]]
{{#if:{{{image|}}}|{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{image}}}|{{{size|250px}}}]]
{{!}}-
{{!}} colspan="2" align="center" {{!}} {{{caption|{{{name}}}}}} }}
|-
|-
! style="background: #e6e9ff;" | Japanese name
{{#if:{{{jname|}}} | ! Japanese name
| {{{jname}}}
{{!}} {{{jname}}} }}
|-
|-
! style="background: #e6e9ff;" | ESRB rating
{{#if:{{{esrb|}}}{{{pegi|}}} | ! Rating
| {{{rating|Unrated}}}
{{!}} {{#if:{{{esrb|}}} | [[File:ESRB {{{esrb}}}.png|ESRB rating: {{{esrb}}}|x32px]]}} {{#if:{{{pegi|}}} | [[File:PEGI {{{pegi}}}.png|PEGI rating: {{{pegi}}}|x32px]]}} }}
|-
|-
! style="background: #e6e9ff;" | Console
! style="width: 30%;" | Console
| [[{{{console}}}]]
| {{#if:{{{console|}}}|{{#ifexist:{{{console}}}|[[{{{console}}}]]|{{{console}}}}}{{#if:{{{console2|}}}|, {{#ifexist:{{{console2}}}|[[{{{console2}}}]]|{{{console2}}}}}}}|TBA}}
|-
|-
! style="background: #e6e9ff;" | Developer
! Developer
| [[{{{developer|Nintendo EAD}}}]]
| {{{developer|Unknown}}}
|-
|-
! style="background: #e6e9ff;" | Publisher
! Publisher
| [[{{{publisher|Nintendo}}}]]
| {{#if:{{{publisher|}}}|{{{publisher}}}|TBA}}
|-
|-
! style="background: #e6e9ff;" | Genre
! Genre
| {{{genre}}}{{#if:{{{prequel|}}}|
| {{{genre}}}
|-
! Players
| {{{players}}}
|-
{{#if:{{{savesize|}}}|! [[Saved game]] size
{{!}} {{{savesize}}} }}
|-
{{#if:{{{release|}}}|! Worldwide release date
{{!}} {{{release}}} |
! colspan="2" style="text-align: center;" {{!}} Release date
{{!}}-
{{!}}-
! style="background: #e6e9ff;" {{!}} Prequel
! Japan
{{!}} {{{prequel|Pikmin 0}}}}}{{#if:{{{sequel|}}}|
{{!}} {{{jp|N/A}}}
{{!}}-
{{!}}-
! style="background: #e6e9ff;" {{!}} Sequel
! North America
{{!}} {{{sequel|[[Pikmin 2]]}}}}}{{#if:{{{remake|}}}|
{{!}} {{{na|N/A}}}
{{!}}-
{{!}}-
! style="background: #e6e9ff;" {{!}} Remake
! Europe
{{!}} {{{remake|[[New Play Control! Pikmin]]}}}}}{{#if:{{{remakeof|}}}|
{{!}} {{{eu|N/A}}}
{{!}}-
{{!}}-
! style="background: #e6e9ff;" {{!}} Remake of
! Australia
{{!}} {{{remakeof|[[Pikmin (game)|Pikmin]]}}}}}
{{!}} {{{au|N/A}}}
{{!}}-
!  South Korea
{{!}} {{{ko|N/A}}}
}}
{{#if:{{{predecessor|}}}{{{successor|}}}{{{rereleaseof|}}}{{{rerelease|}}}|{{!}}-
! colspan="2" style="text-align: center;" {{!}} Related games}}
|-
|-
! colspan=2 style="background: #e6e9ff;" align=center | Release date
{{#if:{{{predecessor|}}}|! Predecessor
{{!}} ''{{{predecessor}}}''}}
|-
|-
! style="background: #e6e9ff;" | Japan
{{#if:{{{successor|}}}|! Successor
| {{{jp|N/A}}}
{{!}} ''{{{successor}}}''}}
|-
|-
! style="background: #e6e9ff;" | North America
{{#if:{{{rereleaseof|}}}|! Re-release of
| {{{na|N/A}}}
{{!}} ''{{{rereleaseof}}}''}}
|-
|-
! style="background: #e6e9ff;" | Europe
{{#if:{{{rerelease|}}}|! Re-release
| {{{eu|N/A}}}
{{!}} ''{{{rerelease}}}''}}
|}<includeonly>{{#if:{{{nocat|{{NAMESPACE}}}}}||[[Category:{{#if:{{{rereleaseof|}}}|Re-releases|Games}}]]}}</includeonly><noinclude>
 
{{clear}}
==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==
{| class = "wikitable"
! Parameter || Mandatory || Default || Detailed description
|-
|-
! style="background: #e6e9ff;" | Australia
! name
| {{{au|N/A}}}
| '''Yes''' ||  || Name of the game.
|}<includeonly>[[Category:Games|{{PAGENAME}}]]</includeonly><noinclude>
|-
[[Category:Infobox templates|{{BASEPAGENAME}}]]
! 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 || <nowiki>{{w|Nintendo EAD}}</nowiki> || 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. <code><nowiki>Single-player (story mode)<br>2-player co-op (Challenge Mode)<br>2-player versus (2-Player Battle)</nowiki></code>
|-
! savesize
| No ||  || Size of the [[saved game]].
|-
! predecessor
| No ||  || Game's predecessor, remember to link manually.
|-
! successor
| No ||  || Game's successor, 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.
|-
! release
| No ||  || Worldwide release date. Used instead of the region parameters when only one date is needed.
|-
! 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==
<pre>
{{infobox game
|name        =
|image      =
|size        =
|caption    =
|jname      =
|esrb        =
|pegi        =
|console    =
|console2    =
|developer  =
|publisher  =
|genre      =
|players    =
|savesize    =
|predecessor =
|successor  =
|rerelease  =
|rereleaseof =
|release    =
|jp          =
|na          =
|eu          =
|au          =
|ko          =
|nocat      =
}}
</pre>


==Use==
[[Category:Information boxes]]</noinclude>
<pre>{{infobox cave
|name=name of game
|image=image name with extension
|size=image size
|jname=Japanese name
|rating=ESRB rating
|console=console the game is played on (autolinks)
|developer=game's developer (autolinks)
|publisher=game's publisher (autolinks)
|genre=game's genre
|prequel=game's predecessor (optional; links manually)
|sequel=game's successor (optional; links manually)
|remake=remake of this game (optional; links manually)
|remakeof=game that this game is a remake of (optional; links manually)
|jp=Japanese release date
|na=North American release date
|eu=European release date
|au=Australian release date
}}</pre></noinclude>

Latest revision as of 14:02, June 27, 2024

{{{name}}}
Console TBA
Developer Unknown
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.
successor No Game's successor, 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.
release No Worldwide release date. Used instead of the region parameters when only one date is needed.
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 = 
|successor   = 
|rerelease   = 
|rereleaseof = 
|release     = 
|jp          = 
|na          = 
|eu          = 
|au          = 
|ko          = 
|nocat       = 
}}