Template:Infobox video game: Difference between revisions

From Tomba! Wiki
Jump to navigation Jump to search
(s)
Tag: 2017 source edit
 
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="{{#ifeq:{{{collapsible|}}}|yes|collapsible {{#if:{{{state|}}}|{{{state}}}|autocollapse}}}} infobox hproduct" style="float:{{{align|right}}}; width:{{#if:{{{width|}}}|{{{width|}}}|264px}}; font-size:90%; text-align:left;" cellspacing="0" cellpadding="3"
<includeonly>
|-
<table class="infobox video-game">
<includeonly>! colspan=2 style="text-align:center;" | <span style="font-size:111%;">{{#ifeq:{{lc:{{{italic title|}}}}}|no||''}}<span class="fn">{{#if:{{{title|}}}|{{{title}}}|{{PAGENAME}}}}</span>{{#ifeq:{{lc:{{{italic title|}}}}}|no||''}}</span></includeonly>
  <caption>{{{name}}}</caption>
{{#ifeq:{{{show image|}}}|yes|<table style="width:100%; font-weight:normal; background:none; margin: 6px 0 0 0" cellspacing="0" cellpadding="0">|{{!}}-}}
  <tr>
{{#if:{{{image|}}}|
    <td colspan="2">{{{title|}}}</td>
{{!}} colspan="2" style="text-align:center;" {{!}} {{{image|}}}<br />{{#if:{{{caption|}}}|<span style="font-size:95%;">{{{caption}}}</span>}}
  </tr>
  <tr>
    <td colspan="2">{{{image|}}}</td>
  </tr>
  <tr>
    <th>Developer</th>
    <td>{{{developer|}}}</td>
  </tr>
  <tr>
    <th>Publisher</th>
    <td>{{{publisher|}}}</td>
  </tr>
  <tr>
    <th>Director</th>
    <td>{{{director|}}}</td>
  </tr>
  <tr>
    <th>Producer</th>
    <td>{{{producer|}}}</td>
  </tr>
  <tr>
    <th>Designer</th>
    <td>{{{designer|}}}</td>
  </tr>
  <tr>
    <th>Platform</th>
    <td>{{{platform|}}}</td>
  </tr>
  <tr>
    <th>Genre</th>
    <td>{{{genre|}}}</td>
  </tr>
  <tr>
    <th>Release</th>
    <td>{{{release|}}}</td>
  </tr>
</table>
</includeonly>
<noinclude>
== Usage ==
 
<pre>
{{Infobox_video_game
| name      = Game Name
| title      = [[File:game_title.png]]
| image     = [[File:box_art.jpg]]
| developer  = Developer name
| publisher  = Publisher name
| director  = Director name
| producer  = Producer name
| designer  = Designer name
| platform  = Consoles the game was released on
| genre      = Genres of the game
| release    = Release dates per region
}}
}}
{{#ifeq:{{{show image|}}}|yes|</table>}}
</pre>
{{Alternating rows table section
 
|es=background:#f0f0f0;
== Example ==
|{{#if:{{{developer|}}}|{{!}} '''[[Video game developer|Developer(s)]]''' {{!!}} {{{developer|}}} }}
{{Infobox_video_game
|{{#if:{{{publisher|}}}| {{!}} '''[[Video game publisher|Publisher(s)]]''' {{!!}} <span class="brand">{{{publisher|}}}</span> }}
| name      = Game Name
|{{#if:{{{distributor|}}}| {{!}} '''Distributor(s)''' {{!!}} {{{distributor|}}} }}
| title      = [[File:game_title.png]]
|{{#if:{{{director|}}}| {{!}} '''Director(s)''' {{!!}} {{{director|}}} }}
| image      = [[File:box_art.jpg]]
|{{#if:{{{producer|}}}| {{!}} '''[[Video game producer|Producer(s)]]''' {{!!}} {{{producer|}}} }}
| developer  = Developer name
|{{#if:{{{designer|}}}| {{!}} '''[[Game designer|Designer(s)]]''' {{!!}} {{{designer|}}} }}
| publisher  = Publisher name
|{{#if:{{{programmer|}}}| {{!}} '''[[Game programmer|Programmer(s)]]''' {{!!}} {{{programmer|}}} }}
| director   = Director name
|{{#if:{{{artist|}}}| {{!}} '''[[Game artist|Artist(s)]]''' {{!!}} {{{artist|}}} }}
| producer   = Producer name
|{{#if:{{{writer|}}}| {{!}} '''Writer(s)''' {{!!}} {{{writer|}}} }}
| designer   = Designer name
|{{#if:{{{composer|}}}| {{!}} '''[[Video game music|Composer(s)]]''' {{!!}} {{{composer|}}} }}
| platform   = Consoles the game was released on
|{{#if:{{{series|}}}| {{!}} '''Series''' {{!!}} {{{series|}}} }}
| genre     = Genres of the game
|{{#if:{{{engine|}}}| {{!}} '''[[Game engine|Engine]]''' {{!!}} {{{engine|}}} }}
| release    = Release dates per region
|{{#if:{{{platform|{{{platforms|}}}}}}| {{!}} '''[[Computing platform|Platform(s)]]''' {{!!}} <span class="nowraplinks">{{{platform|{{{platforms|}}}}}}</span> }}
}}
|{{#if:{{{released|{{{release|}}}}}}| {{!}} '''Release&nbsp;date(s)''' {{!!}} {{{released|{{{release}}}}}} }}
 
|{{#if:{{{genre|}}}| {{!}} '''[[Video game genres|Genre(s)]]''' {{!!}} {{{genre|}}} }}
|{{#if:{{{mode|{{{modes|}}}}}}|{{!}} '''Mode(s)''' {{!!}} {{{modes|}}} }}
|{{#if:{{{media|}}}| {{!}} '''[[Digital media|Media]]'''/'''[[Digital distribution|distribution]]''' {{!!}} {{{media|}}} }}
|{{#if:{{{cabinet|}}}| {{!}} '''Cabinet''' {{!!}} {{{cabinet|}}} }}
|{{#if:{{{arcade system|}}}| {{!}} '''[[Arcade system board|Arcade system]]''' {{!!}} {{{arcade system|}}} }}
|{{#if:{{{cpu|}}}| {{!}} '''[[Central processing unit|CPU]]''' {{!!}} {{{cpu|}}} }}
|{{#if:{{{sound|}}}| {{!}} '''Sound''' {{!!}} {{{sound|}}} }}
|{{#if:{{{display|}}}| {{!}} '''Display''' {{!!}} {{{display|}}} }}
}}{{main other|{{#ifeq:{{lc:{{{italic title|}}}}}|no||{{italic title|force={{#ifeq:{{lc:{{{italic title|}}}}}|force|true}}}}}}}}
|}<noinclude>
{{documentation}}<!-- Add cats and interwikis to the /doc subpage, not here! -->
</noinclude>
</noinclude>

Latest revision as of 16:22, 27 January 2025


Usage

{{Infobox_video_game
| name       = Game Name
| title      = [[File:game_title.png]]
| image      = [[File:box_art.jpg]]
| developer  = Developer name
| publisher  = Publisher name
| director   = Director name
| producer   = Producer name
| designer   = Designer name
| platform   = Consoles the game was released on
| genre      = Genres of the game
| release    = Release dates per region
}}

Example

Game Name
File:Game title.png
File:Box art.jpg
Developer Developer name
Publisher Publisher name
Director Director name
Producer Producer name
Designer Designer name
Platform Consoles the game was released on
Genre Genres of the game
Release Release dates per region