Difference between revisions of "Template:InfoBox Game"

From Detective Conan Wiki
(test to see if I can make this work)
(Yet Another InfoBox)
Line 1: Line 1:
{{infobox
+
{| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2"
| title      = <includeonly>{{#if:{{{title|}}}|{{#if:{{{subject_name|}}}|{{{subject_name}}}|{{{title}}} }}|{{PAGENAME}} }}</includeonly>
+
|-
| above      = {{#if:{{{subtitle|}}}|<small>{{{subtitle}}}</small>}}
+
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #5985AE;" |  '''{{{platform}}}: Game {{{game}}}'''
| image      = {{{image_link|{{{image|}}}}}}
+
|-
| caption    = {{{image_caption|{{{caption|}}}}}}
+
| class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; padding: 2px 0px 2px 0px;" |
| bodystyle = {{#if:{{{width|}}}|width:{{{width}}};}}
+
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
| labelstyle = {{#if:{{{label_width|}}}|width:{{{label_width}}};}}
+
|-
 
+
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #5985AE;" | '''Information'''
| label1    = [[List of game manufacturers|Manufacturer]]
+
|-
| data1      = {{{manufacturer|}}}
+
! width="100"|Title:
 
+
| {{{title|}}}
| label2    = [[Game designer|Designer]]
+
|-
| data2      = {{{designer|}}}
+
{{#if: {{{japanese-title|}}} |
 
+
! Japanese Title:
| label3    = [[Illustrator]]
+
{{!}} {{{japanese-title}}}
| data3      = {{{illustrator|}}}
+
{{!}}- }}
 
+
{{#if: {{{english-title|}}} |
| label4    = [[Actor]]
+
! English Title:
| data4      = {{{actor|}}}
+
{{!}} {{{english-title}}}
 
+
{{!}}- }}
| label5    = [[Voice-over]]
+
! Platform:
| data5      = {{{voice_over|}}}
+
| {{{platform}}}
 
+
|-
| label6    = Publisher
+
{{#if: {{{release-date|}}} |
| data6      = {{{publisher|}}}
+
! Release date:
 
+
{{!}} {{{release-date}}}
| label7    = Publication date
+
{{!}}-  }}
| data7      = {{{date|}}}
+
{{#if: {{{genre|}}} |
 
+
! Genre(s):
| label8    = Years active
+
{{!}} {{{genre}}}
| data8      = {{{years|}}}
+
{{!}}-  }}
 
+
{{#if: {{{system|}}} |
| label9    = Genre(s)
+
! System:
| data9      = {{{genre|}}}
+
{{!}} {{{system}}}
 
+
{{!}}-  }}
| label10    = System
+
{{#if: {{{players|}}} |
| data10      = {{{system|}}}
+
! Players:
 
+
{{!}} {{{players}}}
| label11    = Players
+
{{!}}- }}
| data11      = {{{players|}}}
+
{{#if: {{{age-range|}}} |
 
+
! Age range:  
| label12    = Age range
+
{{!}} {{{age-range}}}
| data12    = {{{ages|}}}
+
{{!}}-  }}
 
+
{{#if: {{{playing-time|}}} |
| label13    = Setup time
+
! Playing time:  
| data13    = {{{setup_time|}}}
+
{{!}} {{{playing-time}}}
 
+
{{!}}-  }}
| label14    = Playing time
+
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #5985AE;" | '''Production'''
| data14    = {{{playing_time|}}}
+
|-
 
+
! Developer:
| label15   = Random chance
+
| {{{developer}}}
| data15    = {{{random_chance|}}}
+
|-
 
+
{{#if: {{{designer|}}} |
| label16   = Skills required
+
! Designer:
| data16    = {{{skills|}}}
+
{{!}} {{{designer}}}
 
+
{{!}}- }}
| label17   = Website
+
{{#if: {{{illustrator|}}} |
| data17    = {{{web|}}}
+
! Illustrator:
 
+
{{!}} {{{illustrator}}}
| below      = {{{footnotes|}}}
+
{{!}}- }}
 
+
{{#if: {{{publisher|}}} |
}}<noinclude>
+
! Publisher:
{{documentation}}
+
{{!}} {{{publisher}}}
<!-- Please add metadata to the Documentation subpage --></noinclude>
+
{{!}}-  }}
 +
{{#if: {{{website|}}} |
 +
! Website:
 +
{{!}} {{{website}}}
 +
{{!}}-  }}
 +
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #5985AE;" | '''Chronology'''
 +
|-
 +
{{#if: {{{prev-game|}}} |
 +
! Prev game:
 +
{{!}} [[{{{prev-game}}}|&laquo; {{{prev-game}}}]]
 +
{{!}}-  }}
 +
{{#if: {{{next-game|}}} |
 +
! Next game:
 +
{{!}} [[{{{next-game}}}|{{{next-game}}} &raquo;]]
 +
{{!}}-  }}
 +
| colspan="2" style="font-size: smaller; text-align:center; border-top: 1px dotted #aaaaaa" | [[Games|List of games]]
 +
|-
 +
{{#if: {{{footnotes|}}} |
 +
{{!}} colspan="2" style="font-size: smaller; border-top: 1px dotted #aaaaaa" {{!}} {{{footnotes|}}} }}
 +
|}
 +
<noinclude>
 +
The following is a list of required or optional parameters for any of the games:
 +
<pre>
 +
{{InfoBox Game
 +
| game                =   (This is a number for the given platform - e.g. "3")
 +
| image              =
 +
| title              =  
 +
| english-title      =    (Optional)
 +
| japanese-title      =    (Optional)
 +
| platform            =    
 +
| release-date        =   (Optional)
 +
| genre              =   (Optional)
 +
| system              =    (Optional)
 +
| age-range          =    (Optional)
 +
| playing-time        =   (Optional)
 +
| developer          =
 +
| designer            =    (Optional)
 +
| illustrator        =   (Optional)
 +
| publisher          =    (Optional)
 +
| website            =    (Optional)
 +
| prev-game          =   (Optional)
 +
| next-game          =    (Optional)
 +
| footnotes          =    (Optional: will not show the row if omitted)
 +
}}
 +
</pre>
 +
[[Category:Templates]]
 +
</noinclude>

Revision as of 20:09, 18 April 2011

{{{platform}}}: Game {{{game}}}
Information
Title:
Platform: {{{platform}}}
Production
Developer: {{{developer}}}
Chronology
List of games

The following is a list of required or optional parameters for any of the games:

{{InfoBox Game
| game                =    (This is a number for the given platform - e.g. "3")
| image               =
| title               = 
| english-title       =    (Optional)
| japanese-title      =    (Optional)
| platform            =    
| release-date        =    (Optional)
| genre               =    (Optional)
| system              =    (Optional)
| age-range           =    (Optional)
| playing-time        =    (Optional)
| developer           =
| designer            =    (Optional)
| illustrator         =    (Optional)
| publisher           =    (Optional)
| website             =    (Optional)
| prev-game           =    (Optional)
| next-game           =    (Optional)
| footnotes           =    (Optional: will not show the row if omitted)
}}