Difference between revisions of "Template:Infobox CPU"

From blackwiki
Jump to navigation Jump to search
imported>Raysonho
(sock6)
imported>Tetromino
(added QPI and DMI speed fields)
Line 22: Line 22:
 
| label7  = [[HyperTransport]] speeds
 
| label7  = [[HyperTransport]] speeds
 
| data7  = {{#if:{{{hypertransport-slowest|}}}|{{{hypertransport-slowest}}} {{{hypertransport-slow-unit|GT/s}}}}} {{#if:{{{hypertransport-fastest|}}}| to {{{hypertransport-fastest}}} {{{hypertransport-fast-unit|GT/s}}}}}
 
| data7  = {{#if:{{{hypertransport-slowest|}}}|{{{hypertransport-slowest}}} {{{hypertransport-slow-unit|GT/s}}}}} {{#if:{{{hypertransport-fastest|}}}| to {{{hypertransport-fastest}}} {{{hypertransport-fast-unit|GT/s}}}}}
| label8  = Min. feature size
+
| label8  = [[Intel QuickPath Interconnect|QPI]] speeds
| data8  = {{#if:{{{size-from|}}}|{{{size-from|}}} {{#if:{{{size-to|}}}| to {{{size-to}}}}}}}
+
| data8  = {{#if:{{{qpi-slowest|}}}|{{{qpi-slowest}}} {{{qpi-slow-unit|GT/s}}}}} {{#if:{{{qpi-fastest|}}}| to {{{qpi-fastest}}} {{{qpi-fast-unit|GT/s}}}}}
| label9  = [[Instruction set]]
+
| label9  = [[Direct Media Interface|DMI]] speeds
| data9  = {{{arch|}}}
+
| data9  = {{#if:{{{dmi-slowest|}}}|{{{dmi-slowest}}} {{{dmi-slow-unit|GT/s}}}}} {{#if:{{{dmi-fastest|}}}| to {{{dmi-fastest}}} {{{dmi-fast-unit|GT/s}}}}}
| label10 = [[Microarchitecture]]
+
| label10 = Min. feature size
| data10   = {{{microarch|}}}
+
| data10  = {{#if:{{{size-from|}}}|{{{size-from|}}} {{#if:{{{size-to|}}}| to {{{size-to}}}}}}}
| label11 = CPUID code
+
| label11 = [[Instruction set]]
| data11 = {{{cpuid|}}}
+
| data11  = {{{arch|}}}
| label12 = Product code
+
| label12 = [[Microarchitecture]]
| data12 = {{{code|}}}
+
| data12   = {{{microarch|}}}
| label13 = [[Multi-core (computing)|Cores]]
+
| label13 = CPUID code
| data13 = {{{numcores|}}}
+
| data13 = {{{cpuid|}}}
| label14 = L1 [[CPU cache|cache]]
+
| label14 = Product code
| data14 = {{{l1cache|}}}
+
| data14 = {{{code|}}}
| label15 = L2 cache
+
| label15 = [[Multi-core (computing)|Cores]]
| data15 = {{{l2cache|}}}
+
| data15 = {{{numcores|}}}
| label16 = L3 cache
+
| label16 = L1 [[CPU cache|cache]]
| data16 = {{{l3cache|}}}
+
| data16 = {{{l1cache|}}}
| label17 = Application
+
| label17 = L2 cache
| data17 = {{{application|}}}
+
| data17 = {{{l2cache|}}}
| label18 = {{#if:{{{sock1|}}}{{{sock2|}}}{{{sock3|}}}{{{sock4|}}}{{{sock5|}}}{{{sock6|}}} |Socket(s)}}
+
| label18 = L3 cache
| data18 = {{#if: {{{sock1|}}}|{{{sock1|}}}<br />}}
+
| data18 = {{{l3cache|}}}
 +
| label19 = Application
 +
| data19 = {{{application|}}}
 +
| label20 = {{#if:{{{sock1|}}}{{{sock2|}}}{{{sock3|}}}{{{sock4|}}}{{{sock5|}}}{{{sock6|}}} |Socket(s)}}
 +
| data20 = {{#if: {{{sock1|}}}|{{{sock1|}}}<br />}}
 
{{#if: {{{sock2|}}}|{{{sock2|}}}<br />}}
 
{{#if: {{{sock2|}}}|{{{sock2|}}}<br />}}
 
{{#if: {{{sock3|}}}|{{{sock3|}}}<br />}}
 
{{#if: {{{sock3|}}}|{{{sock3|}}}<br />}}
Line 49: Line 53:
 
{{#if: {{{sock5|}}}|{{{sock5|}}}<br />}}
 
{{#if: {{{sock5|}}}|{{{sock5|}}}<br />}}
 
{{#if: {{{sock6|}}}|{{{sock6|}}}<br />}}
 
{{#if: {{{sock6|}}}|{{{sock6|}}}<br />}}
| label19 = {{#if:{{{pack1|}}}{{{pack2|}}}{{{pack3|}}}{{{pack4|}}}{{{pack5|}}}|Package(s)}}
+
| label21 = {{#if:{{{pack1|}}}{{{pack2|}}}{{{pack3|}}}{{{pack4|}}}{{{pack5|}}}|Package(s)}}
| data19 = {{#if: {{{pack1|}}}|{{{pack1|}}}<br />}}
+
| data21 = {{#if: {{{pack1|}}}|{{{pack1|}}}<br />}}
 
{{#if: {{{pack2|}}}|{{{pack2|}}}<br />}}
 
{{#if: {{{pack2|}}}|{{{pack2|}}}<br />}}
 
{{#if: {{{pack3|}}}|{{{pack3|}}}<br />}}
 
{{#if: {{{pack3|}}}|{{{pack3|}}}<br />}}
 
{{#if: {{{pack4|}}}|{{{pack4|}}}<br />}}
 
{{#if: {{{pack4|}}}|{{{pack4|}}}<br />}}
 
{{#if: {{{pack5|}}}|{{{pack5|}}}<br />}}
 
{{#if: {{{pack5|}}}|{{{pack5|}}}<br />}}
| label20 = {{#if:{{{core1|}}}{{{core2|}}}{{{core3|}}}{{{core4|}}}{{{core5|}}}{{{core6|}}}{{{core7|}}}{{{core8|}}}{{{core9|}}}|Core name(s)}}
+
| label22 = {{#if:{{{core1|}}}{{{core2|}}}{{{core3|}}}{{{core4|}}}{{{core5|}}}{{{core6|}}}{{{core7|}}}{{{core8|}}}{{{core9|}}}|Core name(s)}}
| data20 = {{#if: {{{core1|}}}|{{{core1|}}}<br />}}
+
| data22 = {{#if: {{{core1|}}}|{{{core1|}}}<br />}}
 
{{#if: {{{core2|}}}|{{{core2|}}}<br />}}
 
{{#if: {{{core2|}}}|{{{core2|}}}<br />}}
 
{{#if: {{{core3|}}}|{{{core3|}}}<br />}}
 
{{#if: {{{core3|}}}|{{{core3|}}}<br />}}
Line 65: Line 69:
 
{{#if: {{{core8|}}}|{{{core8|}}}<br />}}
 
{{#if: {{{core8|}}}|{{{core8|}}}<br />}}
 
{{#if: {{{core9|}}}|{{{core9|}}}<br />}}
 
{{#if: {{{core9|}}}|{{{core9|}}}<br />}}
| label21 = {{#if:{{{brand1|}}}{{{brand2|}}}{{{brand3|}}}{{{brand4|}}}{{{brand5|}}}{{{brand6|}}}{{{brand7|}}}{{{brand8|}}}{{{brand9|}}}|Brand name(s)}}
+
| label23 = {{#if:{{{brand1|}}}{{{brand2|}}}{{{brand3|}}}{{{brand4|}}}{{{brand5|}}}{{{brand6|}}}{{{brand7|}}}{{{brand8|}}}{{{brand9|}}}|Brand name(s)}}
| data21 = {{#if: {{{brand1|}}}|{{{brand1|}}}<br />}}
+
| data23 = {{#if: {{{brand1|}}}|{{{brand1|}}}<br />}}
 
{{#if: {{{brand2|}}}|{{{brand2|}}}<br />}}
 
{{#if: {{{brand2|}}}|{{{brand2|}}}<br />}}
 
{{#if: {{{brand3|}}}|{{{brand3|}}}<br />}}
 
{{#if: {{{brand3|}}}|{{{brand3|}}}<br />}}

Revision as of 09:09, 6 January 2010

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

This template is for CPUs. For generic hardware components, see Template:Infobox computer hardware. Template:Missing Information

Template:Parameter names example

{{Infobox CPU
| name = 
| image = 
| image_size = 
| alt = 
| caption = 
<!----------------- General Info ----------------->
| produced-start = 
| produced-end = 
| soldby = 
| designfirm = 
| manuf1 = <!-- manuf1..5 -->
| cpuid = 
| code = 
<!----------------- Performance ------------------>
| slowest = 
| fastest = 
| slow-unit = 
| fast-unit = 
| fsb-slowest = 
| fsb-fastest = 
| fsb-slow-unit = 
| fsb-fast-unit = 
| hypertransport-slowest = 
| hypertransport-fastest = 
| hypertransport-slow-unit = 
| hypertransport-fast-unit = 
| qpi-slowest = 
| qpi-fastest = 
| qpi-slow-unit = 
| qpi-fast-unit = 
| dmi-slowest = 
| dmi-fastest = 
| dmi-slow-unit = 
| dmi-fast-unit = 
| data-width = 
| address-width = 
| virtual-width = 
<!-------------------- Cache --------------------->
| l1cache = 
| l2cache = 
| l3cache = 
| l4cache = 
| llcache = 
<!------- Architecture and classification -------->
| application = 
| size-from = 
| size-to = 
| arch1 = 
| microarch = 
| arch = 
| instructions = 
| extensions = 
<!----------- Physical specifications ------------>
| transistors =
| numcores = 
| gpu = 
| co-processor = 
| pack1 = <!-- pack1..9 -->
| sock1 = <!-- sock1..9 -->
<!--------- Products, models, variants ----------->
| core1 = <!-- core1..9 -->
| pcode1 = <!-- pcode1..9 -->
| model1 = <!-- model1..9 -->
| brand1 = <!-- brand1..9 -->
| variant = 
<!------------------  History  ------------------->
| predecessor = 
| successor = 
}}

Usage

{{Infobox CPU
| name                      = Device Name
| image                     = An image to show in the infobox
| image_size                = Size of the image (defaults to 200px)
| alt                       = Mouse over text for the image
| caption                   = A caption for the image
<!----------------- General Info ------------------------------------------------------------------------------------->
| produced-start            = When production began / Launch date                            →see talkpage section #Dates
| produced-end              = When production ended / Discontinued date                      →see talkpage section #Dates
| soldby                    = Often, but not always, the same as the designfirm and/or manuf1
| designfirm                = Often, but not always, the same as manuf1 and/or soldby
| manuf1                    = (1..5) Common manufacturers of the device
| cpuid                     = CPUID or PVR value
| code                      = numerical identifier for the CPU (product code)
<!----------------- Performance -------------------------------------------------------------------------------------->
| 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
| hypertransport-slowest    = Slowest HyperTransport speed
| hypertransport-fastest    = Fastest HyperTransport speed
| hypertransport-slow-unit  = Unit for slow speed. Default: GT/s
| hypertransport-fast-unit  = Unit for fast speed. Default: GT/s
| qpi-slowest               = Slowest QPI (QuickPath Interconnect) speed
| qpi-fastest               = Fastest QPI speed
| qpi-slow-unit             = Unit for slow speed. Default: GT/s
| qpi-fast-unit             = Unit for fast speed. Default: GT/s
| dmi-slowest               = Slowest DMI (Direct Media Interface) speed
| dmi-fastest               = Fastest DMI speed
| dmi-slow-unit             = Unit for slow speed. Default: GT/s
| dmi-fast-unit             = Unit for fast speed. Default: GT/s
| data-width                = Data bus width in bits
| address-width             = Address bus width in bits
| virtual-width             = Virtual address bus width in bits
<!-------------------- Cache ----------------------------------------------------------------------------------------->
| l1cache                   = Level 1 cache size
| l2cache                   = Level 2 cache size
| l3cache                   = Level 3 cache size
| l4cache                   = Level 4 cache size
| llcache                   = Last Level cache size
<!------- Architecture and classification ---------------------------------------------------------------------------->
| application               = Typical application (Embedded, Mobile, Desktop, Server)
| size-from                 = First fabrication size
| size-to                   = Second fabrication size
| arch1                     = Architecture                                                 →see talkpage section #Architecture
| microarch                 = Microarchitecture of the CPU
| arch                      = Instruction set architecture (ISA) that the CPU implements   →see talkpage section #Architecture
| instructions              = Instruction sets (or number of instructions)                 →see talkpage section #Architecture
| extensions                = Extensions to the instructions
<!----------- Physical specifications -------------------------------------------------------------------------------->
| transistors               = Number of transistors, transistor count
| numcores                  = Number of cores (2 for dual-core)
| gpu                       = Integrated GPU
| co-processor              = A [[co-processor]](s) used together
| pack1                     = (1..5) Names of CPU packages
| sock1                     = (1..9) Names of the sockets that the CPU was made for
<!--------- Products, models, variants ------------------------------------------------------------------------------->
| core1                     = (1..9) Names of the cores                   →see talkpage section "Names (Products, models, variants)"
| pcode1                    = (1..9) Product code names                   →see talkpage section "Names (Products, models, variants)"
| model1                    = (1..9) Model names                          →see talkpage section "Names (Products, models, variants)"
| brand1                    = (1..9) Marketing names of the CPU
| variant                   = Variants in the same family and generation  →see talkpage section "Names (Products, models, variants)"
<!------------------  History  --------------------------------------------------------------------------------------->
| predecessor               = What CPU came before
| successor                 = What CPU came after
}}
  • All fields, except name are optional
  • The following parameters are deprecated:
created →better: produced-start, produced-end
clock →better: slowest, fastest
fsb →better: fsb-slowest, fsb-fastest
cores, cores1 →better: numcores
socket →better: sock1...sock9
  • 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.

Examples

See also