Bản mẫu:Infobox Computer Hardware Cpu
![]() | Bản mẫu này sử dụng những tính năng phức tạp của cú pháp bản mẫu.
Bạn được khuyến khích làm quen với cấu trúc của bản mẫu này và các hàm cú pháp trước khi sửa đổi bản mẫu. Nếu sửa đổi của bạn gây ra lỗi không mong muốn, hãy sửa chữa hoặc lùi lại nhanh chóng, vì bản mẫu này có thể xuất hiện trên một số lượng lớn trang. |
This template is for CPUs. For generic hardware components, see Template:Infobox Computer Hardware Generic.
Empty syntax[sửa mã nguồn]
{{Infobox Computer Hardware Cpu | name = | image = | image_size = | caption = | produced-start = | produced-end = | slowest = | fastest = | slow-unit = | fast-unit = | fsb-slowest = | fsb-fastest = | fsb-slow-unit = | fsb-fast-unit = | size-from = | size-to = | manuf1 = | core1 = | sock1 = | pack1 = | arch = | microarch = | numcores = }}
Usage[sửa mã nguồn]
{{Infobox Computer Hardware Cpu | name = Device Name | image = An image to show in the infobox | image_size = Size of the image (defaults to 200px) | caption = A caption for the image | produced-start = When production began | produced-end = When production ended | slowest = Lowest maximum CPU clock | fastest = Highest maximum CPU clock | slow-unit = Unit for slow speed. Default: GHz | fast-unit = Unit for fast speed. Default: GHz | fsb-slowest = Slowest FSB speed | fsb-fastest = Fastest FSB speed | fsb-slow-unit = Unit for slow speed. Default: MHz | fsb-fast-unit = Unit for fast speed. Default: MHz | size-from = Fabrication size | size-to = Another fabrication size | manuf1 = Common manufacturers of the device (1-5) | core1 = Names of the cores (1-7) | sock1 = Names of the sockets that the cpu was made for (1-5) | pack1 = Names of CPU packages (1-5) | arch = Instruction set architecture that the cpu implements | microarch = Microarchitecture of the cpu | numcores = Number of cores (2 for dual-core) }}
All fields, except 'name' are optional
manuf, core, sock, pack, arch, and microarch are AutoLinks, so you can use plain text or a link for them.
The numbered attributes mean that there is allowance for multiples.
See the talk page for some examples which show the full usage of this infobox in a few combinations.