Jump to content

Template:Infobox hardware: Difference between revisions

From RetroTechCollection
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
<includeonly>
{| class="infobox" style="width:25em; font-size:90%; border:1px solid #aaa; background-color:#f9f9f9; margin:0.5em 1em 0.5em 0; padding:0.2em; float:right; clear:right;"
{| 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;"
! colspan="2" style="background-color:#ccccff; font-size:120%; text-align:center;" | {{{title|{{PAGENAME}}}}}
|+ '''{{{title|Hardware}}}'''
{{#if:{{{image|}}}|
|-
|-
| colspan="2" style="text-align:center;" | [[File:{{{image}}}|300px]]
| colspan="2" style="text-align:center;" | {{{image|[[File:No_image.svg|250px]]}}}
}}
{{#if:{{{caption|}}}|
{{#if:{{{caption|}}}|
|-
|-
Line 12: Line 10:
{{#if:{{{type|}}}|
{{#if:{{{type|}}}|
|-
|-
! style="text-align:left; background-color:#eeeeff; width:35%;" | Type
! Type
| {{{type}}}
| {{{type}}}
}}
}}
{{#if:{{{designer|}}}|
{{#if:{{{designer|}}}|
|-
|-
! style="text-align:left; background-color:#eeeeff;" | Designer
! Designer
| {{{designer}}}
| {{{designer}}}
}}
}}
{{#if:{{{manufacturer|}}}|
{{#if:{{{manufacturer|}}}|
|-
|-
! style="text-align:left; background-color:#eeeeff;" | Manufacturer
! Manufacturer
| {{{manufacturer}}}
| {{{manufacturer}}}
}}
}}
{{#if:{{{layers|}}}|
{{#if:{{{layers|}}}|
|-
|-
! style="text-align:left; background-color:#eeeeff;" | Layers
! Layers
| {{{layers}}}
| {{{layers}}}
}}
}}
{{#if:{{{release_date|}}}|
{{#if:{{{release_date|}}}|
|-
|-
! style="text-align:left; background-color:#eeeeff;" | Release Date
! Release Date
| {{{release_date}}}
| {{{release_date}}}
}}
}}
{{#if:{{{compatibility|}}}|
{{#if:{{{compatibility|}}}|
|-
|-
! style="text-align:left; background-color:#eeeeff;" | Compatibility
! Compatibility
| {{{compatibility}}}
| {{{compatibility}}}
}}
}}
{{#if:{{{features|}}}|
{{#if:{{{features|}}}|
|-
|-
! style="text-align:left; background-color:#eeeeff;" | Features
! Features
| {{{features}}}
| {{{features}}}
}}
}}
Line 50: Line 48:
<noinclude>
<noinclude>
== Usage ==
== Usage ==
To use this template, copy and paste the following example and customize the fields:
<pre>
<pre>
{{Infobox hardware
{{Infobox hardware
| title         = Name of the Hardware
| title         = Macintosh SE/30 Reloaded Logic Board
| image         = example.jpg
| image         = [[File:SE30_Reloaded_Board.jpg|250px]]
| caption       = Description of the image
| caption       = Fully assembled SE/30 Reloaded Logic Board
| type         = Hardware type (e.g. Logic Board)
| type           = Logic Board
| designer     = Name of designer
| designer       = Community Designed
| manufacturer = Manufacturer (optional)
| manufacturer   = (Optional)
| layers       = PCB layers or details
| layers         = 4-layer PCB
| release_date = Release date (optional)
| release_date   = (Optional)
| compatibility = Compatible models or hardware
| compatibility = Macintosh SE/30
| features     = Main features
| features       = Modern design, Original Apple ASIC integration
}}
}}
</pre>
</pre>


== Example ==
== Parameters ==
<pre>
* '''title''': Hardware name
{{Infobox hardware
* '''image''': Image of the hardware (use MediaWiki File syntax)
| title         = Macintosh SE/30 Reloaded Logic Board
* '''caption''': Image caption (optional)
| image         = SE30_Reloaded_Board.jpg
* '''type''': Type of hardware
| caption       = Fully assembled SE/30 Reloaded Logic Board
* '''designer''': Designer(s)
| type         = Logic Board
* '''manufacturer''': Manufacturer (optional)
| designer     = Community Designed
* '''layers''': PCB details or layers (optional)
| layers       = 4-layer PCB
* '''release_date''': Date released (optional)
| compatibility = Macintosh SE/30
* '''compatibility''': Compatible systems or hardware
| features     = Modern design, Original Apple ASIC integration
* '''features''': Main features or highlights
}}
 
</pre>
</noinclude>
</noinclude>

Revision as of 19:21, 29 March 2025


Usage

To use this template, copy and paste the following example and customize the fields:

{{Infobox hardware
| title          = Macintosh SE/30 Reloaded Logic Board
| image          = [[File:SE30_Reloaded_Board.jpg|250px]]
| caption        = Fully assembled SE/30 Reloaded Logic Board
| type           = Logic Board
| designer       = Community Designed
| manufacturer   = (Optional)
| layers         = 4-layer PCB
| release_date   = (Optional)
| compatibility  = Macintosh SE/30
| features       = Modern design, Original Apple ASIC integration
}}

Parameters

  • title: Hardware name
  • image: Image of the hardware (use MediaWiki File syntax)
  • caption: Image caption (optional)
  • type: Type of hardware
  • designer: Designer(s)
  • manufacturer: Manufacturer (optional)
  • layers: PCB details or layers (optional)
  • release_date: Date released (optional)
  • compatibility: Compatible systems or hardware
  • features: Main features or highlights