Difference between revisions of "Template:Infobox console"

From Game Tech Wiki
Jump to navigation Jump to search
m (Copied basic into from Emu wiki's infobox console page and increased the infobox image size to 230 pixels wide, due to many slightly broken images in infoboxes trying to display the image at that resolution.)
 
(21 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<onlyinclude>
+
<onlyinclude>{| style="float:{{{align|right}}}; width:{{{width|300px}}}; font-size:{{{font-size|96.25%}}}; text-align:left; border:1px solid #a2a9b1; background-color:#f8f9fa; margin:0.5em 0 0.5em 1em; padding:0.2em;" cellspacing="0" cellpadding="3"
{| class="infobox" cellspacing="3" style="width: 250px; font-size: 95%; text-align: left; vertical-align: top; border: 1px solid black; background-color:#555555;"  
+
|+ style="font-size:125%; font-weight:bold; padding:0.2em;" |{{{title|{{PAGENAME}}}}}
! colspan="2" style="text-align: center; font-size: 130%;"| {{{name|{{PAGENAME}}}}}
 
 
|-
 
|-
{{#if: {{{image|}}}|
+
{{#if: {{{logo|}}} |
{{!}} align="center" colspan="2" {{!}} {{{image}}}<br>{{#if:{{{caption|}}}|{{{caption}}}}}
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{logo}}}|{{{logowidth|230}}}px]]
 
{{!}}-
 
{{!}}-
}}
+
| }}
 
+
{{#if: {{{image|}}} |
|-
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|{{{imagewidth|230}}}px]]
{{#if:{{{Manufacturer|}}}|  
+
{{!}}-
 +
| }}
 +
{{#if: {{{image2|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image2}}}|{{{imagewidth2|230}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image3|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image3}}}|{{{imagewidth3|230}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image4|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image4}}}|{{{imagewidth4|230}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image5|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image5}}}|{{{imagewidth5|230}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image6|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image6}}}|{{{imagewidth6|230}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image7|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image7}}}|{{{imagewidth7|230}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image8|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image8}}}|{{{imagewidth8|230}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image9|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image9}}}|{{{imagewidth9|230}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image10|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image10}}}|{{{imagewidth10|230}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{imagecaption|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} {{{imagecaption}}}
 +
{{!}}- style="border-top:1px dashed #ccc;"
 +
| }}
 +
{{#if: {{{Manufacturer|}}} |
 
! Manufacturer
 
! Manufacturer
{{!}} {{{Manufacturer|}}}
+
{{!}} {{{Manufacturer}}}
 
{{!}}-
 
{{!}}-
}}
+
| }}
 
+
{{#if: {{{Generation|}}} |
|-
 
{{#if:{{{Generation|}}}|
 
 
! Generation
 
! Generation
{{!}} {{{Generation|}}}
+
{{!}} {{{Generation}}}
 
{{!}}-
 
{{!}}-
}}
+
| }}
 
+
{{#if: {{{Release date|}}} |
|-
 
{{#if:{{{Release date|}}}|
 
 
! Release date
 
! Release date
{{!}} {{{Release date|}}}
+
{{!}} {{{Release date}}}
 
{{!}}-
 
{{!}}-
}}
+
| }}
 
+
{{#if: {{{Media type|}}} |
|-
 
{{#if:{{{Media type|}}}|
 
 
! Media type
 
! Media type
{{!}} {{{Media type|}}}
+
{{!}} {{{Media type}}}
{{!}}-
 
}}
 
 
 
|-
 
{{#if:{{{Media Compatibility|}}}|
 
! Compatibility
 
{{!}} {{{Media Compatibility|}}}
 
 
{{!}}-
 
{{!}}-
}}
+
| }}
 
+
{{#if: {{{Input controller|}}} |
|-
+
! Input controller
{{#if:{{{Input Controller|}}}|
+
{{!}} {{{Input controller}}}
! Input Controller
 
{{!}} {{{Input Controller|}}}
 
 
{{!}}-
 
{{!}}-
}}
+
| }}
 
+
{{#if: {{{Predecessor|}}} |
|-
 
{{#if:{{{Predecessor|}}}|
 
 
! Predecessor
 
! Predecessor
{{!}} {{{Predecessor|}}}
+
{{!}} {{{Predecessor}}}
 
{{!}}-
 
{{!}}-
}}
+
| }}
 
+
{{#if: {{{Successor|}}} |
|-
 
{{#if:{{{Successor|}}}|
 
 
! Successor
 
! Successor
{{!}} {{{Successor|}}}
+
{{!}} {{{Successor}}}
 
{{!}}-
 
{{!}}-
}}
+
| }}
 +
|}</onlyinclude><noinclude><br style="clear:both;"/></noinclude>
 +
 
 +
An infobox for console pages.
  
|- style="font-size:0; line-height:0;"
+
__NOTOC__
! style="width:10%; padding:0" |
+
==Example==
! style="width:60%; padding:0" |
+
===Empty Layout===
 +
<pre>{{Infobox console
 +
|logo            =
 +
|image            =
 +
|image2          =
 +
|image3          =
 +
|image4          =
 +
|image5          =
 +
|image6          =
 +
|image7          =
 +
|image8          =
 +
|image9          =
 +
|image10          =
 +
|imagecaption    =
 +
|Manufacturer    =
 +
|Generation      =
 +
|Release date    =
 +
|Media type      =
 +
|Input controller =
 +
|Predecessor      =
 +
|Successor        =
 +
}}</pre>
  
|}</onlyinclude><noinclude><br style="clear:both;"/>
+
<h2 style="width:100%">Parameters</h2>
{{documentation}}</noinclude>
+
---
 +
<noinclude>[[Category:Templates]]</noinclude>

Latest revision as of 06:27, 12 April 2022

Infobox console


An infobox for console pages.


Example[edit]

Empty Layout[edit]

{{Infobox console
|logo             =
|image            =
|image2           =
|image3           =
|image4           =
|image5           =
|image6           =
|image7           =
|image8           =
|image9           =
|image10          =
|imagecaption     =
|Manufacturer     =
|Generation       =
|Release date     =
|Media type       =
|Input controller =
|Predecessor      =
|Successor        =
}}

Parameters

---