Template:Infobox hardware: Difference between revisions

From RetroWikipedia
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
<!-- Template:Infobox hardware -->
<noinclude>
{{documentation}}
This template creates a standard hardware infobox for RetroWikipedia articles. 
It is intended for computers, peripherals, storage devices, controllers, and other physical hardware from the retro-computing era.
<!-- Template:Infobox hardware -->
<!-- Template:Infobox hardware -->
<includeonly>
<includeonly>
{| class="infobox" style="width:22em; font-size:90%; text-align:left; border:1px solid #aaa; background:#f9f9f9"
<table class="infobox" style="width:22em;font-size:90%;text-align:left;border:1px solid #aaa;background:#f9f9f9;border-collapse:collapse">
|-
  <tr>
! colspan="2" style="text-align:center; font-size:110%; background:#e0e0e0;" | {{{name|{{PAGENAME}}}}}
    <th colspan="2" style="text-align:center;font-size:110%;background:#e0e0e0;padding:6px">{{{name|{{PAGENAME}}}}}</th>
{{#if:{{{image|}}}|
  </tr>
|-
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|250px]]
}}
{{#if:{{{caption|}}}|
|-
| colspan="2" style="text-align:center; font-style:italic;" | {{{caption}}}
}}
{{#if:{{{developer|}}}| |-
! Developer
| {{{developer}}}
}}
{{#if:{{{manufacturer|}}}| |-
! Manufacturer
| {{{manufacturer}}}
}}
{{#if:{{{family|}}}| |-
! Family
| {{{family}}}
}}
{{#if:{{{release_date|}}}| |-
! Release date
| {{{release_date}}}
}}
{{#if:{{{discontinued|}}}| |-
! Discontinued
| {{{discontinued}}}
}}
{{#if:{{{intro_price|}}}| |-
! Introductory price
| {{{intro_price}}}
}}
{{#if:{{{unit_sold|}}}| |-
! Units sold
| {{{unit_sold}}}
}}
{{#if:{{{type|}}}| |-
! Type
| {{{type}}}
}}
{{#if:{{{generation|}}}| |-
! Generation
| {{{generation}}}
}}
{{#if:{{{predecessor|}}}| |-
! Predecessor
| {{{predecessor}}}
}}
{{#if:{{{successor|}}}| |-
! Successor
| {{{successor}}}
}}
{{#if:{{{cpu|}}}| |-
! CPU
| {{{cpu}}}
}}
{{#if:{{{coprocessor|}}}| |-
! Co‑processor
| {{{coprocessor}}}
}}
{{#if:{{{memory|}}}| |-
! Memory
| {{{memory}}}
}}
{{#if:{{{storage|}}}| |-
! Storage
| {{{storage}}}
}}
{{#if:{{{removable_storage|}}}| |-
! Removable storage
| {{{removable_storage}}}
}}
{{#if:{{{graphics|}}}| |-
! Graphics
| {{{graphics}}}
}}
{{#if:{{{sound|}}}| |-
! Sound
| {{{sound}}}
}}
{{#if:{{{display|}}}| |-
! Display
| {{{display}}}
}}
{{#if:{{{os|}}}| |-
! Operating system
| {{{os}}}
}}
{{#if:{{{connectivity|}}}| |-
! Connectivity
| {{{connectivity}}}
}}
{{#if:{{{connectors|}}}| |-
! Connectors
| {{{connectors}}}
}}
{{#if:{{{power|}}}| |-
! Power
| {{{power}}}
}}
{{#if:{{{dimensions|}}}| |-
! Dimensions
| {{{dimensions}}}
}}
{{#if:{{{weight|}}}| |-
! Weight
| {{{weight}}}
}}
{{#if:{{{related|}}}| |-
! Related
| {{{related}}}
}}
{{#if:{{{licensing|}}}| |-
! Licensing
| {{{licensing}}}
}}
{{#if:{{{website|}}}| |-
! Website
| {{{website}}}
}}
|}
</includeonly>
<noinclude>
This is the RetroWikipedia hardware infobox. Parameters are documented in talk or can be inferred from field names.
</noinclude>


== Parameters ==
  {{#if:{{{image|}}}|
; name : Device name (defaults to page name if blank)
  <tr>
; image : Filename of image without "File:" prefix
    <td colspan="2" style="text-align:center;padding:6px">[[File:{{{image}}}|250px]]</td>
; caption : Caption text under image
  </tr>}}
; developer : Designer, engineer, or original developer
; manufacturer : Company producing the device
; family : Product family name
; release_date : Year/month/year of release
; discontinued : Date when production ceased
; intro_price : Original retail price
; unit_sold : Approximate number of units sold
; type : Device category (e.g., "Home computer", "Game console")
; generation : Platform generation
; predecessor : Previous related model
; successor : Next related model
; cpu : Main processor
; coprocessor : Secondary processor(s)
; memory : RAM size and type
; storage : Internal storage
; removable_storage : Supported removable media
; graphics : GPU/graphics chipset
; sound : Audio hardware
; display : Built-in display specs
; os : Operating system(s) supported
; connectivity : Networking options
; connectors : Physical ports and connectors
; power : Power requirements
; dimensions : Physical dimensions
; weight : Weight
; related : Related hardware
; licensing : License type (e.g., "Open hardware")
; website : Official or archival website


== See also ==
  {{#if:{{{caption|}}}|
* [[Template:Infobox software]]
  <tr>
    <td colspan="2" style="text-align:center;font-style:italic;padding:2px 6px">{{{caption}}}</td>
  </tr>}}


</noinclude>
  {{#if:{{{developer|}}}|<tr><th style="width:35%;padding:4px">Developer</th><td style="padding:4px">{{{developer}}}</td></tr>}}
<includeonly>
  {{#if:{{{manufacturer|}}}|<tr><th style="padding:4px">Manufacturer</th><td style="padding:4px">{{{manufacturer}}}</td></tr>}}
{| class="infobox" style="width:22em; font-size:90%; text-align:left; border:1px solid #aaa; background-color:#f9f9f9"
  {{#if:{{{family|}}}|<tr><th style="padding:4px">Family</th><td style="padding:4px">{{{family}}}</td></tr>}}
|-
  {{#if:{{{release_date|}}}|<tr><th style="padding:4px">Release date</th><td style="padding:4px">{{{release_date}}}</td></tr>}}
! colspan="2" style="text-align:center; font-size:110%; background:#e0e0e0;" | {{{name|{{PAGENAME}}}}}
  {{#if:{{{discontinued|}}}|<tr><th style="padding:4px">Discontinued</th><td style="padding:4px">{{{discontinued}}}</td></tr>}}
|-
  {{#if:{{{intro_price|}}}|<tr><th style="padding:4px">Introductory price</th><td style="padding:4px">{{{intro_price}}}</td></tr>}}
{{#if:{{{image|}}}|
  {{#if:{{{unit_sold|}}}|<tr><th style="padding:4px">Units sold</th><td style="padding:4px">{{{unit_sold}}}</td></tr>}}
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|250px]]
  {{#if:{{{type|}}}|<tr><th style="padding:4px">Type</th><td style="padding:4px">{{{type}}}</td></tr>}}
}}
  {{#if:{{{generation|}}}|<tr><th style="padding:4px">Generation</th><td style="padding:4px">{{{generation}}}</td></tr>}}
{{#if:{{{caption|}}}|
  {{#if:{{{predecessor|}}}|<tr><th style="padding:4px">Predecessor</th><td style="padding:4px">{{{predecessor}}}</td></tr>}}
| colspan="2" style="text-align:center; font-style:italic;" | {{{caption}}}
  {{#if:{{{successor|}}}|<tr><th style="padding:4px">Successor</th><td style="padding:4px">{{{successor}}}</td></tr>}}
}}
  {{#if:{{{cpu|}}}|<tr><th style="padding:4px">CPU</th><td style="padding:4px">{{{cpu}}}</td></tr>}}
{{#if:{{{developer|}}}|
  {{#if:{{{coprocessor|}}}|<tr><th style="padding:4px">Co‑processor</th><td style="padding:4px">{{{coprocessor}}}</td></tr>}}
! Developer
  {{#if:{{{memory|}}}|<tr><th style="padding:4px">Memory</th><td style="padding:4px">{{{memory}}}</td></tr>}}
| {{{developer}}}
  {{#if:{{{storage|}}}|<tr><th style="padding:4px">Storage</th><td style="padding:4px">{{{storage}}}</td></tr>}}
}}
  {{#if:{{{removable_storage|}}}|<tr><th style="padding:4px">Removable storage</th><td style="padding:4px">{{{removable_storage}}}</td></tr>}}
{{#if:{{{manufacturer|}}}|
  {{#if:{{{graphics|}}}|<tr><th style="padding:4px">Graphics</th><td style="padding:4px">{{{graphics}}}</td></tr>}}
! Manufacturer
  {{#if:{{{sound|}}}|<tr><th style="padding:4px">Sound</th><td style="padding:4px">{{{sound}}}</td></tr>}}
| {{{manufacturer}}}
  {{#if:{{{display|}}}|<tr><th style="padding:4px">Display</th><td style="padding:4px">{{{display}}}</td></tr>}}
}}
  {{#if:{{{os|}}}|<tr><th style="padding:4px">Operating system</th><td style="padding:4px">{{{os}}}</td></tr>}}
{{#if:{{{family|}}}|
  {{#if:{{{connectivity|}}}|<tr><th style="padding:4px">Connectivity</th><td style="padding:4px">{{{connectivity}}}</td></tr>}}
! Family
  {{#if:{{{connectors|}}}|<tr><th style="padding:4px">Connectors</th><td style="padding:4px">{{{connectors}}}</td></tr>}}
| {{{family}}}
  {{#if:{{{power|}}}|<tr><th style="padding:4px">Power</th><td style="padding:4px">{{{power}}}</td></tr>}}
}}
  {{#if:{{{dimensions|}}}|<tr><th style="padding:4px">Dimensions</th><td style="padding:4px">{{{dimensions}}}</td></tr>}}
{{#if:{{{release_date|}}}|
  {{#if:{{{weight|}}}|<tr><th style="padding:4px">Weight</th><td style="padding:4px">{{{weight}}}</td></tr>}}
! Release date
  {{#if:{{{related|}}}|<tr><th style="padding:4px">Related</th><td style="padding:4px">{{{related}}}</td></tr>}}
| {{{release_date}}}
  {{#if:{{{licensing|}}}|<tr><th style="padding:4px">Licensing</th><td style="padding:4px">{{{licensing}}}</td></tr>}}
}}
  {{#if:{{{website|}}}|<tr><th style="padding:4px">Website</th><td style="padding:4px">{{{website}}}</td></tr>}}
{{#if:{{{discontinued|}}}|
</table>
! Discontinued
| {{{discontinued}}}
}}
{{#if:{{{intro_price|}}}|
! Introductory price
| {{{intro_price}}}
}}
{{#if:{{{unit_sold|}}}|
! Units sold
| {{{unit_sold}}}
}}
{{#if:{{{type|}}}|
! Type
| {{{type}}}
}}
{{#if:{{{generation|}}}|
! Generation
| {{{generation}}}
}}
{{#if:{{{predecessor|}}}|
! Predecessor
| {{{predecessor}}}
}}
{{#if:{{{successor|}}}|
! Successor
| {{{successor}}}
}}
{{#if:{{{cpu|}}}|
! CPU
| {{{cpu}}}
}}
{{#if:{{{coprocessor|}}}|
! Co-processor
| {{{coprocessor}}}
}}
{{#if:{{{memory|}}}|
! Memory
| {{{memory}}}
}}
{{#if:{{{storage|}}}|
! Storage
| {{{storage}}}
}}
{{#if:{{{removable_storage|}}}|
! Removable storage
| {{{removable_storage}}}
}}
{{#if:{{{graphics|}}}|
! Graphics
| {{{graphics}}}
}}
{{#if:{{{sound|}}}|
! Sound
| {{{sound}}}
}}
{{#if:{{{display|}}}|
! Display
| {{{display}}}
}}
{{#if:{{{os|}}}|
! Operating system
| {{{os}}}
}}
{{#if:{{{connectivity|}}}|
! Connectivity
| {{{connectivity}}}
}}
{{#if:{{{connectors|}}}|
! Connectors
| {{{connectors}}}
}}
{{#if:{{{power|}}}|
! Power
| {{{power}}}
}}
{{#if:{{{dimensions|}}}|
! Dimensions
| {{{dimensions}}}
}}
{{#if:{{{weight|}}}|
! Weight
| {{{weight}}}
}}
{{#if:{{{related|}}}|
! Related
| {{{related}}}
}}
{{#if:{{{licensing|}}}|
! Licensing
| {{{licensing}}}
}}
{{#if:{{{website|}}}|
! Website
| {{{website}}}
}}
|}
</includeonly>
</includeonly>
<noinclude>Hardware infobox for RetroWikipedia. All fields optional.</noinclude>

Latest revision as of 21:51, 11 August 2025


Hardware infobox for RetroWikipedia. All fields optional.