Difference between revisions of "Template:Infobox computer"

From Emulation General Wiki
Jump to navigation Jump to search
m (Undo revision 84696 by Dude was ist dein Lieblingsfach (talk))
(Tag: Undo)
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{
+
<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"
|Name =  
+
|+ style="font-size:125%; font-weight:bold; padding:0.2em;" |{{{title|{{PAGENAME}}}}}
|Photo =  
+
|-
|Type =  
+
{{#if: {{{logo|}}} |
|Released =  
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{logo}}}|{{{logowidth|210}}}px]]
|Discontinued =  
+
{{!}}-
|Processor =  
+
| }}
|Memory =  
+
{{#if: {{{image|}}} |
|OS =   
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image}}}|{{{imagewidth|210}}}px]]
}}
+
{{!}}-
 +
| }}
 +
{{#if: {{{image2|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image2}}}|{{{imagewidth2|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image3|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image3}}}|{{{imagewidth3|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image4|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image4}}}|{{{imagewidth4|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image5|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image5}}}|{{{imagewidth5|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image6|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image6}}}|{{{imagewidth6|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image7|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image7}}}|{{{imagewidth7|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image8|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image8}}}|{{{imagewidth8|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image9|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image9}}}|{{{imagewidth9|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{image10|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} [[File:{{{image10}}}|{{{imagewidth10|210}}}px]]
 +
{{!}}-
 +
| }}
 +
{{#if: {{{imagecaption|}}} |
 +
{{!}} colspan="2" style="text-align:center;" {{!}} {{{imagecaption}}}
 +
{{!}}- style="border-top:1px dashed #ccc;"
 +
| }}
 +
{{#if: {{{alternate name|}}} |
 +
! Alt-Name
 +
{{!}} {{{alternate name}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{developer|}}} |
 +
! Developer
 +
{{!}} {{{developer}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{distributor|}}} |
 +
! Distributor
 +
{{!}} {{{distributor}}}
 +
{{!}}-
 +
| }}
 +
|-
 +
{{#if: {{{type|}}} |
 +
! Type
 +
{{!}} {{{type}}}
 +
{{!}}-
 +
| }}
 +
|-
 +
{{#if: {{{generation|}}} |
 +
! Generation
 +
{{!}} {{{generation}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{release|}}} |
 +
! Release date
 +
{{!}} {{{release}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{discontinued|}}} |
 +
! Discontinued
 +
{{!}} {{{discontinued}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{games released|}}} |
 +
! <abbr title=" Number of Games and/or Software Released">NGSR</abbr>
 +
{{!}} {{{games released}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{pre-order price|}}} |
 +
! Pre-Order price
 +
{{!}} {{{pre-order price}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{introductory price|}}} |
 +
! Introductory price
 +
{{!}} {{{introductory price}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{how much|}}} |
 +
! <abbr title=" How Much Were Game and/or Software Sold for">HGSF</abbr>
 +
{{!}} {{{how much}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{predecessor|}}} |
 +
! Predecessor
 +
{{!}} {{{predecessor}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{successor|}}} |
 +
! Successor
 +
{{!}} {{{successor}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{website|}}} |
 +
! Dumped
 +
{{!}} {{{website}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{dumped|}}} |
 +
! Dumped
 +
{{!}} {{{dumped}}}
 +
{{!}}-
 +
| }}
 +
{{#if: {{{blank|}}} |
 +
!  
 +
{{!}} {{{blank}}}
 +
{{!}}-
 +
| }}
 +
! 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;"/>
 +
<center><big>'''Infobox computer'''</big></center>
 +
An infobox for computer pages. Based on the improved [[Template:Infobox emulator|Infobox emulator template]], using a design closely modelled from Wikipedia with our own tweaks. Most parameters are optional but are explained below.
 +
__NOTOC__
 +
==Parameters==
 +
The order of this list of parameters is meant to match the order they are displayed in the box. You can technically place each parameter in any order you want (as opposed to <code>first</code>, <code>second</code>, <code>third</code>, etc.) in the markup, but it can get confusing as the template is designed to have the values show up only one way.
 +
;<code>title</code>
 +
:The name of the computer. If no value is given, it will default to the name of the page instead, so it's highly recommended to set the parameter yourself.
 +
;<code>logo</code>
 +
:Should be used for the logo of the computer (if it exists). Optional.
 +
;<code>logowidth</code>
 +
:Set the width of the logo. Might be useful for logos that either exceed the size of the infobox, or have a more vertical (and thus uncomfortable) aspect ratio. Also optional.
 +
;<code>image</code>, <code>image2</code>, <code>image3</code>, <code>image4</code>, <code>image5</code>, <code>image6</code>, <code>image7</code>, <code>image8</code>, <code>image9</code>, and <code>image10</code>
 +
:Used to put computer images in. The extra numbered parameters exist for cases where there are more than one image, possibly to represent different models. The extras can also be used without the presence of the first <code>image</code> parameter, but this isn't recommended. Optional but recommended.
 +
;<code>imagewidth</code>, <code>imagewidth2</code>, <code>imagewidth3</code>, <code>imagewidth4</code>, <code>imagewidth5</code>, <code>imagewidth6</code>, <code>imagewidth7</code>, <code>imagewidth8</code>, <code>imagewidth9</code>, and <code>imagewidth10</code>
 +
:Used to set the width of the images. Optional.
 +
;<code>imagecaption</code>
 +
:Used to put a caption in. Describe both images if you use both parameters. Optional.
 +
;<code>developer</code>
 +
:Who's making the computer? If the computer was discontinued, then who ''made'' the computer? Optional but recommended.
 +
;<code>type</code>
 +
:What type of computer is it? "Home computer" or "Workstation" are the two biggest examples though you may find. Optional but recommended.
 +
;<code>generation</code>
 +
:What generation was this computer (as a console) released in? Wikipedia has a comprehensive list, but you can also see [[:Category:Consoles|our category for consoles]]. Only for computers re-released as consoles, optional.
 +
;<code>release</code>
 +
:The release year of the computer. Optional but recommended.
 +
;<code>discontinued</code>
 +
:When was the computer discontinued? Optional.
 +
;<code>predecessor</code>
 +
:What computer came before this one? Optional.
 +
;<code>successor</code>
 +
:What computer came after this one? Optional.
 +
;<code>emulated</code>
 +
:Is this computer unofficially emulated? Required.
 +
;<code>website</code>
 +
:The website of the computer, optional.
 +
;<code>blank</code>
 +
:A spacer to put between parameters  Optional. <br> start by adding "blank = " and then use the code " < span style= "color: #ECECEC"  >blank < /span > " (remember to remove the spaces in the code or it wont work)
 +
 
 +
</center><noinclude>[[Category:Infobox templates]]</noinclude>
 +
</noinclude>

Latest revision as of 10:12, 14 April 2024

Infobox computer
Emulated {{{emulated}}}


Infobox computer

An infobox for computer pages. Based on the improved Infobox emulator template, using a design closely modelled from Wikipedia with our own tweaks. Most parameters are optional but are explained below.

Parameters[edit]

The order of this list of parameters is meant to match the order they are displayed in the box. You can technically place each parameter in any order you want (as opposed to first, second, third, etc.) in the markup, but it can get confusing as the template is designed to have the values show up only one way.

title
The name of the computer. If no value is given, it will default to the name of the page instead, so it's highly recommended to set the parameter yourself.
logo
Should be used for the logo of the computer (if it exists). Optional.
logowidth
Set the width of the logo. Might be useful for logos that either exceed the size of the infobox, or have a more vertical (and thus uncomfortable) aspect ratio. Also optional.
image, image2, image3, image4, image5, image6, image7, image8, image9, and image10
Used to put computer images in. The extra numbered parameters exist for cases where there are more than one image, possibly to represent different models. The extras can also be used without the presence of the first image parameter, but this isn't recommended. Optional but recommended.
imagewidth, imagewidth2, imagewidth3, imagewidth4, imagewidth5, imagewidth6, imagewidth7, imagewidth8, imagewidth9, and imagewidth10
Used to set the width of the images. Optional.
imagecaption
Used to put a caption in. Describe both images if you use both parameters. Optional.
developer
Who's making the computer? If the computer was discontinued, then who made the computer? Optional but recommended.
type
What type of computer is it? "Home computer" or "Workstation" are the two biggest examples though you may find. Optional but recommended.
generation
What generation was this computer (as a console) released in? Wikipedia has a comprehensive list, but you can also see our category for consoles. Only for computers re-released as consoles, optional.
release
The release year of the computer. Optional but recommended.
discontinued
When was the computer discontinued? Optional.
predecessor
What computer came before this one? Optional.
successor
What computer came after this one? Optional.
emulated
Is this computer unofficially emulated? Required.
website
The website of the computer, optional.
blank
A spacer to put between parameters Optional.
start by adding "blank = " and then use the code " < span style= "color: #ECECEC" >blank < /span > " (remember to remove the spaces in the code or it wont work)