Bản mẫu:Infobox computer hardware

Bách khoa toàn thư mở Wikipedia
Buớc tưới chuyển hướng Bước tới tìm kiếm
Tài liệu bản mẫu[xem] [sửa] [lịch sử] [làm mới]

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.

Cách sử dụng[sửa mã nguồn]

{{{name}}}
[[File:{{{logo}}}|{{{logo-size}}}]]
{{{logo_caption}}}
[[File:{{{image}}}|{{{image-size}}}]]
{{{caption}}}
Ngày phát minh{{{invent-date}}}
Người/tổ chức phát minh{{{invent-name}}}
Kết nối tới{{{conn1}}} via one of:
  • {{{via1_1}}}
  • {{{via1_2}}}
  • {{{via1_3}}}
  • {{{via1_4}}}
  • {{{via1_5}}}
  • {{{via1_6}}}
  • {{{via1_7}}}
  • {{{via1_8}}}
  • {{{via1_9}}}

{{{conn2}}} via one of:

  • {{{via2_1}}}
  • {{{via2_2}}}
  • {{{via2_3}}}
  • {{{via2_4}}}
  • {{{via2_5}}}
  • {{{via2_6}}}
  • {{{via2_7}}}
  • {{{via2_8}}}
  • {{{via2_9}}}

{{{conn3}}} via one of:

  • {{{via3_1}}}
  • {{{via3_2}}}
  • {{{via3_3}}}
  • {{{via3_4}}}
  • {{{via3_5}}}
  • {{{via3_6}}}
  • {{{via3_7}}}
  • {{{via3_8}}}
  • {{{via3_9}}}

{{{conn4}}} via one of:

  • {{{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}}}
Nhà sản xuất chung{{{manuf1}}}
{{{manuf2}}}
{{{manuf3}}}
{{{manuf4}}}
{{{manuf5}}}
{{{manuf6}}}
{{{manuf7}}}
Nhà thiết kế{{{designfirm}}}
Nhà sản xuất{{{manufacturer}}}
Giới thiệu{{{introduced}}}
Ngừng sản xuất{{{discontinued}}}
Giá{{{cost}}}
Loại{{{type}}}
Vi xử lý{{{processor}}}
Tần số{{{frequency}}}
Bộ nhớ{{{memory}}}
Khe cắm{{{slots}}}
ROM{{{rom}}}
Đồng xử lý{{{coprocessor}}}
Kết nối{{{connection}}}
Cổng{{{ports}}}
Tiêu thụ điện năng{{{power}}}
Màu sắc{{{color}}}
DPI{{{dpi}}}
Tốc độ{{{speed}}}
Ngôn ngữ{{{language}}}
Cân nặng{{{weight}}}
Kích thước{{{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   = 
}}

Các tham số[sửa mã nguồn]

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.

Ví dụ[sửa mã nguồn]

Hard disk drive
Laptop-hard-drive-exposed.jpg
A 2.5-inch SATA hard drive
Ngày phát minh24 tháng 12 năm 1954; 65 năm trước (1954-12-24)
Người/tổ chức phát minhIBM team led by Rey Johnson
Kết nối tớiMotherboard via one of:
  • IDE
  • ATA
  • SATA
  • SCSI

User via:

  • Interactions
InterfacesIDE
ATA
S-ATA
SCSI
{{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
}}
Network interface controller
Network card.jpg
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.
Kết nối tớiMotherboard via one of:

Network via one of:

Speeds10 Mbit/s
100 Mbit/s
1 Gbit/s
10 Gbit/s
up to 160 Gbit/s
Nhà sản xuất chungIntel
Realtek
Broadcom
Marvell Technology Group
QLogic
Mellanox
{{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]]
}}

Xem thêm[sửa mã nguồn]