Difference between revisions of "Template:Console"

From Gamehiker Wiki
Jump to navigation Jump to search
(New page: {| class="infobox" style="width: 23em; font-size: 90%; text-align: left;" {{#if: {{{logo|}}}|<tr><td colspan="2" style="text-align: center;">{{{logo}}}</td></tr>}} |- ! colspan="2" style="...)
 
Line 1: Line 1:
{| class="infobox" style="width: 23em; font-size: 90%; text-align: left;"
+
<includeonly>{| class="toccolours" style="float: right; clear: right; margin: 0 0 1em 1em; width: 22em; font-size: 95%;"
{{#if: {{{logo|}}}|<tr><td colspan="2" style="text-align: center;">{{{logo}}}</td></tr>}}
+
!colspan=0 style="text-align:center; background-color:{{{bgcolor}}}; width:300px; color:{{{fgcolor}}}; border:{{{border|0}}}px solid;" | <span style="font-size: 120%">{{{title}}}</span>
 
|-
 
|-
! colspan="2" style="text-align: center; font-size: larger; background-color: #eeeeee;" | {{{title}}}
+
{{#if:{{{logo|}}}|
{{#if: {{{image|}}}|<tr><td colspan="2" style="text-align: center;">{{{image}}}</td></tr>}}
+
{{!}}-
 +
{{!}} align="center" colspan="2" {{!}} {{{image}}}
 +
}}
 
|-
 
|-
! style="background-color: #eeeeee;" | [[Console manufacturer|Manufacturer]]
+
{{#if:{{{image|}}}|
| {{{manufacturer}}}
+
{{!}}- style="text-align: center; font-size: smaller;"
{{#if: {{{family|}}}|<tr><th style="background-color: #eeeeee;">Product family</th><td>{{{family}}}</td></tr>}}
+
{{!}} align="center" colspan="2" {{!}} {{{caption}}}
 +
}}
 
|-
 
|-
! style="background-color: #eeeeee;" | Type
+
!colspan=2 style="text-align:center; background-color:{{{bgcolor}}}; width:300px; color:{{{fgcolor}}}; border:{{{border|0}}}px solid;" | <span style="font-size: 115%">'''Information'''</span>
| style="width:14em" | {{{type}}}
 
 
|-
 
|-
! style="background-color: #eeeeee;" | [[History of computer and video games|Generation]]
+
{{#if:{{{manufacturer|}}}|
| {{{generation}}}
+
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Manufacturer:'''
 +
{{!}} {{!}} {{{manufacturer}}}}}
 
|-
 
|-
! style="background-color: #eeeeee;" | First available
+
{{#if:{{{type|}}}|
| {{{lifespan}}}
+
{{!}}- style="vertical-align: top;"
{{#if: {{{CPU|}}}|<tr><th style="background-color: #eeeeee;">[[Central processing unit|CPU]]</th><td>{{{CPU}}}</td></tr>}}
+
{{!}} {{!}} '''Type:'''
 +
{{!}} {{!}} {{{type}}}}}
 
|-
 
|-
{{#if: {{{GPU|}}}|<tr><th style="background-color: #eeeeee;">[[Graphics processing unit|GPU]]</th><td>{{{GPU}}}</td></tr>}}
+
{{#if:{{{generation|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Generation:'''
 +
{{!}} {{!}} {{{generation}}}}}
 
|-
 
|-
! style="background-color: #eeeeee;" | Media
+
{{#if:{{{lifespan|}}}|
| {{{media}}}
+
{{!}}- style="vertical-align: top;"
{{#if:{{{storage|}}}|<tr><th style="background-color: #eeeeee; whitespace: nowrap">System storage</th><td>{{{storage}}}</td></tr>}}<!--
+
{{!}} {{!}} '''Lifespan:'''
-->{{#if:{{{controllers|}}}|<tr><th style="background-color: #eeeeee; whitespace: nowrap">Controller input</th><td>{{{controllers}}}</td></tr>}}<!--
+
{{!}} {{!}} {{{lifespan}}}}}
-->{{#if:{{{connectivity|}}}|<tr><th style="background-color: #eeeeee; whitespace: nowrap">Connectivity</th><td>{{{connectivity}}}</td></tr>}}<!--
+
|-
-->{{#if:{{{online service|{{{onlineservice|}}}}}}|<tr><th style="background-color: #eeeeee; whitespace: nowrap">Online service</th><td>{{{online service|{{{onlineservice}}}}}}</td></tr>}}<!--
+
{{#if:{{{GPU|}}}|
-->{{#if:{{{release date|{{{releasedate|}}}}}}|<tr><th style="background-color: #eeeeee; whitespace: nowrap">Release Date(s)</th><td>{{{release date|{{{releasedate}}}}}}</td></tr>}}<!--
+
{{!}}- style="vertical-align: top;"
-->{{#if:{{{units sold|{{{unitssold|}}}}}}|<tr><th style="background-color: #eeeeee; white-space: nowrap;">Units sold</th><td>{{{units sold|{{{unitssold}}}}}}</td></tr>}}<!--
+
{{!}} {{!}} '''GPU:'''
-->{{#if:{{{top game|{{{topgame|}}}}}}|<tr><th style="background-color: #eeeeee; white-space: nowrap;">Top-selling game</th><td>{{{top game|{{{topgame}}}}}}</td></tr>}}<!--
+
{{!}} {{!}} {{{GPU}}}}}
-->{{#if:{{{compatibility|}}}|<tr><th style="background-color: #eeeeee; white-space: nowrap;">Backward<br />compatibility</th><td>{{{compatibility}}}</td></tr>}}<!--
+
|-
-->{{#if:{{{predecessor|}}}|<tr><th style="background-color: #eeeeee; white-space: nowrap;">Predecessor</th><td>{{{predecessor}}}</td></tr>}}<!--
+
{{#if:{{{GPU|}}}|
-->{{#if:{{{successor|}}}|<tr><th style="background-color: #eeeeee; white-space: nowrap;">Successor</th><td>{{{successor}}}</td></tr>}}
+
{{!}}- style="vertical-align: top;"
|}<noinclude>
+
{{!}} {{!}} '''GPU:'''
 +
{{!}} {{!}} {{{GPU}}}}}
 +
|-
 +
{{#if:{{{media|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Media:'''
 +
{{!}} {{!}} {{{media}}}}}
 +
|-
 +
{{#if:{{{storage|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Storage:'''
 +
{{!}} {{!}} {{{storage}}}}}
 +
|-
 +
{{#if:{{{controllers|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Controllers:'''
 +
{{!}} {{!}} {{{controllers}}}}}
 +
|-
 +
{{#if:{{{connectivity|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Connectivity:'''
 +
{{!}} {{!}} {{{connectivity}}}}}
 +
|-
 +
{{#if:{{{online service|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Online Service:'''
 +
{{!}} {{!}} {{{online service}}}}}
 +
|-
 +
{{#if:{{{release date|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Release Date:'''
 +
{{!}} {{!}} {{{release date}}}}}
 +
|-
 +
{{#if:{{{units sold|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Units Sold:'''
 +
{{!}} {{!}} {{{units sold}}}}}
 +
|-
 +
{{#if:{{{top game|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Top Game:'''
 +
{{!}} {{!}} {{{top game}}}}}
 +
|-
 +
{{#if:{{{combatibility|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Combatibility:'''
 +
{{!}} {{!}} {{{combatibility}}}}}
 +
|-
 +
{{#if:{{{predecessor|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Predecessor:'''
 +
{{!}} {{!}} {{{predecessor}}}}}
 +
|-
 +
{{#if:{{{successor|}}}|
 +
{{!}}- style="vertical-align: top;"
 +
{{!}} {{!}} '''Successor:'''
 +
{{!}} {{!}} {{{successor}}}}}
  
== Usage ==
+
|}</includeonly><noinclude>
{| style="border-left-width: 15px; border: none; background: none;"
+
{| style="float: left; background: transparent;"
 
|<pre>
 
|<pre>
 
{{Console
 
{{Console
Line 59: Line 123:
 
|predecessor =  
 
|predecessor =  
 
|successor =  
 
|successor =  
}}</pre>
+
}}
 +
</pre>
 
|}
 
|}
 
+
[[Category:Infobox templates|{{PAGENAME}}]]</noinclude>
 
 
</noinclude>
 

Revision as of 20:03, 27 February 2007

{{Console
|title = 
|logo = 
|image = 
|manufacturer = 
|type = 
|generation = 
|lifespan = 
|CPU = 
|GPU = 
|media = 
|storage = 
|controllers = 
|connectivity = 
|online service = 
|release date = 
|units sold = 
|top game = 
|compatibility = 
|predecessor = 
|successor = 
}}