Template:Infobox game: Difference between revisions
From Pikmin Fanon
No edit summary |
(→Skeleton: XD) |
||
(33 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" align="right" style="width: | {| class="infobox" align="right" style="width: 30em; background-color:#fff; font-size: 80%; text-align: left; border-style: solid; border-width: 2px; border-color: grey" | ||
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | | ! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | {{#if:{{{icon|}}} | | ||
| | {{{!}} style = "min-width:100%;" | ||
! | {{!}} style = "vertical-align: middle; padding-left: 32px;" {{!}} ''{{{name|{{PAGENAME}} }}}'' | ||
{{!}} style = "width: 32px;" {{!}} [[File:{{{icon|}}}|40px|The icon used to represent this game.]] | |||
{{!}}} | ''{{{name|{{PAGENAME}} }}}'' }} | |||
|- | |- | ||
! | {{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{!}}{{{size}}}}}]]|}} | ||
| | |||
|- | |- | ||
! | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
|- | |- | ||
! width=" | ! width="40%" style="background: #eef;" {{!}} Rating | ||
| | {{!}} {{{rating|Unknown}}} | ||
|- | |- | ||
! width=" | ! width="40%" style="background: #eef;" {{!}} Genre | ||
| | {{!}} {{{genre|N/A}}} | ||
|- | |- | ||
! width=" | ! width="40%" style="background: #eef;" {{!}} Platforms | ||
| width = " | {{!}} {{{platforms|Unknown}}} | ||
{{ | |- | ||
! width=" | ! width="40%" style="background: #eef;" {{!}} Media | ||
| width = " | {{!}} {{{media|N/A}}} | ||
{{ | |- | ||
! width=" | {{#if:{{{publisher|}}}|! width="40%" style="background: #eef;" {{!}} Publisher | ||
| | {{!}} {{{publisher|Unknown}}}|}} | ||
{{ | |- | ||
! width=" | {{#if:{{{release dates|}}}|! width="40%" style="background: #eef;" {{!}} Release dates | ||
| width = " | {{!}} {{{release dates|None}}}|}} | ||
{{ | |- | ||
! width=" | {{#if:{{{prequel|}}}|! width="40%" style="background: #eef;" {{!}} Prequel | ||
{{ | {{!}} {{{prequel|Unknown}}}|}} | ||
{{ | |- | ||
| | {{#if:{{{sequel|}}}|! width="40%" style="background: #eef;" {{!}} Sequel | ||
< | {{!}} {{{sequel|Unknown}}}|}} | ||
|- | |||
{{#if:{{{dlc|}}}|! width="40%" style="background: #eef;" {{!}} Downloadable content | |||
{{!}} {{{dlc|Unknown}}}|}} | |||
|- | |||
! width="40%" style="background: #eef;" {{!}} Creator | |||
{{!}} {{{creator|Unknown}}} | |||
|- | |||
{{#if:{{{collaborators|}}}|! width="40%" style="background: #eef;" {{!}} Collaborators | |||
{{!}} {{{collaborators|None}}}|}} | |||
|- | |||
|}{{#if:{{{nocat|}}}||<includeonly>[[Category:Games]]</includeonly>}}<noinclude> | |||
{{clear}} | |||
==Info== | |||
This template is to be used at the top of game pages. It places an information box on the top-right corner of the page. | |||
== | Pages with this template are automatically categorized in [[:Category:Games]]. | ||
< | |||
==Parameters== | |||
{| class = "wikitable" | |||
! Parameter || Mandatory || Default || Detailed description | |||
|rating | |- | ||
|genre | ! name | ||
| | | No || ''<nowiki>{{PAGENAME}}</nowiki>'' || If the name of the game is different from the title of the page, specify it here. | ||
|media | |- | ||
|publisher | ! image | ||
|release dates | | No || || Image name, extension included. | ||
|prequel | |- | ||
|sequel | ! size | ||
| No || || Image size. | |||
} | |- | ||
! caption | |||
| No || || Caption for the image, if needed. | |||
|- | |||
! icon | |||
| No || || If the game has an icon, specify its image here, extension included. | |||
|- | |||
! rating | |||
| '''Yes''' || Unknown || ESRB rating. | |||
|- | |||
! genre | |||
| '''Yes''' || N/A || Game's genre. | |||
|- | |||
! platforms | |||
| '''Yes''' || Unknown || Consoles the game is played on. | |||
|- | |||
! media | |||
| '''Yes''' || N/A || The form the game is in. Examples are optical disc, cartridge, or digital download. | |||
|- | |||
! publisher | |||
| No || Unknown || Who or what distributes the game. | |||
|- | |||
! release dates | |||
| No || None || The game's release dates, if any. | |||
|- | |||
! prequel | |||
| No || Unknown || The game's prequel. | |||
|- | |||
! sequel | |||
| No || Unknown || The game's sequel. | |||
|- | |||
! dlc | |||
| No || Unknown || Downloadable content the game has or the game it is for. | |||
|- | |||
! creator | |||
| '''Yes''' || Unknown || The game's creator. | |||
|- | |||
! collaborators | |||
| No || None || Who helped develop the game. | |||
|- | |||
! nocat | |||
| No || || Giving this a value like "y" makes the template not auto-categorize the game. | |||
|} | |||
==Skeleton== | |||
<pre>{{infobox game | |||
|name= | |||
|image= | |||
|size= | |||
|caption= | |||
|icon= | |||
|rating= | |||
|genre= | |||
|platforms= | |||
|media= | |||
|publisher= | |||
|release dates= | |||
|prequel= | |||
|sequel= | |||
|dlc= | |||
|creator= | |||
|collaborators= | |||
|nocat= | |||
}}</pre> | |||
[[Category:Infobox templates]]</noinclude> |
Latest revision as of 19:30, 2 May 2024
Infobox game | |
---|---|
Rating | Unknown |
Genre | N/A |
Platforms | Unknown |
Media | N/A |
Creator | Unknown |
Info
This template is to be used at the top of game pages. It places an information box on the top-right corner of the page.
Pages with this template are automatically categorized in Category:Games.
Parameters
Parameter | Mandatory | Default | Detailed description |
---|---|---|---|
name | No | {{PAGENAME}} | If the name of the game is different from the title of the page, specify it here. |
image | No | Image name, extension included. | |
size | No | Image size. | |
caption | No | Caption for the image, if needed. | |
icon | No | If the game has an icon, specify its image here, extension included. | |
rating | Yes | Unknown | ESRB rating. |
genre | Yes | N/A | Game's genre. |
platforms | Yes | Unknown | Consoles the game is played on. |
media | Yes | N/A | The form the game is in. Examples are optical disc, cartridge, or digital download. |
publisher | No | Unknown | Who or what distributes the game. |
release dates | No | None | The game's release dates, if any. |
prequel | No | Unknown | The game's prequel. |
sequel | No | Unknown | The game's sequel. |
dlc | No | Unknown | Downloadable content the game has or the game it is for. |
creator | Yes | Unknown | The game's creator. |
collaborators | No | None | Who helped develop the game. |
nocat | No | Giving this a value like "y" makes the template not auto-categorize the game. |
Skeleton
{{infobox game |name= |image= |size= |caption= |icon= |rating= |genre= |platforms= |media= |publisher= |release dates= |prequel= |sequel= |dlc= |creator= |collaborators= |nocat= }}