Difference between revisions of "Template:Infobox CPU"

From blackwiki
Jump to navigation Jump to search
imported>Matthew Anthony Smith
imported>Bumm13
m (formatting fix)
 
(114 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{infobox
+
{{Infobox
| title  = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
+
| title  = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
| image  = {{#if:{{{image|}}}|[[Image:{{{image}}}|{{{image_size|frameless}}}]]}}
+
| image  = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=frameless|alt={{{alt|}}}}}
 
| caption = {{{caption|}}}
 
| caption = {{{caption|}}}
 
+
| header1 = {{ #if: {{{produced-end|}}}{{{produced-start|}}}{{{created|}}}{{{soldby|}}}{{{designfirm|}}}{{{manuf1|}}}{{{cpuid|}}}{{{code|}}} | General information }}
| label1  = Produced
+
| label2  = Launched
| data1  = {{#if:{{{produced-end|}}}|From {{{produced-start}}} to {{{produced-end}}}|{{{produced-start|}}}}}
+
| data2  = {{{produced-start|}}}{{{created|}}}<!--some pages still using created-parameter-->
| label2 = Marketed by
+
| label3  = Discontinued
| data2   = {{{soldby|}}}
+
| data3  = {{{produced-end|}}}
| label3 = Designed by
+
| label4 = Marketed by
| data3   = {{{designfirm|}}}
+
| data4   = {{{soldby|}}}
| label4 = Common manufacturer(s)
+
| label5 = Designed by
| data4   = {{unbulleted list
+
| data5   = {{{designfirm|}}}
| {{{manufacturers|}}}
+
| label6 = Common manufacturer(s)
 +
| data6   = {{unbulleted list
 
| {{{manuf1|}}}
 
| {{{manuf1|}}}
 
| {{{manuf2|}}}
 
| {{{manuf2|}}}
Line 19: Line 20:
 
| {{{manuf5|}}}
 
| {{{manuf5|}}}
 
}}  
 
}}  
| label5 = Max. [[Central processing unit|CPU]] [[clock rate]]
+
| label11 = [[CPUID]] code
| data5  ={{{clocks|}}}
+
| data11  = {{{cpuid|}}}
{{#if:{{{slowest|}}}|{{{slowest}}}&nbsp;{{{slow-unit|GHz}}}}} {{#if:{{{fastest|}}}| to {{{fastest}}}&nbsp;{{{fast-unit|GHz}}}}}
+
| label12 = Product code
| label6  = [[Front side bus|FSB]] speeds
+
| data12 = {{{code|}}}
| data6  = {{{fsb|}}}  
+
| header19 = {{ #if: {{{clock|}}}{{{slowest|}}}{{{fsb|}}}{{{fsb-slowest|}}}{{{hypertransport-slowest|}}}{{{qpi-slowest|}}}{{{dmi-slowest|}}}{{{data-width|}}}{{{address-width|}}}{{{virtual-width|}}} | Performance }}
{{#if:{{{fsb-slowest|}}}|{{{fsb-slowest}}}&nbsp;{{{fsb-slow-unit|GHz}}}}} {{#if:{{{fsb-fastest|}}}| to {{{fsb-fastest}}}&nbsp;{{{fsb-fast-unit|GHz}}}}}
+
| label20 = Max. [[Central processing unit|CPU]] [[clock rate]]
| label7  = [[HyperTransport]] speeds
+
| data20  = {{#if:{{{clock|}}}|{{{clock}}}<!--some pages still using this old parameter-->|{{#if:{{{slowest|}}}|{{{slowest}}}&nbsp;{{{slow-unit|GHz}}}}} {{#if:{{{fastest|}}}| to {{{fastest}}}&nbsp;{{{fast-unit|GHz}}}}}}}
| data7  = {{#if:{{{hypertransport-slowest|}}}|{{{hypertransport-slowest}}}&nbsp;{{{hypertransport-slow-unit|GT/s}}}}} {{#if:{{{hypertransport-fastest|}}}| to {{{hypertransport-fastest}}}&nbsp;{{{hypertransport-fast-unit|GT/s}}}}}
+
| label21 = [[Front-side bus|FSB]] speeds
| label8  = [[Intel QuickPath Interconnect|QPI]] speeds
+
| data21  = {{#if:{{{fsb|}}}|{{{fsb}}}<!--some pages still using this old parameter-->|{{#if:{{{fsb-slowest|}}}|{{{fsb-slowest}}}&nbsp;{{{fsb-slow-unit|GHz}}}}} {{#if:{{{fsb-fastest|}}}| to {{{fsb-fastest}}}&nbsp;{{{fsb-fast-unit|GHz}}}}}}}
| data8  = {{{qpi|}}}
+
| label22 = [[HyperTransport]] speeds
{{#if:{{{qpi-slowest|}}}|{{{qpi-slowest}}}&nbsp;{{{qpi-slow-unit|GT/s}}}}} {{#if:{{{qpi-fastest|}}}| to {{{qpi-fastest}}}&nbsp;{{{qpi-fast-unit|GT/s}}}}}
+
| data22  = {{#if:{{{hypertransport-slowest|}}}|{{{hypertransport-slowest}}}&nbsp;{{{hypertransport-slow-unit|GT/s}}}}} {{#if:{{{hypertransport-fastest|}}}| to {{{hypertransport-fastest}}}&nbsp;{{{hypertransport-fast-unit|GT/s}}}}}
| label9  = [[Direct Media Interface|DMI]] speeds
+
| label23 = [[Intel QuickPath Interconnect|QPI]] speeds
| data9  = {{{dmi|}}}
+
| data23  = {{#if:{{{qpi-slowest|}}}|{{{qpi-slowest}}}&nbsp;{{{qpi-slow-unit|GT/s}}}}} {{#if:{{{qpi-fastest|}}}| to {{{qpi-fastest}}}&nbsp;{{{qpi-fast-unit|GT/s}}}}}
{{#if:{{{dmi-slowest|}}}|{{{dmi-slowest}}}&nbsp;{{{dmi-slow-unit|GT/s}}}}} {{#if:{{{dmi-fastest|}}}| to {{{dmi-fastest}}}&nbsp;{{{dmi-fast-unit|GT/s}}}}}
+
| label24 = [[Direct Media Interface|DMI]] speeds
| label10 = Min. feature size
+
| data24  = {{#if:{{{dmi-slowest|}}}|{{{dmi-slowest}}}&nbsp;{{{dmi-slow-unit|GT/s}}}}} {{#if:{{{dmi-fastest|}}}| to {{{dmi-fastest}}}&nbsp;{{{dmi-fast-unit|GT/s}}}}}
| data10 = {{#if:{{{size-from|}}}|{{{size-from|}}} {{#if:{{{size-to|}}}| to {{{size-to}}}}}}}
+
| label25 = Data width
| label11 = [[Instruction Set]]
+
| data25  = {{{data-width|}}}
| data11 = {{{arch|}}}
+
| label26 = Address width
| label12  = [[Microarchitecture]]
+
| data26  = {{{address-width|}}}
| data12  = {{{microarch|}}}
+
| label27 = Virtual address width
| label13 = CPUID code
+
| data27  = {{{virtual-width|}}}
| data13 = {{{cpuid|}}}
+
| header29 = {{ #if: {{{l1cache|}}}{{{l2cache|}}}{{{l3cache|}}}{{{l4cache|}}}{{{llcache|}}} | Cache }}
| label14 = Product code
+
| label30 = L1 [[CPU cache|cache]]
| data14 = {{{code|}}}
+
| data30  = {{{l1cache|}}}
| label15 = [[Multi-core (computing)|Cores]]
+
| label31 = L2 cache
| data15 = {{{numcores|}}}
+
| data31  = {{{l2cache|}}}
| label16 = L1 [[CPU cache|cache]]
+
| label32 = L3 cache
| data16 = {{{l1cache|}}}
+
| data32  = {{{l3cache|}}}
| label17 = L2 cache
+
| label33 = L4 cache
| data17  = {{{l2cache|}}}
+
| data33  = {{{l4cache|}}}
| label18 = L3 cache
+
| label34 = Last level cache
| data18  = {{{l3cache|}}}
+
| data34  = {{{llcache|}}}
| label19 = Application
+
| header38 = {{ #if: {{{application|}}}{{{size-from|}}}{{{microarch|}}}{{{arch|}}}{{{arch1|}}}{{{instructions|}}}{{{extensions|}}}{{{extensions1|}}} | Architecture and classification }}
| data19 = {{{application|}}}
+
| label39 = Application
| label20 = Predecessor
+
| data39  = {{{application|}}}
| data20 = {{{predecessor|}}}
+
| label40 = [[Technology node|Min.&nbsp;feature&nbsp;size]]
| label26 = Variant
+
| data40 = {{#if:{{{size-from|}}}|{{{size-from|}}} {{#if:{{{size-to|}}}| to {{{size-to}}}}}}}
| data26 = {{{variant|}}}
+
| label41 = Architecture
| label21 = Successor
+
| data41  = {{{arch1|}}}
| data21 = {{{successor|}}}
+
| label42 = [[Microarchitecture]]
| data22 = {{{co-processor|}}}
+
| data42 = {{{microarch|}}}
{{{coprocessor|}}}
+
| label43 = [[Instruction set architecture|Instruction&nbsp;set]]
| label22 = Co-processor
+
| data43  = {{{arch|}}}
| label23 = Socket(s)
+
| label44 = Instructions
| data23 = {{unbulleted list
+
| data44 = {{{instructions|}}}
 +
| label45 = Extensions
 +
| data45  = {{unbulleted list
 +
| {{{extensions|}}} <!-- some pages using just "extensions", some "extensions1", "extensions2", ... -->
 +
| {{{extensions1|}}}
 +
| {{{extensions2|}}}
 +
| {{{extensions3|}}}
 +
}}
 +
| header49 = {{ #if: {{{transistors|}}}{{{transistors1|}}}{{{numcores|}}}{{{cores|}}}{{{cores1|}}}{{{gpu|}}}{{{co-processor|}}}{{{pack1|}}}{{{socket|}}}{{{sock1|}}} | Physical specifications }}
 +
| label50 = [[Transistor count|Transistors]]
 +
| data50 = {{unbulleted list
 +
| {{{transistors|}}}  <!-- some pages using just "transistors", some "transistors1", "transistors2", ... -->
 +
| {{{transistors1|}}}
 +
| {{{transistors2|}}}
 +
| {{{transistors3|}}}
 +
| {{{transistors4|}}}
 +
| {{{transistors5|}}}
 +
| {{{transistors6|}}}
 +
| {{{transistors7|}}}
 +
| {{{transistors8|}}}
 +
}}
 +
| label51 = [[Multi-core processor|Cores]]
 +
| data51 = {{unbulleted list
 +
| {{{numcores|}}}
 +
| {{{cores|}}}  <!-- some pages using just "cores", some "cores1", "cores2", ... -->
 +
| {{{cores1|}}}
 +
| {{{cores2|}}}
 +
| {{{cores3|}}}
 +
| {{{cores4|}}}
 +
| {{{cores5|}}}
 +
}}
 +
| label53 = [[Graphics processing unit|GPU(s)]]
 +
| data53 = {{{gpu|}}}
 +
| label54 = [[Co-processor]]
 +
| data54  = {{{co-processor|}}}
 +
| label55 = Package(s)
 +
| data55  = {{unbulleted list
 +
| {{{pack1|}}}
 +
| {{{pack2|}}}
 +
| {{{pack3|}}}
 +
| {{{pack4|}}}
 +
| {{{pack5|}}}
 +
}}
 +
| label56 = Socket(s)
 +
| data56 = {{unbulleted list
 +
| {{{socket|}}} <!-- some pages using just "socket", some "sock1", "sock2", ... -->
 
| {{{sock1|}}}
 
| {{{sock1|}}}
 
| {{{sock2|}}}
 
| {{{sock2|}}}
Line 74: Line 120:
 
| {{{sock9|}}}
 
| {{{sock9|}}}
 
}}
 
}}
| label24 = Package(s)
+
| header59 = {{ #if: {{{core1|}}}{{{pcode1|}}}{{{model|}}}{{{brand1|}}}{{{variant|}}} | Products, models, variants }}
| data24  = {{unbulleted list
+
| label60 = Core&nbsp;name(s)
| {{{pack1|}}}
+
| data60 = {{unbulleted list
| {{{pack2|}}}
 
| {{{pack3|}}}
 
| {{{pack4|}}}
 
| {{{pack5|}}}
 
}}
 
| label25 = Core name(s)
 
| data25 = {{unbulleted list
 
 
| {{{core1|}}}
 
| {{{core1|}}}
 
| {{{core2|}}}
 
| {{{core2|}}}
Line 94: Line 133:
 
| {{{core9|}}}
 
| {{{core9|}}}
 
}}
 
}}
| label26 = Brand name(s)
+
| label61 = Product code name(s)
| data26 = {{unbulleted list
+
| data61  = {{unbulleted list
 +
| {{{pcode1|}}}
 +
| {{{pcode2|}}}
 +
| {{{pcode3|}}}
 +
| {{{pcode4|}}}
 +
| {{{pcode5|}}}
 +
| {{{pcode6|}}}
 +
| {{{pcode7|}}}
 +
| {{{pcode8|}}}
 +
| {{{pcode9|}}}
 +
}}
 +
| label62 = Model(s)
 +
| data62  = {{unbulleted list
 +
| {{{model|}}} <!-- some pages using just "model", some "model1", "model2", ... -->
 +
| {{{model1|}}}
 +
| {{{model2|}}}
 +
| {{{model3|}}}
 +
| {{{model4|}}}
 +
| {{{model5|}}}
 +
| {{{model6|}}}
 +
| {{{model7|}}}
 +
| {{{model8|}}}
 +
| {{{model9|}}}
 +
}}
 +
| label63 = Brand&nbsp;name(s)
 +
| data63 = {{unbulleted list
 
| {{{brand1|}}}
 
| {{{brand1|}}}
 
| {{{brand2|}}}
 
| {{{brand2|}}}
Line 106: Line 170:
 
| {{{brand9|}}}
 
| {{{brand9|}}}
 
}}
 
}}
| label27 = Transistors (Steppings)
+
| label69 = Variant(s)
| data27 = {{{transistors|}}}
+
| data69 = {{{variant|}}}
}}
+
| header70 = {{ #if: {{{predecessor|}}}{{{successor|}}} | History }}
| label28 = Transistors
+
| label71 = Predecessor
| data28 = {{{transistors-nostep|}}}
+
| data71 = {{{predecessor|}}}
}}
+
| label72 = Successor
 +
| data72  = {{{successor|}}}
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Latest revision as of 02:21, 8 December 2020

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