Template:Infobox hardware: Difference between revisions

No edit summary
No edit summary
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|Unknown}}}
 
|-
<!-- ─── Section header ─── -->
! Manufacturer
<tr><th colspan="2" style="background:#ddd;">Specifications</th></tr>
| {{{manufacturer|Unknown}}}
 
|-
<!-- ─── Spec rows: only appear if parameter supplied ─── -->
! Release&nbsp;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&nbsp;No.
 
| {{{model|Unknown}}}
{{#if:{{{compatibility|}}}|<tr><th>Compatibility</th><td>{{{compatibility}}}</td></tr>}}
|}</includeonly><noinclude>
{{#if:{{{features|}}}|<tr><th>Key&nbsp;features</th><td>{{{features}}}</td></tr>}}
 
{{#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 ==
Place the template at the very top of an article (no blank line above). 
Copy and fill only the fields you need (blank ones are hidden automatically):
Only supply the parameters you need; empty ones are hidden automatically.


<pre>
<pre>
{{Infobox hardware
{{Infobox hardware
| name           = C64 Saver 2.4
| name         = Macintosh SE/30 Reloaded Logic Board
| logo            = [[File:C64_logo.svg|90px]]
| image         = [[File:SE30_Reloaded_Board.jpg|250px]]
| image           = [[File:C64-Saver-Top.jpg|260px|frameless]]
| caption       = Fully-assembled SE/30 Reloaded board
| caption         = Open-hardware over-voltage protector
| type         = Logic board
| type           = Power-supply add-on
| designer     = Community project
| designer       = Ray Carlsen
| manufacturer =
| developer      = Open-source community
| release_date = 2023
| manufacturer   = Various kit makers
| discontinued =
| release_date   = 2016
| layers       = 4-layer PCB
| latest_release = PCB v2.4 (2022)
| compatibility = Macintosh SE/30
| layers         = 2-layer PCB
| features     = Modern layout, 32-bit-clean ROM
| operating_voltage = +5 V DC (monitored)
| model         = SE30RL
| 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>