Template:Infobox game: Difference between revisions

From Pikipedia, the Pikmin wiki
Jump to navigation Jump to search
(Nocat parameter.)
m (Text replacement - "{{#if:{{{nocat|}}}||[[Category:" to "{{#if:{{{nocat|{{NAMESPACE}}}}}||[[Category:")
 
(22 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{|class="infobox"
{| class="infobox"
! colspan="2" class="infoboxTitle" | ''{{{name}}}''
! colspan="2" class="infoboxTitle" | ''{{{name}}}''
|-
|-
{{#if:{{{image|}}}|{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{image}}}|{{{size|250px}}}]]
{{#if:{{{image|}}}|{{!}} colspan="2" style="text-align: center;" {{!}} [[File:{{{image}}}|{{{size|250px}}}]]
{{!}}-
{{!}}-
{{!}} colspan="2" align="center" {{!}} {{{caption|{{{name}}}}}}
{{!}} colspan="2" align="center" {{!}} {{{caption|{{{name}}}}}} }}
{{!}}-}}
|-
{{#if:{{{jname|}}} | ! Japanese name
{{#if:{{{jname|}}} | ! Japanese name
{{!}} {{{jname}}}
{{!}} {{{jname}}} }}
{{!}}-}}
! style="width: 30%;" | ESRB rating
| {{{rating|Unrated}}}
|-
|-
! Console
{{#if:{{{esrb|}}}{{{pegi|}}} | ! Rating
| {{#if:{{{console|}}}|[[{{{console}}}]]{{#if:{{{console2|}}}|, [[{{{console2}}}]]}}|TBA}}
{{!}} {{#if:{{{esrb|}}} | [[File:ESRB {{{esrb}}}.png|ESRB rating: {{{esrb}}}|x32px]]}} {{#if:{{{pegi|}}} | [[File:PEGI {{{pegi}}}.png|PEGI rating: {{{pegi}}}|x32px]]}} }}
|-
! style="width: 30%;" | Console
| {{#if:{{{console|}}}|{{#ifexist:{{{console}}}|[[{{{console}}}]]|{{{console}}}}}{{#if:{{{console2|}}}|, {{#ifexist:{{{console2}}}|[[{{{console2}}}]]|{{{console2}}}}}}}|TBA}}
|-
|-
! Developer
! Developer
| {{{developer|[[Nintendo EAD]]}}}
| {{{developer|Unknown}}}
|-
|-
!  Publisher
!  Publisher
| {{#if:{{{publisher|}}}|[[{{{publisher}}}]]|TBA}}
| {{#if:{{{publisher|}}}|{{{publisher}}}|TBA}}
|-
|-
!  Genre
!  Genre
Line 28: Line 28:
|-
|-
{{#if:{{{savesize|}}}|! [[Saved game]] size
{{#if:{{{savesize|}}}|! [[Saved game]] size
{{!}} {{{savesize}}}
{{!}} {{{savesize}}} }}
{{!}}-}}
! colspan="2" style="text-align: center;" | Release date
|-
|-
{{#if:{{{release|}}}|! Worldwide release date
{{!}} {{{release}}} |
! colspan="2" style="text-align: center;" {{!}} Release date
{{!}}-
!  Japan
!  Japan
| {{{jp|N/A}}}
{{!}} {{{jp|N/A}}}
{{!}}-
!  North America
{{!}} {{{na|N/A}}}
{{!}}-
!  Europe
{{!}} {{{eu|N/A}}}
{{!}}-
!  Australia
{{!}} {{{au|N/A}}}
{{!}}-
!  South Korea
{{!}} {{{ko|N/A}}}
}}
{{#if:{{{predecessor|}}}{{{successor|}}}{{{rereleaseof|}}}{{{rerelease|}}}|{{!}}-
! colspan="2" style="text-align: center;" {{!}} Related games}}
|-
|-
! North America
{{#if:{{{predecessor|}}}|! Predecessor
| {{{na|N/A}}}
{{!}} ''{{{predecessor}}}''}}
|-
|-
! Europe
{{#if:{{{successor|}}}|! Successor
| {{{eu|N/A}}}
{{!}} ''{{{successor}}}''}}
|-
|-
! Australia
{{#if:{{{rereleaseof|}}}|! Re-release of
| {{{au|N/A}}}
{{!}} ''{{{rereleaseof}}}''}}
|-
|-
! colspan="2" style="text-align: center;" | Related games {{#if:{{{predecessor|}}}|<br />
{{#if:{{{rerelease|}}}|! Re-release
{{!}}-
{{!}} ''{{{rerelease}}}''}}
! Predecessor
|}<includeonly>{{#if:{{{nocat|{{NAMESPACE}}}}}||[[Category:{{#if:{{{rereleaseof|}}}|Re-releases|Games}}]]}}</includeonly><noinclude>
{{!}} ''{{{predecessor}}}''}} {{#if:{{{sequel|}}}|<br />
{{!}}-
! Sequel
{{!}} ''{{{sequel}}}''}} {{#if:{{{remakeof|}}}|<br />
{{!}}-
! Remake of
{{!}} ''{{{remakeof}}}''}} {{#if:{{{remake|}}}|<br />
{{!}}-
! Remake
{{!}} ''{{{remake}}}''}}
|}<includeonly>{{#if:{{{nocat|}}}||[[Category:{{#if:{{{remakeof|}}}|Re-releases|Games}}]]}}</includeonly><noinclude>


{{clear}}
==Info==
==Info==
Place this on top of game articles. This creates an information box with data about the game.
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 "remakeof" parameter.
Articles with this template are automatically categorized under [[:Category:Games]] or [[:Category:Re-releases]], as per the "rereleaseof" parameter.


==Parameters==
==Parameters==
Line 83: Line 90:
| No ||  || Japanese name.
| No ||  || Japanese name.
|-
|-
! rating
! esrb
| No || Unrated || ESRB rating.
| No ||  || ESRB rating.
|-
! pegi
| No || || PEGI rating.
|-
|-
! console
! console
Line 93: Line 103:
|-
|-
! developer
! developer
| No || Nintendo EAD || Game's developer, without a link.
| No || <nowiki>{{w|Nintendo EAD}}</nowiki> || Game's developer, with a link.
|-
|-
! publisher
! publisher
| No || TBA || Game's publisher, without a link.
| No || TBA || Game's publisher(s), with links.
|-
|-
! genre
! genre
Line 110: Line 120:
| No ||  || Game's predecessor, remember to link manually.
| No ||  || Game's predecessor, remember to link manually.
|-
|-
! sequel
! successor
| No ||  || Game's sequel, remember to link manually.
| No ||  || Game's successor, remember to link manually.
|-
|-
! remake
! rerelease
| No ||  || The game's remake, remember to link manually.
| No ||  || The game's re-release, remember to link manually.
|-
|-
! remakeof
! rereleaseof
| No ||  || What this game is a remake of, remember to link manually. It's important to leave it blank if it's not a remake.
| 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
! jp
Line 130: Line 143:
! au
! au
| No || N/A || Australian release date.
| No || N/A || Australian release date.
|-
! ko
| No || N/A || South Korean release date.
|-
|-
! nocat
! nocat
Line 143: Line 159:
|caption    =  
|caption    =  
|jname      =  
|jname      =  
|rating      =  
|esrb        =
|pegi        =  
|console    =  
|console    =  
|console2    =  
|console2    =  
Line 152: Line 169:
|savesize    =  
|savesize    =  
|predecessor =  
|predecessor =  
|sequel      =  
|successor  =  
|remake      =  
|rerelease  =  
|remakeof    =  
|rereleaseof =
|release    =  
|jp          =  
|jp          =  
|na          =  
|na          =  
|eu          =  
|eu          =  
|au          =  
|au          =  
|ko          =
|nocat      =  
|nocat      =  
}}
}}
</pre>
</pre>


[[Category:Information boxes]]
[[Category:Information boxes]]</noinclude>
</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       = 
}}