Template:Infobox computer hardware: Difference between revisions
Appearance
Create Infobox computer hardware template — modelled on Infobox computer with processor/IC-specific fields |
Collapse all blank lines inside <includeonly> — they were generating empty paragraphs that pushed content down on transcluding pages |
||
| 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><table class="infobox" style="width:320px; float:right; margin-left:10px; background:#f9f9f9; border:1px solid #aaa; font-size:90%; line-height:1.4em;"><caption style="font-size:125%; font-weight:bold; text-align:center;">{{{name|Hardware Component}}}</caption>{{#if:{{{logo|}}}|<tr><td colspan="2" style="text-align:center;">{{{logo}}}</td></tr>}}<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>}}<tr><th colspan="2" style="background:#ddd;">Specifications</th></tr>{{#if:{{{developer|}}}|<tr><th style="width:40%;">Developer</th><td>{{{developer}}}</td></tr>}}<tr><th>Manufacturer</th><td>{{{manufacturer|Unknown}}}</td></tr><tr><th>Type</th><td>{{{type|Microprocessor}}}</td></tr>{{#if:{{{introduced|{{{release_date|{{{release date|}}}}}}}}}|<tr><th>Introduced</th><td>{{{introduced|{{{release_date|{{{release date}}}}}}}}}</td></tr>}}{{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td>{{{discontinued}}}</td></tr>}}{{#if:{{{arch|{{{architecture|}}}}}}|<tr><th>Architecture</th><td>{{{arch|{{{architecture}}}}}}</td></tr>}}{{#if:{{{data_width|{{{datawidth|}}}}}}|<tr><th>Data width</th><td>{{{data_width|{{{datawidth}}}}}}</td></tr>}}{{#if:{{{address_width|{{{addresswidth|}}}}}}|<tr><th>Address width</th><td>{{{address_width|{{{addresswidth}}}}}}</td></tr>}}{{#if:{{{clock|{{{frequency|}}}}}}|<tr><th>Clock rate</th><td>{{{clock|{{{frequency}}}}}}</td></tr>}}{{#if:{{{cache|}}}|<tr><th>Cache</th><td>{{{cache}}}</td></tr>}}{{#if:{{{process|}}}|<tr><th>Process</th><td>{{{process}}}</td></tr>}}{{#if:{{{transistors|}}}|<tr><th>Transistors / gates</th><td>{{{transistors}}}</td></tr>}}{{#if:{{{package|}}}|<tr><th>Package</th><td>{{{package}}}</td></tr>}}{{#if:{{{socket|}}}|<tr><th>Socket</th><td>{{{socket}}}</td></tr>}}{{#if:{{{voltage|{{{vcc|}}}}}}|<tr><th>Voltage</th><td>{{{voltage|{{{vcc}}}}}}</td></tr>}}{{#if:{{{power|}}}|<tr><th>Power</th><td>{{{power}}}</td></tr>}}{{#if:{{{instruction_set|{{{isa|}}}}}}|<tr><th>Instruction set</th><td>{{{instruction_set|{{{isa}}}}}}</td></tr>}}{{#if:{{{used_in|{{{application|}}}}}}|<tr><th>Used in</th><td>{{{used_in|{{{application}}}}}}</td></tr>}}{{#if:{{{predecessor|}}}|<tr><th>Predecessor</th><td>{{{predecessor}}}</td></tr>}}{{#if:{{{successor|}}}|<tr><th>Successor</th><td>{{{successor}}}</td></tr>}}{{#if:{{{codename|}}}|<tr><th>Codename</th><td>{{{codename}}}</td></tr>}}{{#if:{{{model|{{{part|}}}}}}|<tr><th>Part number</th><td>{{{model|{{{part}}}}}}</td></tr>}}</table></includeonly><noinclude> | ||
<tr><th>Manufacturer</th><td>{{{manufacturer|Unknown}}}</td></tr> | |||
<tr><th>Type</th><td>{{{type|Microprocessor}}}</td></tr> | |||
{{#if:{{{introduced|{{{release_date|{{{release date|}}}}}}}}}|<tr><th>Introduced</th><td>{{{introduced|{{{release_date|{{{release date}}}}}}}}}</td></tr>}} | |||
{{#if:{{{discontinued|}}}|<tr><th>Discontinued</th><td>{{{discontinued}}}</td></tr>}} | |||
{{#if:{{{arch|{{{architecture|}}}}}}|<tr><th>Architecture</th><td>{{{arch|{{{architecture}}}}}}</td></tr>}} | |||
{{#if:{{{data_width|{{{datawidth|}}}}}}|<tr><th>Data width</th><td>{{{data_width|{{{datawidth}}}}}}</td></tr>}} | |||
{{#if:{{{address_width|{{{addresswidth|}}}}}}|<tr><th>Address width</th><td>{{{address_width|{{{addresswidth}}}}}}</td></tr>}} | |||
{{#if:{{{clock|{{{frequency|}}}}}}|<tr><th>Clock rate</th><td>{{{clock|{{{frequency}}}}}}</td></tr>}} | |||
{{#if:{{{cache|}}}|<tr><th>Cache</th><td>{{{cache}}}</td></tr>}} | |||
{{#if:{{{process|}}}|<tr><th>Process</th><td>{{{process}}}</td></tr>}} | |||
{{#if:{{{transistors|}}}|<tr><th>Transistors / gates</th><td>{{{transistors}}}</td></tr>}} | |||
{{#if:{{{package|}}}|<tr><th>Package</th><td>{{{package}}}</td></tr>}} | |||
{{#if:{{{socket|}}}|<tr><th>Socket</th><td>{{{socket}}}</td></tr>}} | |||
{{#if:{{{voltage|{{{vcc|}}}}}}|<tr><th>Voltage</th><td>{{{voltage|{{{vcc}}}}}}</td></tr>}} | |||
{{#if:{{{power|}}}|<tr><th>Power</th><td>{{{power}}}</td></tr>}} | |||
{{#if:{{{instruction_set|{{{isa|}}}}}}|<tr><th>Instruction set</th><td>{{{instruction_set|{{{isa}}}}}}</td></tr>}} | |||
{{#if:{{{used_in|{{{application|}}}}}}|<tr><th>Used in</th><td>{{{used_in|{{{application}}}}}}</td></tr>}} | |||
{{#if:{{{predecessor|}}}|<tr><th>Predecessor</th><td>{{{predecessor}}}</td></tr>}} | |||
{{#if:{{{successor|}}}|<tr><th>Successor</th><td>{{{successor}}}</td></tr>}} | |||
{{#if:{{{codename|}}}|<tr><th>Codename</th><td>{{{codename}}}</td></tr>}} | |||
{{#if:{{{model|{{{part|}}}}}}|<tr><th>Part number</th><td>{{{model|{{{part}}}}}}</td></tr>}}</table></includeonly><noinclude> | |||
== Usage == | == Usage == | ||
Infobox template for hardware components (microprocessors, chipsets, controllers, expansion cards). Place the infobox '''as the very first line''' of the article with no blank lines above it; otherwise MediaWiki will create an empty paragraph that pushes content down. | Infobox template for hardware components (microprocessors, chipsets, controllers, expansion cards). Place the infobox '''as the very first line''' of the article with no blank lines above it; otherwise MediaWiki will create an empty paragraph that pushes content down. | ||
| Line 53: | Line 27: | ||
| used_in = [[IBM PC (5150)]], NEC PC-9801, Olivetti M24 | | used_in = [[IBM PC (5150)]], NEC PC-9801, Olivetti M24 | ||
| successor = [[Intel 80186|80186]], [[Intel 80286|80286]] | | successor = [[Intel 80186|80186]], [[Intel 80286|80286]] | ||
| model = 8086 | | model = 8086 | ||
}} | }} | ||
| Line 66: | Line 39: | ||
| name || Component name shown as the infobox title | | name || Component name shown as the infobox title | ||
|- | |- | ||
| logo || Optional logo image | | logo || Optional logo image | ||
|- | |- | ||
| image || Main image of the component | | image || Main image of the component | ||
| Line 82: | Line 55: | ||
| discontinued || Discontinuation date | | discontinued || Discontinuation date | ||
|- | |- | ||
| arch (or architecture) || Architecture family | | arch (or architecture) || Architecture family | ||
|- | |- | ||
| data_width || Data path bit width | | data_width || Data path bit width | ||
| Line 98: | Line 71: | ||
| package || IC package type | | package || IC package type | ||
|- | |- | ||
| socket || CPU socket type | | socket || CPU socket type | ||
|- | |- | ||
| voltage (or vcc) || Operating voltage | | voltage (or vcc) || Operating voltage | ||
| Line 114: | Line 87: | ||
| codename || Internal development codename | | codename || Internal development codename | ||
|- | |- | ||
| model (or part) || Part | | model (or part) || Part number | ||
|} | |} | ||
[[Category:Templates]] | [[Category:Templates]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 17:00, 23 May 2026
Usage
[edit source]Infobox template for hardware components (microprocessors, chipsets, controllers, expansion cards). Place the infobox as the very first line of the article with no blank lines above it; otherwise MediaWiki will create an empty paragraph that pushes content down.
Example skeleton — supply only the fields you need (blank ones are hidden automatically):
{{Infobox computer hardware
| name = Intel 8086
| logo = [[File:Intel logo.svg|90px]]
| image = [[File:Intel 8086.jpg|260px|frameless]]
| caption = Intel 8086 in DIP-40 package
| developer = Intel Corporation
| manufacturer = Intel
| type = 16-bit microprocessor
| introduced = June 8, 1978
| discontinued = September 1998
| arch = x86
| data_width = 16 bits
| address_width = 20 bits (1 MB)
| clock = 5–10 MHz
| process = 3 µm HMOS
| transistors = 29,000
| package = DIP-40, PLCC-44, CLCC-44
| voltage = +5 V
| instruction_set = x86 (8086 ISA)
| used_in = [[IBM PC (5150)]], NEC PC-9801, Olivetti M24
| successor = [[Intel 80186|80186]], [[Intel 80286|80286]]
| model = 8086
}}
Field reference
[edit source]| Field | Description |
|---|---|
| name | Component name shown as the infobox title |
| logo | Optional logo image |
| image | Main image of the component |
| caption | Caption shown below the main image |
| developer | Who designed the part |
| manufacturer | Who manufactures the part |
| type | Microprocessor, chipset, controller, etc. |
| introduced (or release_date) | Initial release date |
| discontinued | Discontinuation date |
| arch (or architecture) | Architecture family |
| data_width | Data path bit width |
| address_width | Address bus bit width |
| clock (or frequency) | Clock frequency |
| cache | L1/L2/L3 cache sizes |
| process | Semiconductor process node |
| transistors | Transistor count or gate count |
| package | IC package type |
| socket | CPU socket type |
| voltage (or vcc) | Operating voltage |
| power | Power consumption |
| instruction_set (or isa) | Instruction set architecture |
| used_in (or application) | Systems where this part is used |
| predecessor | Previous-generation part |
| successor | Next-generation part |
| codename | Internal development codename |
| model (or part) | Part number |