Template:Infobox game: Difference between revisions

Making some fields optional (in the case where the info is yet to be announced).
(Two missing fields on the skeleton.)
(Making some fields optional (in the case where the info is yet to be announced).)
Line 2: Line 2:
! colspan="2" class="infoboxTitle" | ''{{{name}}}''
! colspan="2" class="infoboxTitle" | ''{{{name}}}''
|-
|-
| 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}}}
Line 13: Line 13:
|-
|-
! Console
! Console
| [[{{{console}}}]]{{#if:{{{console2|}}}|, [[{{{console2}}}]]}}
| {{#if:{{{console|}}}|[[{{{console}}}]]{{#if:{{{console2|}}}|, [[{{{console2}}}]]}}|TBA}}
|-
|-
! Developer
! Developer
Line 19: Line 19:
|-
|-
!  Publisher
!  Publisher
| [[{{{publisher|Nintendo}}}]]
| {{#if:{{{publisher|}}}|[[{{{publisher}}}]]|TBA}}
|-
|-
!  Genre
!  Genre
Line 72: Line 72:
|-
|-
! image
! image
| '''Yes''' ||  || Name of the cover image file, with extension.
| No ||  || Name of the cover image file, with extension.
|-
|-
! size
! size
Line 87: Line 87:
|-
|-
! console
! console
| '''Yes''' || || Primary console the game is played on, without a link.
| No || TBA || Primary console the game is played on, without a link.
|-
|-
! console2
! console2
Line 96: Line 96:
|-
|-
! publisher
! publisher
| No || Nintendo || Game's publisher, without a link.
| No || TBA || Game's publisher, without a link.
|-
|-
! genre
! genre