Difference between revisions of "Template:InfoBox Game"

From Detective Conan Wiki
(test to see if I can make this work)
 
(6 intermediate revisions by 4 users not shown)
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;" |  <center>'''{{{system}}}: Game {{{game}}}'''</center>
| 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;" | <center>'''Information'''</center>
| label1    = [[List of game manufacturers|Manufacturer]]
+
|-
| data1      = {{{manufacturer|}}}
+
! width="100"|Title:
 
+
| {{{title|}}}
| label2    = [[Game designer|Designer]]
+
|-
| data2      = {{{designer|}}}
+
{{#if: {{{english-title|}}} |
 
+
! English Title:
| label3    = [[Illustrator]]
+
{{!}} {{{english-title}}}
| data3      = {{{illustrator|}}}
+
{{!}}- }}
 
+
{{#if: {{{japanese-title|}}} |
| label4    = [[Actor]]
+
! Japanese Title:
| data4      = {{{actor|}}}
+
{{!}} {{{japanese-title}}}
 
+
{{!}}- }}
| label5    = [[Voice-over]]
+
! System:
| data5      = {{{voice_over|}}}
+
| {{{system}}}
 
+
|-
| 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: {{{players|}}} |
| label9    = Genre(s)
+
! Players:
| data9      = {{{genre|}}}
+
{{!}} {{{players}}}
 
+
{{!}}-  }}
| label10    = System
+
{{#if: {{{age-range|}}} |
| data10      = {{{system|}}}
+
! Age range:  
 
+
{{!}} {{{age-range}}}
| label11    = Players
+
{{!}}}}
| data11      = {{{players|}}}
+
{{#if: {{{playing-time|}}} |
 
+
! Playing time:  
| label12    = Age range
+
{{!}} {{{playing-time}}}
| data12    = {{{ages|}}}
+
{{!}}}}
 
+
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #5985AE;" | <center>'''Production'''</center>
| label13    = Setup time
+
|-
| data13    = {{{setup_time|}}}
+
! Developer:
 
+
| {{{developer}}}
| label14    = Playing time
+
|-
| data14    = {{{playing_time|}}}
+
{{#if: {{{designer|}}} |
 
+
! Designer:
| label15    = Random chance
+
{{!}} {{{designer}}}
| data15    = {{{random_chance|}}}
+
{{!}}- }}
 
+
{{#if: {{{illustrator|}}} |
| label16    = Skills required
+
! Illustrator:
| data16    = {{{skills|}}}
+
{{!}} {{{illustrator}}}
 
+
{{!}}- }}
| label17    = Website
+
{{#if: {{{publisher|}}} |
| data17    = {{{web|}}}
+
! Publisher:
 
+
{{!}} {{{publisher}}}
| below      = {{{footnotes|}}}
+
{{!}}-  }}
 
+
{{#if: {{{website|}}} |
}}<noinclude>
+
! Website:
{{documentation}}
+
{{!}} {{{website}}}
<!-- Please add metadata to the Documentation subpage --></noinclude>
+
{{!}}-  }}
 +
{{#if: {{{voice-cast|}}} |
 +
{{!}} colspan="2" {{!}}
 +
{{{!}} class="collapsible collapsed" style="background: transparent; width: 100%;" cellspacing="0"
 +
{{!}}-
 +
! Voice Cast:
 +
{{!}}-
 +
{{!}}
 +
{{{voice-cast}}}
 +
{{!}}}
 +
{{!}}- }}
 +
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #5985AE;" | <center>'''Chronology'''</center>
 +
|-
 +
{{#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 system - e.g. "3")
 +
| image              =
 +
| title              =
 +
| english-title      =    (Optional)
 +
| japanese-title      =    (Optional)
 +
| release-date        =    (Optional)
 +
| genre              =    (Optional)
 +
| system              =    (Optional)
 +
| age-range          =    (Optional)
 +
| playing-time        =    (Optional)
 +
| developer          =
 +
| designer            =    (Optional)
 +
| illustrator        =    (Optional)
 +
| publisher          =    (Optional)
 +
| website            =    (Optional)
 +
| voice-cast          =    (Optional)
 +
| prev-game          =    (Optional)
 +
| next-game          =    (Optional)
 +
| footnotes          =    (Optional: will not show the row if omitted)
 +
}}
 +
</pre>
 +
[[Category:InfoBox templates]][[Category:Templates]]
 +
</noinclude>

Latest revision as of 14:52, 10 November 2019

{{{system}}}: Game {{{game}}}
Information
Title:
System: {{{system}}}
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 system - e.g. "3")
| image               =
| title               = 
| english-title       =    (Optional)
| japanese-title      =    (Optional)
| release-date        =    (Optional)
| genre               =    (Optional)
| system              =    (Optional)
| age-range           =    (Optional)
| playing-time        =    (Optional)
| developer           =
| designer            =    (Optional)
| illustrator         =    (Optional)
| publisher           =    (Optional)
| website             =    (Optional)
| voice-cast          =    (Optional)
| prev-game           =    (Optional)
| next-game           =    (Optional)
| footnotes           =    (Optional: will not show the row if omitted)
}}