Jump to content

Template:Infobox computer: Difference between revisions

From RetroTechCollection
No edit summary
Tag: Reverted
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<includeonly><table class="infobox" style="width:320px; float:right; margin-left:10px; background:#f9f9f9; border:1px solid #aaa; font-size:90%; line-height:1.4em;">
{| class="infobox" style="width:300px; float:right; margin-left:10px; background:#f9f9f9; border:1px solid #aaa; padding:5px; font-size:90%; line-height:1.5em;"
 
|+ '''{{{name|Hardware Device}}}'''
<!-- Title --><caption style="font-size:125%; font-weight:bold; text-align:center;">{{{name|Computer Model}}}</caption><!-- Logo (optional) -->{{#if:{{{logo|}}}|<tr><td colspan="2" style="text-align:center;">{{{logo}}}</td></tr>}}
|-
 
| colspan="2" style="text-align:center;" | {{{image|[[File:No_image.svg|250px]]}}}
<!-- Main image --><tr><td colspan="2" style="text-align:center;">{{{image|[[File:No_image.svg|260px|frameless]]}}}</td></tr>{{#if:{{{caption|}}}|<tr><td colspan="2" style="text-align:center; font-size:85%;">''{{{caption}}}''</td></tr>}}<!-- Header --><tr><th colspan="2" style="background:#ddd;">Specifications</th></tr><!-- Spec rows (each row appears only if the parameter is not blank) -->{{#if:{{{developer|}}}|<tr><th style="width:40%;">Developer</th><td>{{{developer}}}</td></tr>}}
|-
 
! Caption
<tr><th>Manufacturer</th><td>{{{manufacturer|Unknown}}}</td></tr>
| {{{caption|}}}
<tr><th>Type</th><td>{{{type|Personal computer}}}</td></tr>
|-
{{#if:{{{release_date|{{{release date|}}}}}}|<tr><th>Released</th><td>{{{release_date|{{{release date}}}}}}</td></tr>}}
! Type
{{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td>{{{discontinued}}}</td></tr>}}
| {{{type|Unknown}}}
{{#if:{{{price|}}}|<tr><th>Intro&nbsp;price</th><td>{{{price}}}</td></tr>}}
|-
{{#if:{{{units_sold|}}}|<tr><th>Units&nbsp;sold</th><td>{{{units_sold}}}</td></tr>}}
! Designer
<tr><th>CPU</th><td>{{{cpu|—}}}</td></tr>
| {{{designer|Unknown}}}
<tr><th>Memory</th><td>{{{memory|—}}}</td></tr>
|-
<tr><th>Storage</th><td>{{{storage|—}}}</td></tr>
! Manufacturer
<tr><th>Display</th><td>{{{display|}}}</td></tr>
| {{{manufacturer|Unknown}}}
<tr><th>Sound</th><td>{{{sound|—}}}</td></tr>
|-
{{#if:{{{dimensions|}}}|<tr><th>Dimensions</th><td>{{{dimensions}}}</td></tr>}}
! Release Date
{{#if:{{{weight|}}}|<tr><th>Weight</th><td>{{{weight}}}</td></tr>}}
| {{{release_date|Unknown}}}
<tr><th>OS&nbsp;/ Firmware</th><td>{{{os|}}}</td></tr>
|-
{{#if:{{{predecessor|}}}|<tr><th>Predecessor</th><td>{{{predecessor}}}</td></tr>}}
! Discontinued
{{#if:{{{successor|}}}|<tr><th>Successor</th><td>{{{successor}}}</td></tr>}}
| {{{discontinued|Unknown}}}
{{#if:{{{codename|}}}|<tr><th>Codename</th><td>{{{codename}}}</td></tr>}}
|-
{{#if:{{{model|}}}|<tr><th>Model&nbsp;no.</th><td>{{{model}}}</td></tr>}}</table></includeonly><noinclude>
! Layers
| {{{layers|Unknown}}}
|-
! Compatibility
| {{{compatibility|Unknown}}}
|-
! Features
| {{{features|Unknown}}}
|-
! Model
| {{{model|Unknown}}}
|}
</includeonly><noinclude>
== Usage ==
== Usage ==
To use this template on a page, copy and paste the following:
Place the infobox **as the very first line** of the article with no blank lines above it; otherwise MediaWiki will create an empty paragraph that pushes content down.Example skeleton – supply only the fields you need (blank ones are hidden automatically):


<pre>
<pre>
{{Infobox hardware
{{Infobox computer
| name           = Macintosh SE/30 Reloaded Logic Board
| name         = Apple I
| image         = [[File:SE30_Reloaded_Board.jpg|250px]]
| logo          = [[File:Apple Computer Inc Logo.svg|90px]]
| caption       = Fully assembled SE/30 Reloaded Logic Board
| image         = [[File:Apple_I_motherboard.jpg|260px|frameless]]
| type          = Logic Board
| caption       = Original “NTI” board
| designer      = Community Designed
| developer    = Apple Computer Company
| manufacturer  = N/A
| manufacturer  = Apple Computer Company
| release_date   = 2023
| type          = Single‑board personal computer
| discontinued   = N/A
| release_date = April 11, 1976
| layers         = 4-layer PCB
| discontinued = September 1977
| compatibility  = Macintosh SE/30
| price         = US$666.66
| features       = Modern design, Apple ASICs, 32-bit clean ROM support
| cpu          = MOS 6502 @ 1 MHz
| model         = SE30RL
| memory        = 4 KB RAM (expandable to 48 KB)
| storage      = Cassette interface @ 1200 baud
| display       = Composite video, 40 × 24 text
| os            = WOZ Monitor ROM
| successor    = [[Apple II]]
| model         = Byte Shop & NTI revisions
}}
}}
</pre>
</pre></noinclude>
</noinclude>

Latest revision as of 22:22, 19 April 2025

Place the infobox **as the very first line** of the article with no blank lines above it; otherwise MediaWiki will create an empty paragraph that pushes content down.Example skeleton – supply only the fields you need (blank ones are hidden automatically):

{{Infobox computer
| name          = Apple I
| logo          = [[File:Apple Computer Inc Logo.svg|90px]]
| image         = [[File:Apple_I_motherboard.jpg|260px|frameless]]
| caption       = Original “NTI” board
| developer     = Apple Computer Company
| manufacturer  = Apple Computer Company
| type          = Single‑board personal computer
| release_date  = April 11, 1976
| discontinued  = September 1977
| price         = US$666.66
| cpu           = MOS 6502 @ 1 MHz
| memory        = 4 KB RAM (expandable to 48 KB)
| storage       = Cassette interface @ 1200 baud
| display       = Composite video, 40 × 24 text
| os            = WOZ Monitor ROM
| successor     = [[Apple II]]
| model         = Byte Shop & NTI revisions
}}