Jump to content

Template:Infobox computer: Difference between revisions

From RetroTechCollection
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| 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|Computer Model}}}'''
    Generic Infobox for RetroTechCollection computer articles
|-
    Fields left empty are automatically suppressed.
    ========================================================= -->
{| class="infobox" style="width:320px; float:right; margin-left:10px; background:#f9f9f9; border:1px solid #aaa; font-size:90%; line-height:1.45em;"
 
|+ style="font-size:125%; font-weight:bold;" | {{{name|Computer Model}}}
 
<!-- Logo (optional) -->
{{#if:{{{logo|}}}
{{#if:{{{logo|}}}
  | {{!}} colspan="2" style="text-align:center;" {{!}} {{{logo}}}
  |-
| colspan="2" style="text-align:center;" | {{{logo}}}
}}
}}
<!-- Main image -->
|-
|-
| colspan="2" style="text-align:center;" | {{{image|[[File:No_image.svg|250px]]}}}
| colspan="2" style="text-align:center;" |
  {{#if:{{{image|}}}
  | {{{image}}}
  | [[File:No_image.svg|260px]]
  }}
{{#if:{{{caption|}}}
|-
| colspan="2" style="font-size:85%; text-align:center;" | ''{{{caption}}}''
}}
 
<!-- Separator -->
|-
| colspan="2" style="background:#ddd; text-align:center; font-weight:bold;" | Specifications
 
<!-- Two‑column spec rows – each suppressed if blank -->
{{#if:{{{developer|}}}
|-
! style="width:40%;" | Developer
| {{{developer}}}
}}
|-
|-
! Manufacturer
! Manufacturer
Line 13: Line 41:
|-
|-
! Type
! Type
| {{{type|Personal Computer}}}
| {{{type|Personal computer}}}
|-
{{#if:{{{release_date|}}}
! Release Date
|-
| {{{release date|Unknown}}}
! Released
|-
| {{{release_date}}}
! Discontinued
}}
| {{{discontinued|Unknown}}}
{{#if:{{{discontinued|}}}
|-
|-
! Introductory Price
! Discontinued
| {{{price|Unknown}}}
| {{{discontinued}}}
}}
{{#if:{{{price|}}}
|-
! Intro price
| {{{price}}}
}}
|-
|-
! CPU
! CPU
| {{{cpu|Unknown}}}
| {{{cpu|}}}
|-
|-
! Memory
! Memory
| {{{memory|Unknown}}}
| {{{memory|}}}
|-
|-
! Storage
! Storage
| {{{storage|Unknown}}}
| {{{storage|}}}
|-
|-
! Display
! Display
| {{{display|Unknown}}}
| {{{display|}}}
|-
|-
! Sound
! Sound
| {{{sound|Unknown}}}
| {{{sound|}}}
{{#if:{{{dimensions|}}}
|-
! Dimensions
| {{{dimensions}}}
}}
{{#if:{{{weight|}}}
|-
! Weight
| {{{weight}}}
}}
|-
|-
! Dimensions
! OS / Firmware
| {{{dimensions|Unknown}}}
| {{{os|}}}
|-
{{#if:{{{predecessor|}}}
! Weight
|-
| {{{weight|Unknown}}}
! Predecessor
|-
| {{{predecessor}}}
! OS
}}
| {{{os|Unknown}}}
{{#if:{{{successor|}}}
|-
|-
! Predecessor
! Successor
| {{{predecessor|None}}}
| {{{successor}}}
|-
}}
! Successor
{{#if:{{{codename|}}}
| {{{successor|None}}}
|-
|-
! Codename
! Codename
| {{{codename}}}
| {{{codename|Unknown}}}
}}
|-
{{#if:{{{model|}}}
! Model
|-
| {{{model|Unknown}}}
! Model no.
|}
| {{{model}}}
</includeonly><noinclude>
}}
 
|}<!-- end infobox -->
</includeonly>
 
<noinclude>
== Usage ==
== Usage ==
To use this template on a page, copy and paste the following:
Paste the following skeleton into any computer article and fill in the fields you have—empty parameters are hidden automatically:


<pre>
<pre>
{{Infobox computer
{{Infobox computer
| name         = Macintosh 128K
| name         = Apple I
| logo         = [[File:Apple Computer Inc Logo.svg|100px]]
| logo         = [[File:Apple Computer Inc Logo.svg|100px]]
| image       = [[File:Macintosh128K.jpg|250px]]
| image         = [[File:Apple_I_motherboard.jpg|260px]]
| manufacturer = Apple Computer, Inc.
| caption      = Original “NTI” board
| type         = Personal Computer
| developer    = Apple Computer Company
| release date = January 24, 1984
| manufacturer = Apple Computer Company
| discontinued = October 1, 1985
| type         = Single‑board personal computer
| price       = US$2,495
| release_date  = April 11, 1976
| cpu         = Motorola 68000 @ 7.83 MHz
| discontinued = September 1977
| memory       = 128 KB RAM (not expandable)
| price         = US$666.66
| storage     = 400 KB 3.5" floppy drive
| cpu           = MOS 6502 @ 1 MHz
| display     = 9" monochrome CRT (512×342 pixels)
| memory       = 4 KB RAM (expandable to 48 KB)
| sound       = Monaural 8-bit, 22 kHz (4-voice)
| storage       = Cassette interface @ 1200 baud
| dimensions   = 13.6" H × 9.6" W × 10.9" D
| display       = Composite video, 40 × 24 text
| weight       = 16.5 lbs (7.5 kg)
| sound         = None
| os           = System 1.0 – System 3.2
| dimensions   = 15 in × 9 in PCB
| predecessor = None
| weight       = ≈ 1.6 lb
| successor   = [[Macintosh 512K]]
| os           = WOZ Monitor ROM
| codename     = Annie, Mac, Twiggy Mac
| predecessor   =
| model       = M0001
| successor     = [[Apple II]]
| codename     = Apple‑1
| model         = Byte Shop & NTI revisions
}}
}}
</pre>
</pre>
Feel free to add or remove parameters as your articles require.
</noinclude>
</noinclude>

Revision as of 20:48, 19 April 2025


Usage

Paste the following skeleton into any computer article and fill in the fields you have—empty parameters are hidden automatically:

{{Infobox computer
| name          = Apple I
| logo          = [[File:Apple Computer Inc Logo.svg|100px]]
| image         = [[File:Apple_I_motherboard.jpg|260px]]
| 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
| sound         = None
| dimensions    = 15 in × 9 in PCB
| weight        = ≈ 1.6 lb
| os            = WOZ Monitor ROM
| predecessor   = —
| successor     = [[Apple II]]
| codename      = Apple‑1
| model         = Byte Shop & NTI revisions
}}

Feel free to add or remove parameters as your articles require.