Difference between revisions of "Template:Infobox computer hardware/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
(fix code)
imported>Funandtrvl
(fix code)
Line 5: Line 5:
  
 
==Usage==
 
==Usage==
{{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}}
+
{{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}}
 +
 
 
<pre style="overflow: auto;">
 
<pre style="overflow: auto;">
 
{{Infobox computer hardware
 
{{Infobox computer hardware
 
| name        =  
 
| name        =  
 
| logo        =  
 
| logo        =  
| logo caption =  
+
| logo-size    =
 +
| logo_caption =  
 
| image        =  
 
| image        =  
 +
| image-size  =
 
| caption      =  
 
| caption      =  
 
| invent-date  =  
 
| invent-date  =  
Line 34: Line 37:
 
| connection  =  
 
| connection  =  
 
| ports        =  
 
| ports        =  
 +
| power        =
 
| color        =
 
| color        =
 
| dpi          =
 
| dpi          =
 
| speed        =
 
| speed        =
 
| language    =
 
| language    =
| power        =
 
 
| weight      =  
 
| weight      =  
 
| dimensions  =  
 
| dimensions  =  
Line 49: Line 52:
 
;name: Device name
 
;name: Device name
 
;logo: Logo for the top of the infobox
 
;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}}.
+
;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
 
;image: Image to show in the infobox
 
;caption: Caption for the image
 
;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-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
 
;invent-name: Name of inventor
:conn1: What the device connects to (range 1-3)
+
:conn1: What the device connects to (range 1-4)
 
;via1_1: Possible interface for connection (range 1-9)
 
;via1_1: Possible interface for connection (range 1-9)
 
;class-name: Name of the subclassing method
 
;class-name: Name of the subclassing method
;class1: First value in subclassing (range 1-5)
+
;class1: First value in subclassing (range 1-6)
;manuf1: Common manufacturers of the device (range 1-5)
+
;manuf1: Common manufacturers of the device (range 1-7)
 
;designfirm: Often, but not always, the same as manufacturer
 
;designfirm: Often, but not always, the same as manufacturer
 
;manufacturer: Common manufacturers of the device
 
;manufacturer: Common manufacturers of the device
 
;introduced: Date of introduction expressed in {{tlx|Start date and age|YYYY|MM|DD|df{{=}}yes/no}}.
 
;introduced: Date of introduction expressed in {{tlx|Start date and age|YYYY|MM|DD|df{{=}}yes/no}}.
;discontinued: Date of discontinuation 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
 
;cost: Introductory price
 
;type: Type of hardware (extension card/sound card/graphics card...)
 
;type: Type of hardware (extension card/sound card/graphics card...)
Line 68: Line 71:
 
;frequency: Speed of the processor
 
;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]]
 
;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
 
;coprocessor: Type of coprocessor
 
;connection: Connection (PCI/PCI-E/USB....)
 
;connection: Connection (PCI/PCI-E/USB....)
 
;ports: Connections on the device, such as PATA, SCSI, SATA...
 
;ports: Connections on the device, such as PATA, SCSI, SATA...
 
;power: Power consumption, expressed [[Kilowatt hour|W/kWh]]
 
;power: Power consumption, expressed [[Kilowatt hour|W/kWh]]
 +
;color:
 +
;dpi:
 +
;speed:
 +
;language:
 
;weight: Device weight, expressed in [[kilogram|kg]]
 
;weight: Device weight, expressed in [[kilogram|kg]]
 
;dimensions: Width, depth and height of the device, normally expressed in [[centimeters|cm]]
 
;dimensions: Width, depth and height of the device, normally expressed in [[centimeters|cm]]
Line 77: Line 86:
 
All fields, except 'name', are optional
 
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>via3_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, or via_3), there can be up to 9 connectors, via#_1 through via#_9.
+
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 ==
 
== Examples ==
Line 85: Line 94:
 
| conn1 = Motherboard
 
| conn1 = Motherboard
 
| via1_1 = cpu socket
 
| via1_1 = cpu socket
| classname = Architectures
+
| class-name = Architectures
 
| class1 = x86
 
| class1 = x86
 
| manuf1 = Intel
 
| manuf1 = Intel
Line 95: Line 104:
 
| conn1 = Motherboard
 
| conn1 = Motherboard
 
| via1_1 = cpu socket
 
| via1_1 = cpu socket
| classname = Architectures
+
| class-name = Architectures
 
| class1 = x86
 
| class1 = x86
 
| manuf1 = Intel
 
| manuf1 = Intel
Line 140: Line 149:
 
| via3_1 = Meh
 
| via3_1 = Meh
 
| via3_2 = Yeah
 
| via3_2 = Yeah
| classname = Interfaces
+
| class-name = Interfaces
 
| class1 = IDE
 
| class1 = IDE
 
| class2 = ATA
 
| class2 = ATA
Line 159: Line 168:
 
| via3_1 = Meh
 
| via3_1 = Meh
 
| via3_2 = Yeah
 
| via3_2 = Yeah
| classname = Interfaces
+
| class-name = Interfaces
 
| class1 = IDE
 
| class1 = IDE
 
| class2 = ATA
 
| class2 = ATA

Revision as of 19:02, 14 January 2016

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.

Usage

Template:Parameter names example

{{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 {{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 {{Start date and age|YYYY|MM|DD|df=yes/no}}.
discontinued
Date of discontinuation expressed in {{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 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

Central Processing Unit
Date inventedages ago
Connects toMotherboard via:
  • cpu socket
Architecturesx86
Common manufacturersIntel
{{Infobox computer hardware
| name = Central Processing Unit
| invent-date = ages ago
| conn1 = Motherboard
| via1_1 = cpu socket
| class-name = Architectures
| class1 = x86
| manuf1 = Intel
}}
Video Card
Invented bysomeone
Connects toMotherboard via one of:
  • PciExpress
  • Agp Port
  • Pci Port

Display via:

  • Cord
Common manufacturersATI
nVidia
{{Infobox computer hardware
| name = Video Card
| invent-name = someone
| conn1 = Motherboard
| via1_1 = PciExpress
| via1_2 = Agp Port
| via1_3 = Pci Port
| conn2 = Display
| via2_1 = Cord
| manuf1 = ATI
| manuf2 = nVidia
}}
Hard Drive
Connects toMotherboard via one of:
  • IDE
  • ATA
  • SATA
  • SCSI

User via:

  • Interactions

Blah via one of:

  • Meh
  • Yeah
InterfacesIDE
ATA
S-ATA
SCSI
{{Infobox computer hardware
| name = Hard Drive
| conn1 = Motherboard
| via1_1 = IDE
| via1_2 = ATA
| via1_3 = SATA
| via1_4 = SCSI
| conn2 = User
| via2_1 = Interactions
| conn3 = Blah
| via3_1 = Meh
| via3_2 = Yeah
| class-name = Interfaces
| class1 = IDE
| class2 = ATA
| class3 = S-ATA
| class4 = SCSI
}}

See also