Template:Infobox computer hardware
Connects to |
{{#if:| via{{#if:| one of:|:}}}}{{#if:|
}} {{#if:|{{#if:| via{{#if:| one of:|:}}}}{{#if:|
{{#if:|{{#if:| via{{#if:| one of:|:}}}}{{#if:|
{{#if:|{{#if:| via{{#if:| one of:|:}}}}{{#if:|
|
---|---|
{{#if:|Product classes}} |
{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }} |
{{#if:|Common manufacturers}} |
{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }} |
{{#ifeq:infobox computer hardware |doc
|
{{#ifeq:show |show
|40px | This is a documentation subpage for Template:Infobox computer hardware. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:Template |User |template template page |{{#if:Template |template page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:Template:Infobox computer hardware | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
This is for generic pieces of computer hardware that don't have more specific infoboxes, such as hard drives, motherboards, CD-ROMs etc. It should not be used for hardware such as CPUs that have their own specific infoboxes. External hardware should not use this box either.
Contents
Usage
[[File:{{{logo}}}|{{{logo-size}}}]] {{{logo_caption}}} | |
[[File:{{{image}}}|{{{image-size}}}]] {{{caption}}} | |
Date invented | {{{invent-date}}} |
---|---|
Invented by | {{{invent-name}}} |
Connects to |
{{{conn1}}}{{#if:{{{via1_1}}}| via{{#if:{{{via1_2}}}| one of:|:}}}}{{#if:{{{via1_1}}}|
}} {{#if:{{{conn2}}}|{{{conn2}}}{{#if:{{{via2_1}}}| via{{#if:{{{via2_2}}}| one of:|:}}}}{{#if:{{{via2_1}}}|
{{#if:{{{conn3}}}|{{{conn3}}}{{#if:{{{via3_1}}}| via{{#if:{{{via3_2}}}| one of:|:}}}}{{#if:{{{via3_1}}}|
{{#if:{{{conn4}}}|{{{conn4}}}{{#if:{{{via4_1}}}| via{{#if:{{{via4_2}}}| one of:|:}}}}{{#if:{{{via4_1}}}|
|
{{#if:{{{class1}}}|{{{class-name}}}}} |
{{{class1}}}{{#if:{{{class2}}}| {{{class2}}}}}{{#if:{{{class3}}}| {{{class3}}}}}{{#if:{{{class4}}}| {{{class4}}}}}{{#if:{{{class5}}}| {{{class5}}}}}{{#if:{{{class6}}}| {{{class6}}}}} |
{{#if:{{{manuf1}}}|Common manufacturers}} |
{{{manuf1}}}{{#if:{{{manuf2}}}| {{{manuf2}}}}}{{#if:{{{manuf3}}}| {{{manuf3}}}}}{{#if:{{{manuf4}}}| {{{manuf4}}}}}{{#if:{{{manuf5}}}| {{{manuf5}}}}}{{#if:{{{manuf6}}}| {{{manuf6}}}}}{{#if:{{{manuf7}}}| {{{manuf7}}}}} |
Design firm | {{{designfirm}}} |
Manufacturer | {{{manufacturer}}} |
Introduced | {{{introduced}}} |
Discontinued | {{{discontinued}}} |
Cost | {{{cost}}} |
Type | {{{type}}} |
Processor | {{{processor}}} |
Frequency | {{{frequency}}} |
Memory | {{{memory}}} |
Slots | {{{slots}}} |
ROM | {{{rom}}} |
Coprocessor | {{{coprocessor}}} |
Connection | {{{connection}}} |
Ports | {{{ports}}} |
Power consumption | {{{power}}} |
Color | {{{color}}} |
DPI | {{{dpi}}} |
Speed | {{{speed}}} |
Language | {{{language}}} |
Weight | {{{weight}}} |
Dimensions | {{{dimensions}}} |
{{Infobox computer hardware | name = | logo = | logo-size = | logo_caption = | image = | image-size = | caption = | invent-date = | invent-name = | conn1 = | via1_1 = | class-name = | class1 = | manuf1 = | designfirm = | manufacturer = | introduced = | discontinued = | cost = | type = | processor = | frequency = | memory = | slots = | rom = | coprocessor = | connection = | ports = | power = | color = | dpi = | speed = | language = | weight = | dimensions = }}
Parameters
The following is an explanation of each parameter:
- name
- Device name
- logo
- Logo for the top of the infobox
- logo_caption
- Caption of the logo that appears below it. Should not be used to provide trivial captions, such as "This is the logo of X", which is automatically assumed. Reserved for special cases when a description beyond telling the obvious is needed, or for inserting {{ffdc}} or {{deletable image-caption}}.
- image
- Image to show in the infobox
- caption
- Caption for the image
- invent-date
- Date of invention expressed in
{{{{#if: |subst:}}Start date and age{{#if:YYYY ||YYYY}}{{#if:MM ||MM}}{{#if:DD ||DD}}{{#if:df=yes/no ||df=yes/no}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
. (See Template:Start date and age/doc for details.) - invent-name
- Name of inventor
- conn1: What the device connects to (range 1-4)
- via1_1
- Possible interface for connection (range 1-9)
- class-name
- Name of the subclassing method
- class1
- First value in subclassing (range 1-6)
- manuf1
- Common manufacturers of the device (range 1-7)
- designfirm
- Often, but not always, the same as manufacturer
- manufacturer
- Common manufacturers of the device
- introduced
- Date of introduction expressed in
{{{{#if: |subst:}}Start date and age{{#if:YYYY ||YYYY}}{{#if:MM ||MM}}{{#if:DD ||DD}}{{#if:df=yes/no ||df=yes/no}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
. - discontinued
- Date of discontinuation expressed in
{{{{#if: |subst:}}End date and age{{#if:YYYY ||YYYY}}{{#if:MM ||MM}}{{#if:DD ||DD}}{{#if:df=yes/no ||df=yes/no}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||…}}}}
. - cost
- Introductory price
- type
- Type of hardware (extension card/sound card/graphics card...)
- processor
- Type of processor/pic/chip
- frequency
- Speed of the processor
- memory
- Amount of built in memory, if any, expressed in bytes or one of the derivative units such as kB, MB or GB
- slots
- rom
- coprocessor
- Type of coprocessor
- connection
- Connection (PCI/PCI-E/USB....)
- ports
- Connections on the device, such as PATA, SCSI, SATA...
- power
- Power consumption, expressed W/kWh
- color
- dpi
- speed
- language
- weight
- Device weight, expressed in kg
- dimensions
- Width, depth and height of the device, normally expressed in cm
All fields, except 'name', are optional
The numbered attributes mean that there is allowance for multiples. The via
attributes range from via1_1
to via4_9
where the first number corresponds to the appropriate connection number and the second number is the position in that connections 'via' list. For each connection (via_1, via_2, via_3 or via_4), there can be up to 9 connectors, via#_1 through via#_9.
Examples
File:Laptop-hard-drive-exposed.jpg A 2.5-inch SATA hard drive | |
Date invented |
{{#if: 1954|{{#if: 12|{{#if: 24|{{#ifeq:{{safesubst:#switch: yes |no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes }}|yes|{{#expr:24}} {{#if:12|{{#switch:{{#if:12 |{{#switch:12 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{#ifexpr:12<0 |{{#ifexpr:((12)round 0)!=(12) |{{#expr:12-(((0.5-(12))round 0)mod 12)}} |{{#expr:12-(((11.5-(12))round 0)mod 12)}} }} |{{#expr:(((10.5+12)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}}|{{#if:12|{{#switch:{{#if:12 |{{#switch:12 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{#ifexpr:12<0 |{{#ifexpr:((12)round 0)!=(12) |{{#expr:12-(((0.5-(12))round 0)mod 12)}} |{{#expr:12-(((11.5-(12))round 0)mod 12)}} }} |{{#expr:(((10.5+12)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} {{#expr:24}},}} 1954|{{#if:12|{{#switch:{{#if:12 |{{#switch:12 |january|jan=1 |february|feb=2 |march|mar=3 |apr|april=4 |may=5 |june|jun=6 |july|jul=7 |august|aug=8 |september|sep|sept=9 |october|oct=10 |november|nov=11 |december|dec=12 |{{#ifexpr:12<0 |{{#ifexpr:((12)round 0)!=(12) |{{#expr:12-(((0.5-(12))round 0)mod 12)}} |{{#expr:12-(((11.5-(12))round 0)mod 12)}} }} |{{#expr:(((10.5+12)round 0)mod 12)+1}} }} }} |Missing required parameter 1=month! }}|1=January|2=February|3=March|4=April|5=May|6=June|7=July|8=August|9=September|10=October|11=November|12=December|Incorrect required parameter 1=month!}}|Missing required parameter 1=month!}} 1954}}|1954}} |no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes }}|yes||;}}{{#ifeq:{{safesubst:#switch: no |no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes }}|yes| |no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes }}|yes|(}}{{#if: 12|{{#if: 24|66 years ago|Template:Years or months ago}}|{{#iferror:{{#expr:1954}}|67 years ago|Template:Years or months ago}}}}{{#ifeq:{{safesubst:#switch: no |no |n |false |0 = | = |¬ = |yes |y |true |1 = yes |#default = yes}}|yes|)}}|Template:Error}} |
---|---|
Invented by | IBM team led by Rey Johnson |
Connects to |
Motherboard{{#if:IDE| via{{#if:ATA| one of:|:}}}}{{#if:IDE|
}} {{#if:User|User{{#if:Interactions| via{{#if:| one of:|:}}}}{{#if:Interactions|
{{#if:|{{#if:| via{{#if:| one of:|:}}}}{{#if:|
{{#if:|{{#if:| via{{#if:| one of:|:}}}}{{#if:|
|
{{#if:IDE|Interfaces}} |
IDE{{#if:ATA| ATA}}{{#if:S-ATA| S-ATA}}{{#if:SCSI| SCSI}}{{#if:| }}{{#if:| }} |
{{#if:|Common manufacturers}} |
{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }}{{#if:| }} |
{{Infobox computer hardware | name = Hard disk drive | image = Laptop-hard-drive-exposed.jpg | caption = A 2.5-inch SATA hard drive | invent-date = {{Start date and age|1954|12|24|df=yes}} | invent-name = [[IBM]] team led by [[Reynold B. Johnson|Rey Johnson]] | conn1 = Motherboard | via1_1 = IDE | via1_2 = ATA | via1_3 = SATA | via1_4 = SCSI | conn2 = User | via2_1 = Interactions | class-name = Interfaces | class1 = IDE | class2 = ATA | class3 = S-ATA | class4 = SCSI }}
File:Network card.jpg | |
Connects to |
Motherboard{{#if:Integrated| via{{#if:PCI Connector| one of:|:}}}}{{#if:Integrated|
}} {{#if:Network|Network{{#if:Ethernet| via{{#if:Wi-Fi| one of:|:}}}}{{#if:Ethernet|
{{#if:|{{#if:| via{{#if:| one of:|:}}}}{{#if:|
{{#if:|{{#if:| via{{#if:| one of:|:}}}}{{#if:|
|
---|---|
{{#if:10 Mbit/s|Speeds}} |
10 Mbit/s{{#if:100 Mbit/s| 100 Mbit/s}}{{#if:1 Gbit/s| 1 Gbit/s}}{{#if:10 Gbit/s| 10 Gbit/s}}{{#if:up to 160 Gbit/s| up to 160 Gbit/s}}{{#if:| }} |
{{#if:Intel|Common manufacturers}} |
Intel{{#if:Realtek| Realtek}}{{#if:Broadcom| Broadcom}}{{#if:Marvell Technology Group| Marvell Technology Group}}{{#if:QLogic| QLogic}}{{#if:Mellanox| Mellanox}}{{#if:| }} |
{{Infobox computer hardware | name = Network interface controller | image = Network card.jpg | caption = A 1990s [[Ethernet]] network interface controller that connects to the motherboard via the now-obsolete [[ISA bus]]. This combination card features both a [[BNC connector]] (left) for use in (now obsolete) [[10BASE2]] networks and an [[8P8C]] connector (right) for use in [[10BASE-T]] networks. | invent-date = | invent-name = | conn1 = [[Motherboard]] | via1_1 = Integrated | via1_2 = [[Peripheral Component Interconnect|PCI]] Connector | via1_3 = [[Industry Standard Architecture|ISA]] Connector | via1_4 = [[PCI-E]] | via1_5 = [[FireWire]] | via1_6 = [[USB]] | via1_7 = [[Thunderbolt (interface)|Thunderbolt]] | conn2 = Network | via2_1 = [[Ethernet]] | via2_2 = [[Wi-Fi]] | via2_3 = [[Fibre Channel]] | via2_4 = [[Asynchronous Transfer Mode|ATM]] | via2_5 = [[Fiber Distributed Data Interface|FDDI]] | via2_6 = [[Token ring]] | class-name = Speeds | class1 = 10 Mbit/s | class2 = 100 Mbit/s | class3 = 1 Gbit/s | class4 = 10 Gbit/s | class5 = up to 160 Gbit/s | manuf1 = [[Intel]] | manuf2 = [[Realtek]] | manuf3 = [[Broadcom Corporation|Broadcom]] | manuf4 = [[Marvell Technology Group]] | manuf5 = [[QLogic]] | manuf6 = [[Mellanox]] }}
See also
- {{Infobox CPU}} for central processing units
{{#ifeq:Infobox computer hardware|sandbox|| }}
The above documentation is transcluded from Template:Infobox computer hardware/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |