Changes

Jump to navigation Jump to search

Template:Infobox console

685 bytes removed, 06:27, 12 April 2022
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.
<onlyinclude>
{| class="infobox" cellspacing="2" style="width: 250px; font-size: 90%; text-align: left; border: 1px solid black; border-radius: 10px; background-color:#2C2C2C;"
! colspan="2" style="text-align: center; font-size: 130%;"| {{{name|{{PAGENAME}}}}}
|-
{{#if: {{{image|}}}|
{{!}} align="center" colspan="2" {{!}} {{{image}}}<br>{{#if:{{{caption|}}}|{{{caption}}}}}
{{!}}-
}}
 
|-
{{#if:{{{Manufacturer|}}}|
! Manufacturer
{{!}} {{{Manufacturer|}}}
{{!}}-
}}
 
|-
{{#if:{{{Generation|}}}|
! Generation
{{!}} {{{Generation|}}}
{{!}}-
}}
 
|-
{{#if:{{{Release date|}}}|
! Release date
{{!}} {{{Release date|}}}
{{!}}-
}}
 
|-
{{#if:{{{Media type|}}}|
! Media type
{{!}} {{{Media type|}}}
{{!}}-
}}
 
|-
{{#if:{{{Media Compatibility|}}}|
! Compatibility
{{!}} {{{Media Compatibility|}}}
{{!}}-
}}
 
|-
{{#if:{{{Input Controller|}}}|
! Input
{{!}} {{{Input Controller|}}}
{{!}}-
}}
 
|-
{{#if:{{{Predecessor|}}}|
! Predecessor
{{!}} {{{Predecessor|}}}
{{!}}-
}}
 
|-
{{#if:{{{Successor|}}}|
! Successor
{{!}} {{{Successor|}}}
{{!}}-
}}
 
|- style="font-size:0; line-height:0;"
! style="width:30%; padding:0" |
! style="width:60%; padding:0" |
 
|}</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"
|+ style="font-size:125%; font-weight:bold; padding:0.2em;" |{{{title|{{PAGENAME}}}}}
|-
{{#if: {{{logo|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{logo}}}|{{{logowidth|210230}}}px]]
{{!}}-
| }}
{{#if: {{{image|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|{{{imagewidth|210230}}}px]]
{{!}}-
| }}
{{#if: {{{image2|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image2}}}|{{{imagewidth2|210230}}}px]]
{{!}}-
| }}
{{#if: {{{image3|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image3}}}|{{{imagewidth3|210230}}}px]]
{{!}}-
| }}
{{#if: {{{image4|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image4}}}|{{{imagewidth4|210230}}}px]]
{{!}}-
| }}
{{#if: {{{image5|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image5}}}|{{{imagewidth5|210230}}}px]]
{{!}}-
| }}
{{#if: {{{image6|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image6}}}|{{{imagewidth6|210230}}}px]]
{{!}}-
| }}
{{#if: {{{image7|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image7}}}|{{{imagewidth7|210230}}}px]]
{{!}}-
| }}
{{#if: {{{image8|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image8}}}|{{{imagewidth8|210230}}}px]]
{{!}}-
| }}
{{#if: {{{image9|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image9}}}|{{{imagewidth9|210230}}}px]]
{{!}}-
| }}
{{#if: {{{image10|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image10}}}|{{{imagewidth10|210230}}}px]]
{{!}}-
| }}
{{!}}-
| }}
|-
{{#if: {{{Type|}}} |
! Type
{{!}} {{{Type}}}
{{!}}-
| }}
|-
{{#if: {{{Generation|}}} |
! Generation
{{!}}-
| }}
{{#if: {{{releaseRelease date|}}} |
! Release date
{{!}} {{{releaseRelease date}}}
{{!}}-
| }}
{{#if: {{{DiscontinuedMedia type|}}} |! DiscontinuedMedia type{{!}} {{{DiscontinuedMedia type}}}{{!}}-| }}{{#if: {{{Input controller|}}} |! Input controller{{!}} {{{Input controller}}}
{{!}}-
| }}
{{!}}-
| }}
! Emulated
| {{{emulated}}}
|- style="font-size:0; line-height:0;"
| style="width:50%; padding:0" |
| style="width:50%; padding:0" |
|}</onlyinclude><noinclude><br style="clear:both;"/></noinclude>
 
An infobox for console pages.
 
__NOTOC__
==Example==
===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>
 
<h2 style="width:100%">Parameters</h2>
---
<noinclude>[[Category:Templates]]</noinclude>
102
edits

Navigation menu