Jump to content

Template:Infobox hardware: Difference between revisions

From RetroTechCollection
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<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;">
<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|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|{{{developer|Unknown}}}}}}<!-- accept either parameter -->
 
|-
<!-- ─── Section header ─── -->
! Manufacturer
<tr><th colspan="2" style="background:#ddd;">Specifications</th></tr>
| {{{manufacturer|Unknown}}}
 
|-
<!-- ─── Spec rows: only appear if parameter supplied ─── -->
! First&nbsp;released
{{#if:{{{type|}}}|<tr><th style="width:40%;">Type</th><td>{{{type}}}</td></tr>}}
| {{{first_released|{{{release_date|Unknown}}}}}}
 
|-
{{#if:{{{designer|}}}|<tr><th>Designer</th><td>{{{designer}}}</td></tr>}}
! Latest&nbsp;revision
{{#if:{{{developer|}}}|<tr><th>Developer</th><td>{{{developer}}}</td></tr>}}
| {{{latest_release|{{{discontinued|—}}}}}}
<tr><th>Manufacturer</th><td>{{{manufacturer|Unknown}}}</td></tr>
|-
 
! Operating&nbsp;voltage
{{#if:{{{release_date|{{{release date|}}}}}}|<tr><th>Released</th><td>{{{release_date|{{{release date}}}}}}</td></tr>}}
| {{{operating_voltage|}}}
{{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td>{{{discontinued}}}</td></tr>}}
|-
 
! Layers&nbsp;/ PCB
{{#if:{{{latest_release|}}}|<tr><th>Latest rev.</th><td>{{{latest_release}}}</td></tr>}}
| {{{layers|}}}
{{#if:{{{price|}}}|<tr><th>Intro&nbsp;price</th><td>{{{price}}}</td></tr>}}
|-
 
! Compatibility
{{#if:{{{layers|}}}|<tr><th>Layers&nbsp;/ PCB</th><td>{{{layers}}}</td></tr>}}
| {{{compatibility|{{{application|}}}}}}
{{#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>}}
! Features
 
| {{{features|}}}
{{#if:{{{compatibility|}}}|<tr><th>Compatibility</th><td>{{{compatibility}}}</td></tr>}}
|-
{{#if:{{{features|}}}|<tr><th>Key&nbsp;features</th><td>{{{features}}}</td></tr>}}
! Model&nbsp;No.
 
| {{{model|—}}}
{{#if:{{{dimensions|}}}|<tr><th>Dimensions</th><td>{{{dimensions}}}</td></tr>}}
|}</includeonly><noinclude>
{{#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 ==
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            = C64 Saver 2.4
| name            = Commodore 64 Power-Supply Protector
| logo            = [[File:C64_logo.svg|90px]]
| image          = [[File:C64-Saver-Top.jpg|250px]]
| image          = [[File:C64-Saver-Top.jpg|260px|frameless]]
| caption        = A popular open-hardware implementation of the '''C64 Saver'''
| caption        = Open-hardware over-voltage protector
| developer      = Ray Carlsen (original design)<br />open-hardware community
| type            = Power-supply add-on
| type            = External over-voltage / over-current protector
| designer        = Ray Carlsen
| first_released  = 2016 (C64 Saver 1.2)
| developer      = Open-source community
| latest_release  = C64 Saver 2.4 PCB (2022)
| manufacturer    = Various kit makers
| operating_voltage = +5 V DC (monitored) • 9 VAC pass-through
| release_date    = 2016
| application    = Commodore 64 / 64C / SX-64 / VIC-20 CR (7-pin DIN)
| latest_release  = PCB v2.4 (2022)
| layers          = 2-layer PCB
| 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>
 
Any of the optional fields may be omitted; blank rows are hidden automatically.
[[Category:Infobox templates|Hardware]]
</noinclude>
</noinclude>

Latest revision as of 13:18, 24 April 2025

{{Infobox hardware
| name            = Commodore 64 Power-Supply Protector
| image           = [[File:C64-Saver-Top.jpg|250px]]
| caption         = A popular open-hardware implementation of the '''C64 Saver'''
| developer       = Ray Carlsen (original design)<br />open-hardware community
| type            = External over-voltage / over-current protector
| first_released  = 2016 (C64 Saver 1.2)
| latest_release  = C64 Saver 2.4 PCB (2022)
| operating_voltage = +5 V DC (monitored) • 9 VAC pass-through
| application     = Commodore 64 / 64C / SX-64 / VIC-20 CR (7-pin DIN)
}}

Any of the optional fields may be omitted; blank rows are hidden automatically.