Content deleted Content added
Funandtrvl (talk | contribs) fix code |
Funandtrvl (talk | contribs) fix code |
||
Line 5:
==Usage==
{{Parameter names example|name|logo|
<pre style="overflow: auto;">
{{Infobox computer hardware
| name =
| logo =
| logo-size
| logo_caption =
| image =
| image-size =
| caption =
| invent-date =
Line 34 ⟶ 37:
| connection =
| ports =
| power = ▼
| color =
| dpi =
| speed =
| language =
▲| power =
| weight =
| dimensions =
Line 49 ⟶ 52:
;name: Device name
;logo: Logo for the top of the infobox
;
;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-
;via1_1: Possible interface for connection (range 1-9)
;class-name: Name of the subclassing method
;class1: First value in subclassing (range 1-
;manuf1: Common manufacturers of the device (range 1-
;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|
;cost: Introductory price
;type: Type of hardware (extension card/sound card/graphics card...)
Line 68 ⟶ 71:
;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]]
Line 77 ⟶ 86:
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>
== Examples ==
Line 85 ⟶ 94:
| conn1 = Motherboard
| via1_1 = cpu socket
|
| class1 = x86
| manuf1 = Intel
Line 95 ⟶ 104:
| conn1 = Motherboard
| via1_1 = cpu socket
|
| class1 = x86
| manuf1 = Intel
Line 140 ⟶ 149:
| via3_1 = Meh
| via3_2 = Yeah
|
| class1 = IDE
| class2 = ATA
Line 159 ⟶ 168:
| via3_1 = Meh
| via3_2 = Yeah
|
| class1 = IDE
| class2 = ATA
|