Content deleted Content added
Yakiv Gluck (talk | contribs) mNo edit summary |
add tracking cat |
||
(42 intermediate revisions by 27 users not shown) | |||
Line 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
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.
==
{{Parameter names example | name | logo | logo_caption | logo-size | image | image-size | caption | invent-date | invent-name | conn1 | via1_1 | via1_2 | via1_3 | via1_4 | via1_5 | via1_6 | via1_7 | via1_8 | via1_9 | conn2 | via2_1 | via2_2 | via2_3 | via2_4 | via2_5 | via2_6 | via2_7 | via2_8 | via2_9 | conn3 | via3_1 | via3_2 | via3_3 | via3_4 | via3_5 | via3_6 | via3_7 | via3_8 | via3_9 | conn4 | via4_1 | via4_2 | via4_3 | via4_4 | via4_5 | via4_6 | via4_7 | via4_8 | via4_9 | class1 | class-name | class2 | class3 | class4 | class5 | class6 | manuf1 | manuf2 | manuf3 | manuf4 | manuf5 | manuf6 | manuf7 | designfirm | manufacturer | introduced | discontinued | cost | type | processor | frequency | memory | coprocessor | connection | ports | power | weight | dimensions | rom | slots | color | dpi | speed | language }}
<syntaxhighlight lang="wikitext" style="overflow: auto;">
{{
| name =
|
|
| logo_caption =
|
| image-size =
| caption =
| invent-date =
| invent-name =
| conn1 =
| via1_1 =
| class-name =
|
| manuf1 =
| designfirm =
| manufacturer =
| introduced =
| discontinued =
|
| type =
| processor =
| frequency =
|
| slots =
| rom =
| coprocessor =
| connection =
| ports =
| power =
| color =
| dpi =
| speed =
| language =
| weight =
| dimensions =
}}
</syntaxhighlight>
== 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 {{tl|ffdc}} or {{tl|deletable image-caption}}.
;image: Image to show in the infobox
;caption: Caption for the image
;invent-date: Date of invention expressed in {{tlx|Start date and age|YYYY|MM|DD|df{{=}}yes/no}}. (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 {{tlx|Start date and age|YYYY|MM|DD|df{{=}}yes/no}}.
;discontinued: Date of discontinuation expressed in {{tlx|End date and age|YYYY|MM|DD|df{{=}}yes/no}}.
;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 [[byte]]s or one of the derivative units such as [[kilobyte|kB]], [[Megabyte|MB]] or [[Gigabytes|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 [[Kilowatt hour|W/kWh]]
;color:
;dpi:
;speed:
;language:
;weight: Device weight, expressed in [[kilogram|kg]]
;dimensions: Width, depth and height of the device, normally expressed in [[centimeters|cm]]
All fields, except 'name', are optional
The numbered attributes mean that there is allowance for multiples. The <code>via</code> attributes range from <code>via1_1</code> to <code>via4_9</code> 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 ==
{{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
}}
<syntaxhighlight lang="wikitext" style="overflow: auto;">
{{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
}}
</syntaxhighlight>
{{clear}}
{{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]]
}}
<syntaxhighlight lang="wikitext" style="overflow: auto;">
{{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]]
}}
</syntaxhighlight>
{{clear}}
*{{clc|Pages using infobox computer hardware with unknown parameters}}
== Template data ==
<templatedata>
{
"params": {
"name": {
"label": "Name",
"description": "Device name",
"type": "string",
"required": true
},
"logo": {
"label": "Logo",
"description": "Logo for the top of the infobox",
"type": "wiki-file-name",
"suggested": true
},
"logo-size": {
"label": "Logo size",
"description": "How large the logo should appear",
"type": "number",
"suggested": true
},
"logo_caption": {
"label": "Logo caption",
"description": "Caption of the logo that appears below it.",
"type": "string",
"suggested": true
},
"image": {
"label": "Image",
"description": "Image to show in the infobox",
"type": "wiki-file-name"
},
"image-size": {
"label": "Image size",
"description": "How large the infobox image should appear"
},
"caption": {
"label": "Caption",
"description": "Caption for the image",
"type": "string"
},
"invent-date": {
"label": "Invention date",
"description": "Date of invention",
"type": "wiki-template-name",
"default": "{{Start date and age|YYYY|MM|DD|df=yes/no}}"
},
"invent-name": {
"label": "Inventor name",
"description": "Name of inventor (person(s), organization, company)"
},
"conn1": {
"label": "Connects to (#1)",
"description": "Hardware component that the device connects to (1-4)"
},
"via1_1": {
"label": "Interface connection #1 via #1",
"description": "Possible interface connection (use with conn1 parameter)"
},
"via1_2": {
"label": "Interface connection #1 via #2",
"description": "Possible interface connection (use with conn1 parameter)"
},
"via1_3": {
"label": "Interface connection #1 via #3",
"description": "Possible interface connection (use with conn1 parameter)"
},
"via1_4": {
"label": "Interface connection #1 via #4",
"description": "Possible interface connection (use with conn1 parameter)"
},
"via1_5": {
"label": "Interface connection #1 via #5",
"description": "Possible interface connection (use with conn1 parameter)"
},
"via1_6": {
"label": "Interface connection #1 via #6",
"description": "Possible interface connection (use with conn1 parameter)"
},
"via1_7": {
"label": "Interface connection #1 via #7",
"description": "Possible interface connection (use with conn1 parameter)"
},
"via1_8": {
"label": "Interface connection #1 via #8",
"description": "Possible interface connection (use with conn1 parameter)"
},
"via1_9": {
"label": "Interface connection #1 via #9",
"description": "Possible interface connection (use with conn1 parameter)"
},
"conn2": {
"label": "Connects to (#2)",
"description": "Hardware component that the device connects to (1-4)"
},
"via2_1": {
"label": "Interface connection #2 via #1",
"description": "Possible interface connection (use with conn2 parameter)"
},
"via2_2": {
"label": "Interface connection #2 via #2",
"description": "Possible interface connection (use with conn2 parameter)"
},
"via2_3": {
"label": "Interface connection #2 via #3",
"description": "Possible interface connection (use with conn2 parameter)"
},
"via2_4": {
"label": "Interface connection #2 via #4",
"description": "Possible interface connection (use with conn2 parameter)"
},
"via2_5": {
"label": "Interface connection #2 via #5",
"description": "Possible interface connection (use with conn2 parameter)"
},
"via2_6": {
"label": "Interface connection #2 via #6",
"description": "Possible interface connection (use with conn2 parameter)"
},
"via2_7": {
"label": "Interface connection #2 via #7",
"description": "Possible interface connection (use with conn2 parameter)"
},
"via2_8": {
"label": "Interface connection #2 via #8",
"description": "Possible interface connection (use with conn2 parameter)"
},
"via2_9": {
"label": "Interface connection #2 via #9",
"description": "Possible interface connection (use with conn2 parameter)"
},
"conn3": {
"label": "Connects to (#3)",
"description": "Hardware component that the device connects to (1-4)"
},
"via3_1": {
"label": "Interface connection #3 via #1",
"description": "Possible interface connection (use with conn3 parameter)"
},
"via3_2": {
"label": "Interface connection #3 via #2",
"description": "Possible interface connection (use with conn3 parameter)"
},
"via3_3": {
"label": "Interface connection #3 via #3",
"description": "Possible interface connection (use with conn3 parameter)"
},
"via3_4": {
"label": "Interface connection #3 via #4",
"description": "Possible interface connection (use with conn3 parameter)"
},
"via3_5": {
"label": "Interface connection #3 via #5",
"description": "Possible interface connection (use with conn3 parameter)"
},
"via3_6": {
"label": "Interface connection #3 via #6",
"description": "Possible interface connection (use with conn3 parameter)"
},
"via3_7": {
"label": "Interface connection #3 via #7",
"description": "Possible interface connection (use with conn3 parameter)"
},
"via3_8": {
"label": "Interface connection #3 via #8",
"description": "Possible interface connection (use with conn3 parameter)"
},
"via3_9": {
"label": "Interface connection #3 via #9",
"description": "Possible interface connection (use with conn3 parameter)"
},
"conn4": {
"label": "Connects to (#4)",
"description": "Hardware component that the device connects to (1-4)"
},
"via4_1": {
"label": "Interface connection #4 via #1",
"description": "Possible interface connection (use with conn4 parameter)"
},
"via4_2": {
"label": "Interface connection #4 via #2",
"description": "Possible interface connection (use with conn4 parameter)"
},
"via4_3": {
"label": "Interface connection #4 via #3",
"description": "Possible interface connection (use with conn4 parameter)"
},
"via4_4": {
"label": "Interface connection #4 via #4",
"description": "Possible interface connection (use with conn4 parameter)"
},
"via4_5": {
"label": "Interface connection #4 via #5",
"description": "Possible interface connection (use with conn4 parameter)"
},
"via4_6": {
"label": "Interface connection #4 via #6",
"description": "Possible interface connection (use with conn4 parameter)"
},
"via4_7": {
"label": "Interface connection #4 via #7",
"description": "Possible interface connection (use with conn4 parameter)"
},
"via4_8": {
"label": "Interface connection #4 via #8",
"description": "Possible interface connection (use with conn4 parameter)"
},
"via4_9": {
"label": "Interface connection #4 via #9",
"description": "Possible interface connection (use with conn4 parameter)"
},
"class1": {
"label": "Class #1",
"description": "Type of subclass (1-6)"
},
"class-name": {
"label": "Class name",
"description": "Name of the subclassing method"
},
"class2": {
"label": "Class #2",
"description": "Type of subclass (1-6)"
},
"class3": {
"label": "Class #3",
"description": "Type of subclass (1-6)"
},
"class4": {
"label": "Class #4",
"description": "Type of subclass (1-6)"
},
"class5": {
"label": "Class #5",
"description": "Type of subclass (1-6)"
},
"class6": {
"label": "Class #6",
"description": "Type of subclass (1-6)"
},
"manuf1": {
"label": "Manufacturer #1",
"description": "Common manufacturer of the device (1-7)",
"type": "string"
},
"manuf2": {
"label": "Manufacturer #2",
"description": "Common manufacturer of the device (1-7)"
},
"manuf3": {
"label": "Manufacturer #3",
"description": "Common manufacturer of the device (1-7)"
},
"manuf4": {
"label": "Manufacturer #4",
"description": "Common manufacturer of the device (1-7)",
"type": "string"
},
"manuf5": {
"label": "Manufacturer #5",
"description": "Common manufacturer of the device (1-7)"
},
"manuf6": {
"label": "Manufacturer #6",
"description": "Common manufacturer of the device (1-7)"
},
"manuf7": {
"label": "Manufacturer #6",
"description": "Common manufacturer of the device (1-7)"
},
"designfirm": {
"label": "Design firm",
"description": "Often, but not always, the same as manufacturer"
},
"manufacturer": {
"label": "Common manufacturer"
},
"introduced": {
"label": "Date of introduction",
"type": "wiki-template-name",
"default": "{{Start date and age|YYYY|MM|DD|df=yes/no}}"
},
"discontinued": {
"label": "Date of discontinuation",
"type": "wiki-template-name",
"default": "{{End date and age|YYYY|MM|DD|df=yes/no}}"
},
"cost": {
"label": "Cost",
"description": "Introductory price",
"type": "string"
},
"type": {
"label": "Type",
"description": "Type of hardware (extension card/sound card/graphics card...)"
},
"processor": {
"label": "Processor",
"description": "Type of processor/pic/chip"
},
"frequency": {
"label": "Frequency",
"description": "Speed of the processor"
},
"memory": {
"label": "Memory",
"description": "Amount of built in memory, if any, expressed in bytes or one of the derivative units such as kB, MB or GB"
},
"slots": {
"label": "Slots",
"description": "Number of slots",
"type": "number"
},
"rom": {
"label": "ROM (read-only memory)"
},
"coprocessor": {
"label": "Coprocessor",
"description": "Type of coprocessor"
},
"connection": {
"label": "Connection",
"description": "Connection (PCI/PCI-E/USB....)"
},
"ports": {
"label": "Ports",
"description": "Connections on the device, such as PATA, SCSI, SATA..."
},
"power": {
"label": "Power",
"description": "Power consumption, expressed in kilowatts per hour (W/kWh)"
},
"color": {
"label": "Color"
},
"dpi": {
"label": "DPI (dots per inch)"
},
"speed": {
"label": "Speed"
},
"language": {
"label": "Language"
},
"weight": {
"label": "Weight",
"description": "Device weight, expressed in kilograms (kg)"
},
"dimensions": {
"label": "Dimensions",
"description": "Width, depth and height of the device, normally expressed in cm"
}
},
"description": "Infobox for generic pieces of computer hardware that don't have more specific infoboxes, such as hard drives, motherboards, CD-ROMs etc. \n\nIt should not be used for hardware such as CPUs that have their own specific infoboxes. External hardware should not use this box either. ",
"paramOrder": [
"name",
"logo",
"logo-size",
"logo_caption",
"image",
"image-size",
"caption",
"invent-date",
"invent-name",
"conn1",
"via1_1",
"via1_2",
"via1_3",
"via1_4",
"via1_5",
"via1_6",
"via1_7",
"via1_8",
"via1_9",
"conn2",
"via2_1",
"via2_2",
"via2_3",
"via2_4",
"via2_5",
"via2_6",
"via2_7",
"via2_8",
"via2_9",
"conn3",
"via3_1",
"via3_2",
"via3_3",
"via3_4",
"via3_5",
"via3_6",
"via3_7",
"via3_8",
"via3_9",
"conn4",
"via4_1",
"via4_2",
"via4_3",
"via4_4",
"via4_5",
"via4_6",
"via4_7",
"via4_8",
"via4_9",
"class-name",
"class1",
"class2",
"class3",
"class4",
"class5",
"class6",
"manuf1",
"manuf2",
"manuf3",
"manuf4",
"manuf5",
"manuf6",
"manuf7",
"designfirm",
"manufacturer",
"introduced",
"discontinued",
"cost",
"type",
"processor",
"frequency",
"memory",
"slots",
"rom",
"coprocessor",
"connection",
"ports",
"power",
"color",
"dpi",
"speed",
"language",
"weight",
"dimensions"
],
"format": "block"
}
</templatedata>
== See also ==
* {{tl|Infobox CPU}} for [[central processing unit]]s
<includeonly>{{Sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Computer hardware infobox templates| ]]
}}</includeonly>
|