Jump to content

Template:Infobox hardware: Difference between revisions

From RetroTechCollection
No edit summary
No edit summary
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>
<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;"
{| class="infobox" style="width: 300px; float: right; border-collapse: collapse; background-color: #f9f9f9; border: 1px solid #aaa; margin-left: 1em;"
|+ '''{{{name|Hardware Device}}}'''
! colspan="2" style="background-color: #606060; color: white; text-align: center;" | {{{title|{{PAGENAME}}}}}
|-
|-
{{#if: {{{image|}}} |
| colspan="2" style="text-align:center;" | {{{image|[[File:No_image.svg|250px]]}}}
| colspan="2" style="text-align: center;" | [[File:{{{image}}}|300px|alt={{{caption|}}}]]<br /><small>{{{caption|}}}</small>
|-
|-
}}
! Caption
{{#if: {{{type|}}} |
| {{{caption|}}}
! scope="row" style="text-align: left; padding: 5px;" | Type
|-
| style="padding: 5px;" | {{{type}}}
! Type
| {{{type|Unknown}}}
|-
! Designer
| {{{designer|{{{developer|Unknown}}}}}}<!-- accept either parameter -->
|-
! Manufacturer
| {{{manufacturer|Unknown}}}
|-
! First&nbsp;released
| {{{first_released|{{{release_date|Unknown}}}}}}
|-
! Latest&nbsp;revision
| {{{latest_release|{{{discontinued|—}}}}}}
|-
! Operating&nbsp;voltage
| {{{operating_voltage|—}}}
|-
|-
}}
! Layers&nbsp;/ PCB
{{#if: {{{designer|}}} |
| {{{layers|—}}}
! scope="row" style="text-align: left; padding: 5px;" | Designer
| style="padding: 5px;" | {{{designer}}}
|-
|-
}}
! Compatibility
{{#if: {{{layers|}}} |
| {{{compatibility|{{{application|}}}}}}
! scope="row" style="text-align: left; padding: 5px;" | Layers
| style="padding: 5px;" | {{{layers}}}
|-
|-
}}
! Features
{{#if: {{{compatibility|}}} |
| {{{features|—}}}
! scope="row" style="text-align: left; padding: 5px;" | Compatibility
| style="padding: 5px;" | {{{compatibility}}}
|-
|-
}}
! Model&nbsp;No.
{{#if: {{{features|}}} |
| {{{model|—}}}
! scope="row" style="text-align: left; padding: 5px;" | Features
|}</includeonly><noinclude>
| style="padding: 5px;" | {{{features}}}
|}}
|}
</includeonly>
<noinclude>
== Usage ==
== Usage ==
Use this template to create consistent hardware infoboxes across your pages.
=== Syntax ===
<pre>
{{Infobox hardware
| title        =
| image        =
| caption      =
| type          =
| designer      =
| layers        =
| compatibility =
| features      =
}}
</pre>
=== Example ===
<pre>
<pre>
{{Infobox hardware
{{Infobox hardware
| title        = Macintosh SE/30 Reloaded Logic Board
| name            = Commodore 64 Power-Supply Protector
| image         = SE30_Reloaded_Board.jpg
| image           = [[File:C64-Saver-Top.jpg|250px]]
| caption      = Fully assembled board
| caption         = A popular open-hardware implementation of the '''C64 Saver'''
| type         = Logic Board
| developer       = Ray Carlsen (original design)<br />open-hardware community
| designer      = Community Designed
| type           = External over-voltage / over-current protector
| layers        = 4-layer PCB
| first_released  = 2016 (C64 Saver 1.2)
| compatibility = Macintosh SE/30
| latest_release  = C64 Saver 2.4 PCB (2022)
| features      = Modern design, Original Apple ASIC integration
| operating_voltage = +5 V DC (monitored) • 9 VAC pass-through
| application    = Commodore 64 / 64C / SX-64 / VIC-20 CR (7-pin DIN)
}}
}}
</pre>
</pre>
 
Any of the optional fields may be omitted; blank rows are hidden automatically.
[[Category:Templates|Infobox 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.