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:320px; float:right; margin-left:10px; background:#f9f9f9; border:1px solid #aaa; font-size:90%; line-height:1.4em;"
    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}}}
|+ style="font-size:125%; font-weight:bold; text-align:center;" | {{{name|Computer Model}}}


<!-- Logo (optional) -->
<!-- Logo (optional) -->
Line 16: Line 12:
<!-- Main image -->
<!-- Main image -->
|-
|-
| colspan="2" style="text-align:center;" |
| colspan="2" style="text-align:center;" | {{#if:{{{image|}}}
  {{#if:{{{image|}}}
                                        | {{{image}}}
  | {{{image}}}
                                        | [[File:No_image.svg|260px]]
  | [[File:No_image.svg|260px]]
                                        }}
  }}
{{#if:{{{caption|}}}
{{#if:{{{caption|}}}
  |-
  |-
  | colspan="2" style="font-size:85%; text-align:center;" | ''{{{caption}}}''
  | colspan="2" style="text-align:center; font-size:85%;" | ''{{{caption}}}''
}}
}}


<!-- Separator -->
|-
|-
| colspan="2" style="background:#ddd; text-align:center; font-weight:bold;" | Specifications
! colspan="2" style="background:#ddd;" | Specifications
 
<!-- Spec rows (each hidden if blank) -->
{{#if:{{{developer|}}} |-
! Developer
| {{{developer}}}}}


<!-- Two‑column spec rows – each suppressed if blank -->
{{#if:{{{developer|}}}
|-
! style="width:40%;" | Developer
| {{{developer}}}
}}
|-
|-
! Manufacturer
! Manufacturer
| {{{manufacturer|Unknown}}}
| {{{manufacturer|Unknown}}}
|-
|-
! Type
! Type
| {{{type|Personal computer}}}
| {{{type|Personal computer}}}
{{#if:{{{release_date|}}}
 
|-
{{#if:{{{release_date|{{{release date|}}}}}} |-
  ! Released
  ! Released
  | {{{release_date}}}
  | {{{release_date|{{{release date}}}}}}}}
}}
 
{{#if:{{{discontinued|}}}
{{#if:{{{discontinued|}}} |-
|-
  ! Discontinued
  ! Discontinued
  | {{{discontinued}}}
  | {{{discontinued}}}}}
}}
 
{{#if:{{{price|}}}
{{#if:{{{price|}}} |-
|-
  ! Intro price
  ! Intro price
  | {{{price}}}
  | {{{price}}}}}
}}
 
|-
|-
! CPU
! CPU
| {{{cpu|—}}}
| {{{cpu|—}}}
|-
|-
! Memory
! Memory
| {{{memory|—}}}
| {{{memory|—}}}
|-
|-
! Storage
! Storage
| {{{storage|—}}}
| {{{storage|—}}}
|-
|-
! Display
! Display
| {{{display|—}}}
| {{{display|—}}}
|-
|-
! Sound
! Sound
| {{{sound|—}}}
| {{{sound|—}}}
{{#if:{{{dimensions|}}}
 
|-
{{#if:{{{dimensions|}}} |-
  ! Dimensions
  ! Dimensions
  | {{{dimensions}}}
  | {{{dimensions}}}}}
}}
 
{{#if:{{{weight|}}}
{{#if:{{{weight|}}} |-
|-
  ! Weight
  ! Weight
  | {{{weight}}}
  | {{{weight}}}}}
}}
 
|-
|-
! OS / Firmware
! OS / Firmware
| {{{os|—}}}
| {{{os|—}}}
{{#if:{{{predecessor|}}}
 
|-
{{#if:{{{predecessor|}}} |-
  ! Predecessor
  ! Predecessor
  | {{{predecessor}}}
  | {{{predecessor}}}}}
}}
 
{{#if:{{{successor|}}}
{{#if:{{{successor|}}} |-
|-
  ! Successor
  ! Successor
  | {{{successor}}}
  | {{{successor}}}}}
}}
 
{{#if:{{{codename|}}}
{{#if:{{{codename|}}} |-
|-
  ! Codename
  ! Codename
  | {{{codename}}}
  | {{{codename}}}}}
}}
 
{{#if:{{{model|}}}
{{#if:{{{model|}}} |-
|-
  ! Model no.
  ! Model no.
  | {{{model}}}
  | {{{model}}}}}
}}


|}<!-- end infobox -->
|}
</includeonly>
</includeonly>


<noinclude>
<noinclude>
== Usage ==
== Usage ==
Paste the following skeleton into any computer article and fill in the fields you have—empty parameters are hidden automatically:
Copy‑and‑paste the skeleton below and fill only the fields you have; blank ones are hidden automatically.


<pre>
<pre>
{{Infobox computer
{{Infobox computer
| name          = Apple I
| name          = Apple I
| logo          = [[File:Apple Computer Inc Logo.svg|100px]]
| logo          = [[File:Apple Computer Inc Logo.svg|90px]]
| image        = [[File:Apple_I_motherboard.jpg|260px]]
| image        = [[File:Apple_I_motherboard.jpg|260px]]
| caption      = Original “NTI” board
| caption      = Original “NTI” board
Line 129: Line 120:
| storage      = Cassette interface @ 1200 baud
| storage      = Cassette interface @ 1200 baud
| display      = Composite video, 40 × 24 text
| display      = Composite video, 40 × 24 text
| sound        = None
| dimensions    = 15 in × 9 in PCB
| weight        = ≈ 1.6 lb
| os            = WOZ Monitor ROM
| os            = WOZ Monitor ROM
| predecessor  = —
| successor    = [[Apple II]]
| successor    = [[Apple II]]
| codename      = Apple‑1
| model        = Byte Shop & NTI revisions
| model        = Byte Shop & NTI revisions
}}
}}
</pre>
</pre>
Feel free to add or remove parameters as your articles require.
</noinclude>
</noinclude>

Revision as of 20:50, 19 April 2025


Usage

Copy‑and‑paste the skeleton below and fill only the fields you have; 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]]
| 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
}}