Template:Infobox hardware: Difference between revisions
Appearance
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;"> | ||
<!-- ─── Title ─── --> | |||
|- | <caption style="font-size:125%; font-weight:bold; text-align:center;">{{{name|Hardware Device}}}</caption> | ||
|- | <!-- ─── Logo (optional) ─── --> | ||
{{#if:{{{logo|}}}|<tr><td colspan="2" style="text-align:center;">{{{logo}}}</td></tr>}} | |||
<!-- ─── Main image ─── --> | |||
! | <tr> | ||
<td colspan="2" style="text-align:center;">{{{image|[[File:No_image.svg|260px|frameless]]}}}</td> | |||
| | </tr> | ||
{{#if:{{{caption|}}}|<tr><td colspan="2" style="text-align:center; font-size:85%;">''{{{caption}}}''</td></tr>}} | |||
| {{{designer| | |||
| | <!-- ─── Section header ─── --> | ||
<tr><th colspan="2" style="background:#ddd;">Specifications</th></tr> | |||
| | <!-- ─── Spec rows: only appear if parameter supplied ─── --> | ||
{{#if:{{{type|}}}|<tr><th style="width:40%;">Type</th><td>{{{type}}}</td></tr>}} | |||
| {{{release_date| | |||
| | {{#if:{{{designer|}}}|<tr><th>Designer</th><td>{{{designer}}}</td></tr>}} | ||
{{#if:{{{developer|}}}|<tr><th>Developer</th><td>{{{developer}}}</td></tr>}} | |||
| {{{ | <tr><th>Manufacturer</th><td>{{{manufacturer|Unknown}}}</td></tr> | ||
| | |||
{{#if:{{{release_date|{{{release date|}}}}}}|<tr><th>Released</th><td>{{{release_date|{{{release date}}}}}}</td></tr>}} | |||
| {{{layers| | {{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td>{{{discontinued}}}</td></tr>}} | ||
| | |||
{{#if:{{{latest_release|}}}|<tr><th>Latest rev.</th><td>{{{latest_release}}}</td></tr>}} | |||
| {{{compatibility| | {{#if:{{{price|}}}|<tr><th>Intro price</th><td>{{{price}}}</td></tr>}} | ||
| | |||
{{#if:{{{layers|}}}|<tr><th>Layers / PCB</th><td>{{{layers}}}</td></tr>}} | |||
| {{{ | {{#if:{{{operating_voltage|}}}|<tr><th>Operating voltage</th><td>{{{operating_voltage}}}</td></tr>}} | ||
| | {{#if:{{{current_draw|}}}|<tr><th>Current draw</th><td>{{{current_draw}}}</td></tr>}} | ||
{{#if:{{{compatibility|}}}|<tr><th>Compatibility</th><td>{{{compatibility}}}</td></tr>}} | |||
|} | {{#if:{{{features|}}}|<tr><th>Key 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 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 | | name = C64 Saver 2.4 | ||
| image | | logo = [[File:C64_logo.svg|90px]] | ||
| caption | | image = [[File:C64-Saver-Top.jpg|260px|frameless]] | ||
| type | | caption = Open-hardware over-voltage protector | ||
| designer = | | type = Power-supply add-on | ||
| manufacturer | | designer = Ray Carlsen | ||
| release_date | | developer = Open-source community | ||
| | | manufacturer = Various kit makers | ||
| layers | | release_date = 2016 | ||
| compatibility | | latest_release = PCB v2.4 (2022) | ||
| features | | layers = 2-layer PCB | ||
| model = | | 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 | |||
}} | }} | ||
</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
}}