Difference between revisions of "Template:InfoBox Game"

From Detective Conan Wiki
(test to see if I can make this work)
 
(7 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{infobox
+
{| class="roundtable centered" style="width:100%; text-align:center; padding: 2px; margin-bottom: 10px; border: 1px solid #ccc;"
| title      = <includeonly>{{#if:{{{title|}}}|{{#if:{{{subject_name|}}}|{{{subject_name}}}|{{{title}}} }}|{{PAGENAME}} }}</includeonly>
+
|-
| above      = {{#if:{{{subtitle|}}}|<small>{{{subtitle}}}</small>}}
+
! colspan="3" style="color: #ffffff; vertical-align: middle; font-size: small; background-color: #5985ae;" | <center>'''Chronology'''</center>
| image      = {{{image_link|{{{image|}}}}}}
+
|-
| caption    = {{{image_caption|{{{caption|}}}}}}
+
| style="border: none; width: 30%; text-align: center;" | {{#if: {{{prev-game|}}} | <span style="font-size: 16px;">‹ </span> [[{{{prev-game}}}]] }}
| bodystyle  = {{#if:{{{width|}}}|width:{{{width}}};}}
+
| style="border-left: 1px solid #ccc; border-right: 1px solid #ccc; width: 12%; text-align: center;" | [[Games|'''List of Games''']]
| labelstyle = {{#if:{{{label_width|}}}|width:{{{label_width}}};}}
+
| style="border: none; width: 30%; text-align: center;" | {{#if: {{{next-game|}}} | [[{{{next-game}}}]] <span style="font-size: 16px;"> ›</span> }}
 
+
|}
| label1    = [[List of game manufacturers|Manufacturer]]
+
<!-- Main infobox starts -->
| data1      = {{{manufacturer|}}}
+
{| class="infobox" style="width: 285px; text-align: left; font-size: 90%;" cellpadding="2"
 
+
|-
| label2    = [[Game designer|Designer]]
+
| colspan="2" style="color: #ffffff; text-align:center; vertical-align:middle; height:28px; font-size: medium; background-color: #5985AE;" | <center>'''{{{system}}}: Game {{{game}}}'''</center>
| data2      = {{{designer|}}}
+
|-
 
+
| class="nospacing" colspan="2" style="text-align:center; vertical-align:bottom; padding: 2px 0px 2px 0px;" |
| label3    = [[Illustrator]]
+
{{#if: {{{image|}}} | [[Image:{{{image}}}|275px]]}}
| data3      = {{{illustrator|}}}
+
|-
 
+
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #5985AE;" | <center>'''Information'''</center>
| label4    = [[Actor]]
+
|-
| data4      = {{{actor|}}}
+
! width="100"|Title:
 
+
| {{{title|}}}
| label5    = [[Voice-over]]
+
|-
| data5      = {{{voice_over|}}}
+
{{#if: {{{english-title|}}} |
 
+
! English Title:
| label6    = Publisher
+
{{!}} {{{english-title}}}
| data6      = {{{publisher|}}}
+
{{!}}- }}
 
+
{{#if: {{{japanese-title|}}} |
| label7    = Publication date
+
! Japanese Title:
| data7      = {{{date|}}}
+
{{!}} {{{japanese-title}}}
 
+
{{!}}- }}
| label8    = Years active
+
! System:
| data8      = {{{years|}}}
+
| {{{system}}}
 
+
|-
| label9    = Genre(s)
+
{{#if: {{{release-date|}}} |
| data9      = {{{genre|}}}
+
! Release date:  
 
+
{{!}} {{{release-date}}}
| label10    = System
+
{{!}}-  }}
| data10      = {{{system|}}}
+
{{#if: {{{genre|}}} |
 
+
! Genre(s):  
| label11    = Players
+
{{!}} {{{genre}}}
| data11      = {{{players|}}}
+
{{!}}-  }}
 
+
{{#if: {{{players|}}} |
| label12    = Age range
+
! Players:
| data12    = {{{ages|}}}
+
{{!}} {{{players}}}
 
+
{{!}}-  }}
| label13    = Setup time
+
{{#if: {{{age-range|}}} |
| data13    = {{{setup_time|}}}
+
! Age range:
 
+
{{!}} {{{age-range}}}
| label14    = Playing time
+
{{!}}-  }}
| data14    = {{{playing_time|}}}
+
{{#if: {{{playing-time|}}} |
 
+
! Playing time:
| label15    = Random chance
+
{{!}} {{{playing-time}}}
| data15    = {{{random_chance|}}}
+
{{!}}-  }}
 
+
| colspan="2" style="color: #ffffff; vertical-align:middle; font-size: small; background-color: #5985AE;" | <center>'''Production'''</center>
| label16    = Skills required
+
|-
| data16    = {{{skills|}}}
+
! Developer:
 
+
| {{{developer}}}
| label17    = Website
+
|-
| data17    = {{{web|}}}
+
{{#if: {{{designer|}}} |
 
+
! Designer:
| below      = {{{footnotes|}}}
+
{{!}} {{{designer}}}
 
+
{{!}}- }}
}}<noinclude>
+
{{#if: {{{illustrator|}}} |
{{documentation}}
+
! Illustrator:
<!-- Please add metadata to the Documentation subpage --></noinclude>
+
{{!}} {{{illustrator}}}
 +
{{!}}- }}
 +
{{#if: {{{publisher|}}} |
 +
! Publisher:
 +
{{!}} {{{publisher}}}
 +
{{!}}-  }}
 +
{{#if: {{{website|}}} |
 +
! Website:
 +
{{!}} {{{website}}}
 +
{{!}}-  }}
 +
{{#if: {{{voice-cast|}}} |
 +
{{!}} colspan="2" {{!}}
 +
{{{!}} class="collapsible collapsed" style="background: transparent; width: 100%;" cellspacing="0"
 +
{{!}}-
 +
! Voice Cast:
 +
{{!}}-
 +
{{!}}
 +
{{{voice-cast}}}
 +
{{!}}}
 +
{{!}}- }}
 +
{{#if: {{{prev-game|}}} |
 +
{{!}}-  }}
 +
{{#if: {{{next-game|}}} |
 +
{{!}}-  }}
 +
{{#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 00:57, 6 October 2024

Chronology
List of Games
{{{system}}}: Game {{{game}}}
Information
Title:
System: {{{system}}}
Production
Developer: {{{developer}}}

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)
}}