Jump to content

Template:Infobox hardware: Difference between revisions

From RetroTechCollection
No edit summary
No edit summary
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|Hardware Device}}}</caption>
| colspan="2" style="text-align:center;" | {{{image|[[File:No_image.svg|250px]]}}}
 
|-
<!-- ─── Logo  (optional) ─── -->
! Caption
{{#if:{{{logo|}}}|<tr><td colspan="2" style="text-align:center;">{{{logo}}}</td></tr>}}
| {{{caption|}}}
 
|-
<!-- ─── Main image ─── -->
! Type
<tr>
| {{{type|Unknown}}}
<td colspan="2" style="text-align:center;">{{{image|[[File:No_image.svg|260px|frameless]]}}}</td>
|-
</tr>
! Designer
{{#if:{{{caption|}}}|<tr><td colspan="2" style="text-align:center; font-size:85%;">''{{{caption}}}''</td></tr>}}
| {{{designer|Unknown}}}
 
|-
<!-- ─── Section header ─── -->
! Manufacturer
<tr><th colspan="2" style="background:#ddd;">Specifications</th></tr>
| {{{manufacturer|Unknown}}}
 
|-
<!-- ─── Spec rows: only appear if parameter supplied ─── -->
! Release Date
{{#if:{{{type|}}}|<tr><th style="width:40%;">Type</th><td>{{{type}}}</td></tr>}}
| {{{release_date|Unknown}}}
 
|-
{{#if:{{{designer|}}}|<tr><th>Designer</th><td>{{{designer}}}</td></tr>}}
! Discontinued
{{#if:{{{developer|}}}|<tr><th>Developer</th><td>{{{developer}}}</td></tr>}}
| {{{discontinued|Unknown}}}
<tr><th>Manufacturer</th><td>{{{manufacturer|Unknown}}}</td></tr>
|-
 
! Layers
{{#if:{{{release_date|{{{release date|}}}}}}|<tr><th>Released</th><td>{{{release_date|{{{release date}}}}}}</td></tr>}}
| {{{layers|Unknown}}}
{{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td>{{{discontinued}}}</td></tr>}}
|-
 
! Compatibility
{{#if:{{{latest_release|}}}|<tr><th>Latest rev.</th><td>{{{latest_release}}}</td></tr>}}
| {{{compatibility|Unknown}}}
{{#if:{{{price|}}}|<tr><th>Intro&nbsp;price</th><td>{{{price}}}</td></tr>}}
|-
 
! Features
{{#if:{{{layers|}}}|<tr><th>Layers&nbsp;/ PCB</th><td>{{{layers}}}</td></tr>}}
| {{{features|Unknown}}}
{{#if:{{{operating_voltage|}}}|<tr><th>Operating&nbsp;voltage</th><td>{{{operating_voltage}}}</td></tr>}}
|-
{{#if:{{{current_draw|}}}|<tr><th>Current&nbsp;draw</th><td>{{{current_draw}}}</td></tr>}}
! Model
 
| {{{model|Unknown}}}
{{#if:{{{compatibility|}}}|<tr><th>Compatibility</th><td>{{{compatibility}}}</td></tr>}}
|}
{{#if:{{{features|}}}|<tr><th>Key&nbsp;features</th><td>{{{features}}}</td></tr>}}
</includeonly><noinclude>
 
{{#if:{{{dimensions|}}}|<tr><th>Dimensions</th><td>{{{dimensions}}}</td></tr>}}
{{#if:{{{weight|}}}|<tr><th>Weight</th><td>{{{weight}}}</td></tr>}}
 
{{#if:{{{model|}}}|<tr><th>Model&nbsp;no.</th><td>{{{model}}}</td></tr>}}
</table></includeonly><noinclude>
== Usage ==
== Usage ==
To use this template on a page, copy and paste the following:
Place the template at the very top of an article (no blank line above). 
Only supply the parameters you need; empty ones are hidden automatically.


<pre>
<pre>
{{Infobox hardware
{{Infobox hardware
| name           = Macintosh SE/30 Reloaded Logic Board
| name           = C64 Saver 2.4
| image         = [[File:SE30_Reloaded_Board.jpg|250px]]
| logo            = [[File:C64_logo.svg|90px]]
| caption       = Fully assembled SE/30 Reloaded Logic Board
| image           = [[File:C64-Saver-Top.jpg|260px|frameless]]
| type           = Logic Board
| caption         = Open-hardware over-voltage protector
| designer      = Community Designed
| type           = Power-supply add-on
| manufacturer   = N/A
| designer       = Ray Carlsen
| release_date   = 2023
| developer       = Open-source community
| discontinued  = N/A
| manufacturer   = Various kit makers
| layers         = 4-layer PCB
| release_date   = 2016
| compatibility = Macintosh SE/30
| latest_release  = PCB v2.4 (2022)
| features       = Modern design, Apple ASICs, 32-bit clean ROM support
| layers         = 2-layer PCB
| model          = SE30RL
| operating_voltage = +5 V DC (monitored)
| current_draw    = &lt; 5 mA
| compatibility   = Commodore 64/64C, VIC-20 CR, SX-64
| features       = Adjustable 5.3 V trip, polyfuse, bi-colour LED
| model           = OpenC64Saver
| weight         = 28 g
}}
}}
</pre>
</pre>
[[Category:Infobox templates|Hardware]]
</noinclude>
</noinclude>

Revision as of 13:12, 24 April 2025

Usage

Place the template at the very top of an article (no blank line above). Only supply the parameters you need; empty ones are hidden automatically.

{{Infobox hardware
| name            = C64 Saver 2.4
| logo            = [[File:C64_logo.svg|90px]]
| image           = [[File:C64-Saver-Top.jpg|260px|frameless]]
| caption         = Open-hardware over-voltage protector
| type            = Power-supply add-on
| designer        = Ray Carlsen
| developer       = Open-source community
| manufacturer    = Various kit makers
| release_date    = 2016
| latest_release  = PCB v2.4 (2022)
| layers          = 2-layer PCB
| operating_voltage = +5 V DC (monitored)
| current_draw    = < 5 mA
| compatibility   = Commodore 64/64C, VIC-20 CR, SX-64
| features        = Adjustable 5.3 V trip, polyfuse, bi-colour LED
| model           = OpenC64Saver
| weight          = 28 g
}}