Difference between revisions of "Template:Infobox CPU"
Jump to navigation
Jump to search
(use Unbulleted list instead of brs (to fix extra gap at end of lists)) |
imported>Bumm13 m (formatting fix) |
||
| (128 intermediate revisions by 34 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Infobox |
| − | | title = {{{name|<includeonly>{{ | + | | title = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}} |
| − | | image = {{# | + | | 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 }} | |
| − | + | | label2 = Launched | |
| − | | | + | | data2 = {{{produced-start|}}}{{{created|}}}<!--some pages still using created-parameter--> |
| − | | | + | | label3 = Discontinued |
| − | + | | data3 = {{{produced-end|}}} | |
| − | | | + | | label4 = Marketed by |
| − | | | + | | data4 = {{{soldby|}}} |
| − | + | | label5 = Designed by | |
| − | | | + | | data5 = {{{designfirm|}}} |
| − | | | + | | label6 = Common manufacturer(s) |
| − | | | + | | data6 = {{unbulleted list |
| − | | | + | | {{{manuf1|}}} |
| − | + | | {{{manuf2|}}} | |
| − | + | | {{{manuf3|}}} | |
| − | | | + | | {{{manuf4|}}} |
| − | | | + | | {{{manuf5|}}} |
| − | | | + | }} |
| − | + | | label11 = [[CPUID]] code | |
| − | + | | data11 = {{{cpuid|}}} | |
| − | + | | label12 = Product code | |
| − | + | | data12 = {{{code|}}} | |
| − | | | + | | header19 = {{ #if: {{{clock|}}}{{{slowest|}}}{{{fsb|}}}{{{fsb-slowest|}}}{{{hypertransport-slowest|}}}{{{qpi-slowest|}}}{{{dmi-slowest|}}}{{{data-width|}}}{{{address-width|}}}{{{virtual-width|}}} | Performance }} |
| − | | | + | | label20 = Max. [[Central processing unit|CPU]] [[clock rate]] |
| − | | | + | | data20 = {{#if:{{{clock|}}}|{{{clock}}}<!--some pages still using this old parameter-->|{{#if:{{{slowest|}}}|{{{slowest}}} {{{slow-unit|GHz}}}}} {{#if:{{{fastest|}}}| to {{{fastest}}} {{{fast-unit|GHz}}}}}}} |
| − | + | | label21 = [[Front-side bus|FSB]] speeds | |
| − | + | | data21 = {{#if:{{{fsb|}}}|{{{fsb}}}<!--some pages still using this old parameter-->|{{#if:{{{fsb-slowest|}}}|{{{fsb-slowest}}} {{{fsb-slow-unit|GHz}}}}} {{#if:{{{fsb-fastest|}}}| to {{{fsb-fastest}}} {{{fsb-fast-unit|GHz}}}}}}} | |
| − | | | + | | label22 = [[HyperTransport]] speeds |
| − | | | + | | data22 = {{#if:{{{hypertransport-slowest|}}}|{{{hypertransport-slowest}}} {{{hypertransport-slow-unit|GT/s}}}}} {{#if:{{{hypertransport-fastest|}}}| to {{{hypertransport-fastest}}} {{{hypertransport-fast-unit|GT/s}}}}} |
| − | + | | label23 = [[Intel QuickPath Interconnect|QPI]] speeds | |
| − | | | + | | data23 = {{#if:{{{qpi-slowest|}}}|{{{qpi-slowest}}} {{{qpi-slow-unit|GT/s}}}}} {{#if:{{{qpi-fastest|}}}| to {{{qpi-fastest}}} {{{qpi-fast-unit|GT/s}}}}} |
| − | | | + | | label24 = [[Direct Media Interface|DMI]] speeds |
| − | | | + | | data24 = {{#if:{{{dmi-slowest|}}}|{{{dmi-slowest}}} {{{dmi-slow-unit|GT/s}}}}} {{#if:{{{dmi-fastest|}}}| to {{{dmi-fastest}}} {{{dmi-fast-unit|GT/s}}}}} |
| − | + | | label25 = Data width | |
| − | + | | data25 = {{{data-width|}}} | |
| − | + | | label26 = Address width | |
| − | | | + | | data26 = {{{address-width|}}} |
| − | + | | label27 = Virtual address width | |
| − | | | + | | data27 = {{{virtual-width|}}} |
| − | | | + | | header29 = {{ #if: {{{l1cache|}}}{{{l2cache|}}}{{{l3cache|}}}{{{l4cache|}}}{{{llcache|}}} | Cache }} |
| − | | | + | | label30 = L1 [[CPU cache|cache]] |
| − | | | + | | data30 = {{{l1cache|}}} |
| − | | | + | | label31 = L2 cache |
| − | + | | data31 = {{{l2cache|}}} | |
| − | + | | label32 = L3 cache | |
| − | | | + | | data32 = {{{l3cache|}}} |
| − | + | | label33 = L4 cache | |
| − | | | + | | data33 = {{{l4cache|}}} |
| + | | label34 = Last level cache | ||
| + | | data34 = {{{llcache|}}} | ||
| + | | header38 = {{ #if: {{{application|}}}{{{size-from|}}}{{{microarch|}}}{{{arch|}}}{{{arch1|}}}{{{instructions|}}}{{{extensions|}}}{{{extensions1|}}} | Architecture and classification }} | ||
| + | | label39 = Application | ||
| + | | data39 = {{{application|}}} | ||
| + | | label40 = [[Technology node|Min. feature size]] | ||
| + | | data40 = {{#if:{{{size-from|}}}|{{{size-from|}}} {{#if:{{{size-to|}}}| to {{{size-to}}}}}}} | ||
| + | | label41 = Architecture | ||
| + | | data41 = {{{arch1|}}} | ||
| + | | label42 = [[Microarchitecture]] | ||
| + | | data42 = {{{microarch|}}} | ||
| + | | label43 = [[Instruction set architecture|Instruction set]] | ||
| + | | data43 = {{{arch|}}} | ||
| + | | label44 = Instructions | ||
| + | | 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|}}} | ||
| + | | {{{sock2|}}} | ||
| + | | {{{sock3|}}} | ||
| + | | {{{sock4|}}} | ||
| + | | {{{sock5|}}} | ||
| + | | {{{sock6|}}} | ||
| + | | {{{sock7|}}} | ||
| + | | {{{sock8|}}} | ||
| + | | {{{sock9|}}} | ||
| + | }} | ||
| + | | header59 = {{ #if: {{{core1|}}}{{{pcode1|}}}{{{model|}}}{{{brand1|}}}{{{variant|}}} | Products, models, variants }} | ||
| + | | label60 = Core name(s) | ||
| + | | data60 = {{unbulleted list | ||
| + | | {{{core1|}}} | ||
| + | | {{{core2|}}} | ||
| + | | {{{core3|}}} | ||
| + | | {{{core4|}}} | ||
| + | | {{{core5|}}} | ||
| + | | {{{core6|}}} | ||
| + | | {{{core7|}}} | ||
| + | | {{{core8|}}} | ||
| + | | {{{core9|}}} | ||
| + | }} | ||
| + | | label61 = Product code name(s) | ||
| + | | 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 name(s) | ||
| + | | data63 = {{unbulleted list | ||
| + | | {{{brand1|}}} | ||
| + | | {{{brand2|}}} | ||
| + | | {{{brand3|}}} | ||
| + | | {{{brand4|}}} | ||
| + | | {{{brand5|}}} | ||
| + | | {{{brand6|}}} | ||
| + | | {{{brand7|}}} | ||
| + | | {{{brand8|}}} | ||
| + | | {{{brand9|}}} | ||
| + | }} | ||
| + | | label69 = Variant(s) | ||
| + | | data69 = {{{variant|}}} | ||
| + | | header70 = {{ #if: {{{predecessor|}}}{{{successor|}}} | History }} | ||
| + | | label71 = Predecessor | ||
| + | | 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]]
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
nameare optional - The following parameters are deprecated:
created→better: produced-start,produced-endclock→better: slowest,fastestfsb→better: fsb-slowest,fsb-fastestcores,cores1→better: numcoressocket→better: sock1...sock9
manuf,core,sock,pack,arch, andmicroarchare 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
| The above documentation is transcluded from Template:Infobox CPU/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |