Template:Infobox game: Difference between revisions
From Pikmin Fanon
m (Cheepy-Cheepy moved page Template:Infobox Game to Template:Infobox game over redirect) |
(Updated and cleaned up.) |
||
Line 1: | Line 1: | ||
{| class="infobox" align="right" style="width: 30em; font-size: 82%; text-align: left; border-style: solid; border-width: 2px; border-color: grey" | {| class="infobox" align="right" style="width: 30em; font-size: 82%; text-align: left; border-style: solid; border-width: 2px; border-color: grey" | ||
! colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{PAGENAME}}'' | ! class="infoboxTitle" colspan="2" style="font-size: 140%; background: #ccf; text-align: center;" | ''{{{name|{{PAGENAME}} }}}'' | ||
|- | |- | ||
! colspan="2" style="background: #fff; text-align: center | {{#if:{{{image|}}}|{{!}} colspan="2" style="background: #fff; text-align:center" {{!}} [[File:{{{image|}}}{{#if:{{{size|}}}|{{pipe}}{{{size}}}}}]]|}} | ||
|- | |- | ||
! | {{#if:{{{caption|}}}|{{!}} colspan="2" style="text-align:center" {{!}} {{{caption}}} }} | ||
|- | |- | ||
! width=" | ! width="40%" style="background: #eef;" {{pipe}} Rating | ||
{{!}} {{{rating|Unknown}}} | |||
|- | |- | ||
! width=" | ! width="40%" style="background: #eef;" {{pipe}} Genre | ||
{{!}} {{{genre|N/A}}} | |||
|- | |- | ||
! width=" | ! width="40%" style="background: #eef;" {{pipe}} Platforms | ||
{{!}} {{{platforms|Unknown}}} | |||
|- | |- | ||
! width=" | ! width="40%" style="background: #eef;" {{pipe}} Media | ||
{{!}} {{{media|N/A}}} | |||
|- | |- | ||
{{#if: {{{ | {{#if:{{{publisher|}}}|! width="40%" style="background: #eef;" {{pipe}} Publisher | ||
{{!}} {{{publisher|Unknown}}}|}} | |||
{{!}} {{{ | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{release dates|}}}|! width="40%" style="background: #eef;" {{pipe}} Release dates | ||
{{!}} {{{ | {{!}} {{{release dates|None}}}|}} | ||
|- | |- | ||
! width=" | {{#if:{{{prequel|}}}|! width="40%" style="background: #eef;" {{pipe}} Prequel | ||
{{!}} {{{prequel|Unknown}}}|}} | |||
|- | |- | ||
{{#if: {{{ | {{#if:{{{sequel|}}}|! width="40%" style="background: #eef;" {{pipe}} Sequel | ||
{{pipe}} width = " | {{!}} {{{sequel|Unknown}}}|}} | ||
|} | |- | ||
! width="40%" style="background: #eef;" {{pipe}} Creator | |||
< | {{!}} {{{creator|Unknown}}} | ||
|- | |||
{{#if:{{{collaborators|}}}|! width="40%" style="background: #eef;" {{pipe}} Collaborators | |||
{{!}} {{{collaborators|None}}}|}} | |||
|- | |||
|}{{#if:{{{nocat|}}}||<includeonly>[[Category:Fanon games]]</includeonly>}}<noinclude> | |||
{{clear}} | {{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. | |||
|rating | Pages with this template are automatically categorized in [[:Category:Fanon games]]. | ||
|genre | |||
|platforms | ==Parameters== | ||
|media | {| class = "wikitable" | ||
|publisher | ! Parameter || Mandatory || Default || Detailed description | ||
|- | |||
! name | |||
| No || ''<nowiki>{{PAGENAME}}</nowiki>'' || If the name of the game is different from the title of the page, specify it here. | |||
|creator | |- | ||
! image | |||
}} | | No || || Image name, extension included. | ||
</pre></noinclude> | |- | ||
! size | |||
| No || || Image size. | |||
|- | |||
! caption | |||
| No || || Caption for the image, if needed. | |||
|- | |||
! 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. | |||
|- | |||
! 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= | |||
|rating= | |||
|genre= | |||
|platforms= | |||
|media= | |||
|publisher= | |||
|release dates= | |||
|prequel= | |||
|sequel= | |||
|creator= | |||
|collaborators= | |||
|nocat= | |||
}}</pre> | |||
[[Category:Infobox templates]]</noinclude> |
Revision as of 20:14, 10 September 2021
Infobox game | |
---|---|
width="40%" style="background: #eef;" Template:Pipe Rating | Unknown |
width="40%" style="background: #eef;" Template:Pipe Genre | N/A |
width="40%" style="background: #eef;" Template:Pipe Platforms | Unknown |
width="40%" style="background: #eef;" Template:Pipe Media | N/A |
width="40%" style="background: #eef;" Template:Pipe 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:Fanon 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. | |
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. |
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= |rating= |genre= |platforms= |media= |publisher= |release dates= |prequel= |sequel= |creator= |collaborators= |nocat= }}