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

From Wiki.CoreyBlair.US
Jump to navigation Jump to search
m (1 revision imported)
 
(No difference)

Latest revision as of 14:11, 24 November 2017

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

         | Lua error: Internal error: The interpreter exited with status 1.
        }}{{#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.

Usage

Lua error: Internal error: The interpreter exited with status 1.

{{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

Lua error: Internal error: The interpreter exited with status 1.

{{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
}}

Lua error: Internal error: The interpreter exited with status 1.

{{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