Difference between revisions of "Template:Cpulist/doc"

From blackwiki
Jump to navigation Jump to search
(→‎Template arguments: show the difference between skylake and lake-e template)
imported>Vossanova
(→‎Template arguments: add new arguments)
 
(6 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
{{documentation subpage}}
 
'''cpulist''' is a template for maintaining lists of microprocessors with separate content and markup. Please help to convert the lists of microprocessors from [[:Template:Intel processors]] to this template, in order to give them all a consistent appearance.
 
'''cpulist''' is a template for maintaining lists of microprocessors with separate content and markup. Please help to convert the lists of microprocessors from [[:Template:Intel processors]] to this template, in order to give them all a consistent appearance.
  
Line 7: Line 8:
 
  |l3=4|qpi=4.8|mult=14|memspeed=800|vmin=0.75|vmax=1.35|tdp=80|date=March 30, 2009|price=$188|links=1
 
  |l3=4|qpi=4.8|mult=14|memspeed=800|vmin=0.75|vmax=1.35|tdp=80|date=March 30, 2009|price=$188|links=1
 
   |sspec1=SLBEZ|step1=D0|part1=AT80602000804AA}}
 
   |sspec1=SLBEZ|step1=D0|part1=AT80602000804AA}}
  {{end}}</nowiki>
+
  {{cpulist|nehalem|end}}</nowiki>
  
 
results in a table like
 
results in a table like
Line 14: Line 15:
 
  |l3=4|qpi=4.8|mult=14|memspeed=800|vmin=0.75|vmax=1.35|tdp=80|date=March 30, 2009|price=$188|links=1
 
  |l3=4|qpi=4.8|mult=14|memspeed=800|vmin=0.75|vmax=1.35|tdp=80|date=March 30, 2009|price=$188|links=1
 
   |sspec1=SLBEZ|step1=D0|part1=AT80602000804AA}}
 
   |sspec1=SLBEZ|step1=D0|part1=AT80602000804AA}}
  {{end}}
+
  {{cpulist|nehalem|end}}
  
 
Making changes to the cpulist template affects all articles using it, see [[Special:WhatLinksHere/Template:Cpulist]] for a list.
 
Making changes to the cpulist template affects all articles using it, see [[Special:WhatLinksHere/Template:Cpulist]] for a list.
Line 41: Line 42:
 
The second argument is the type of processor, defining default contents for many fields that are identical throughout a series of processors. This argument is optional, valid arguments are currently:
 
The second argument is the type of processor, defining default contents for many fields that are identical throughout a series of processors. This argument is optional, valid arguments are currently:
 
* head: A special argument, resulting in a table header
 
* head: A special argument, resulting in a table header
 +
* [[Tiger Lake (microprocessor)|tigerlake, willowcove]]
 +
* [[Ice Lake (microprocessor)|icelake, sunnycove]]
 +
* [[Kaby Lake|kabylake_x]]
 +
* [[Skylake (microarchitecture)|skylake, skylake_e]]
 
* [[Silvermont|baytrail]]
 
* [[Silvermont|baytrail]]
 
* [[Haswell (microarchitecture)|haswell]]
 
* [[Haswell (microarchitecture)|haswell]]
 
* [[Ivy Bridge (microarchitecture)|ivybridge]]
 
* [[Ivy Bridge (microarchitecture)|ivybridge]]
 
* [[Sandy Bridge (microarchitecture)|sandybridge]]
 
* [[Sandy Bridge (microarchitecture)|sandybridge]]
* [[Sandy Bridge (microarchitecture)|sandybridge_e]]
+
* [[Sandy Bridge-E|sandybridge_e]]
 
* [[Gulftown (microprocessor)|gulftown]]
 
* [[Gulftown (microprocessor)|gulftown]]
 
* [[Gulftown (microprocessor)|gulftownup]]
 
* [[Gulftown (microprocessor)|gulftownup]]
Line 78: Line 83:
  
 
Other arguments are
 
Other arguments are
* <code>model</code>: The name of the processor
+
* {{para|anchor}}: An arbitrary HTML anchor that can be assigned to an entry
* <code>sspec</code> or <code>sspec1</code>-<code>sspec8</code>: up to 8 Intel sSpec numbers
+
* {{para|model}}: The name of the processor
** <code>step1</code>-<code>step8</code>: up to 8 stepping names for the above sSpec numbers
+
* {{para|sspec}} or {{para|sspec1}}…{{para|sspec8}}: up to 8 Intel sSpec numbers
* <code>fre</code>q: Core frequency, can often be determined by ''fsb'' and ''mult'' arguments, in MHz or GHz
+
** {{para|step1}}…{{para|step8}}: up to 8 stepping names for the above sSpec numbers
* <code>uncore</code>: Uncore frequency, in MHz or GHz
+
* {{para|freq}}: Core frequency, can often be determined by ''fsb'' and ''mult'' arguments, in MHz or GHz
* <code>turbo</code>: Turbo frequencies , as increments in clock multiplier
+
* {{para|uncore}}: Uncore frequency, in MHz or GHz
* <code>burst</code>: Burst frequencies , in GHz
+
* {{para|turbo}}: Turbo frequencies , as increments in clock multiplier
* <code>igp</code>: Model of integrated graphics processor
+
* {{para|burst}}: Burst frequencies , in GHz
* <code>gfxfreq</code>: clock frequency of the integrated graphics, if applicable
+
* {{para|igp}}: Model of integrated graphics processor
* <code>cores</code>: number of processor cores
+
* {{para|gfxfreq}}: clock frequency of the integrated graphics, if applicable
* <code>l1</code>: size of the Level 1 Cache, in KB
+
* {{para|cores}}: number of processor cores
* <code>l2</code>: size of the Level 2 Cache, in KB or MB
+
** {{para|threads}}: number of processor threads
* <code>l3</code>: size of the Level 3 Cache, in MB
+
* {{para|l1}}: size of the Level 1 Cache, in KB
* <code>iobus</code>: Type and speed of I/O bus interface, may be expressed as one of
+
* {{para|l2}}: size of the Level 2 Cache, in KB or MB
** <code>fsb</code>: performance of Front-side bus in MT/s, if applicable
+
* {{para|l3}}: size of the Level 3 Cache, in MB
** <code>ht</code>: performance of Hypertransport in MT/s, if applicable
+
* {{para|iobus}}: Type and speed of I/O bus interface, may be expressed as one of
** <code>qpi</code>: performance of Quickpath interface in MT/s, if applicable
+
** {{para|fsb}}: performance of Front-side bus in MT/s, if applicable
** <code>dmi</code>: set to 1 if Direct media interface is in use
+
** {{para|ht}}: performance of Hypertransport in MT/s, if applicable
* <code>mult</code>: clock multiplier of fsb or base frequency
+
** {{para|qpi}}: performance of Quickpath interface in MT/s, if applicable
* <code>mem</code>: memory interface of integrated memory controller, may be expressed as
+
** {{para|dmi}}: set to 1 if Direct media interface is in use
** <code>memspeed</code>: data rate of integrated memory controller
+
* {{para|mult}}: clock multiplier of fsb or base frequency
* <code>volt</code>: core voltage range, usually given as
+
* {{para|mem}}: memory interface of integrated memory controller, may be expressed as
** <code>vmin</code>: minimum voltage in volts
+
** {{para|memspeed}}: data rate of integrated memory controller
** <code>vmax</code>: maximum voltage (optional) in volts
+
* {{para|volt}}: core voltage range, usually given as
* <code>tdp</code> or <code>tdp1</code>-<code>tdp8</code>: Thermal design power in watts
+
** {{para|vmin}}: minimum voltage in volts
* <code>sdp</code>: Scenario design power in watts  
+
** {{para|vmax}}: maximum voltage (optional) in volts
* <code>sock</code> or <code>sock1</code>-<code>sock8</code>: Socket, one of 1567, 1366, 1156, 775, 771, M, P, 956, 478, 479, 603, 604 or some others
+
* {{para|tdp}} or {{para|tdp1}}…{{para|tdp8}}: Thermal design power in watts
* <code>date</code>: release date
+
* {{para|sdp}}: Scenario design power in watts  
* <code>part</code> or <code>part1</code> - <code>part8</code>: part numbers
+
* {{para|sock}} or {{para|sock1}}…{{para|sock8}}: Socket, one of 1567, 1366, 1156, 775, 771, M, P, 956, 478, 479, 603, 604 or some others
* <code>price</code>: price in USD at the time of release
+
* {{para|date}}: release date
 +
* {{para|part}} or {{para|part1}}…{{para|part8}}: part numbers
 +
* {{para|price}}: price in USD at the time of release
  
 
A special argument is
 
A special argument is
* links: If set to any string, wikilinks are added to various units in the table row, usually this is used in the first row of a table
+
* {{para|links}}: If set to any string, wikilinks are added to various units in the table row, usually this is used in the first row of a table
  
<includeonly>
+
<includeonly>{{sandbox other||
[[ru:Шаблон:Список ЦП]]
+
<!-- Template Categories; Interwiki links should be migrated to Wikidata sitelinks -->
[[vi:Bản_mẫu:Cpulist]]
+
}}</includeonly>
</includeonly>
 

Latest revision as of 21:43, 2 September 2020

cpulist is a template for maintaining lists of microprocessors with separate content and markup. Please help to convert the lists of microprocessors from Template:Intel processors to this template, in order to give them all a consistent appearance.

As a simple example,

 {{cpulist|nehalem|head}}
 {{cpulist|nehalem|gainestown|model=Xeon E5502
 |l3=4|qpi=4.8|mult=14|memspeed=800|vmin=0.75|vmax=1.35|tdp=80|date=March 30, 2009|price=$188|links=1
   |sspec1=SLBEZ|step1=D0|part1=AT80602000804AA}}
 {{cpulist|nehalem|end}}

results in a table like

Model
number
sSpec
number
Frequency Turbo Cores L2
cache
L3
cache
I/O bus Mult. Memory Voltage TDP Socket Release date Part
number(s)
Release
price (USD)
Xeon E5502
  • SLBEZ (D0)
1.87 GHz N/A 4 4 × 256 KiB 4 MiB 2 × 4.8 GT/s QPI 14× 3 × DDR3-800 0.75–1.35 V
80 W
LGA 1366 March 30, 2009
  • AT80602000804AA
$188
Model
number
sSpec
number
Frequency Turbo Cores L2
cache
L3
cache
I/O bus Mult. Memory Voltage TDP Socket Release date Part
number(s)
Release
price (USD)

Making changes to the cpulist template affects all articles using it, see Special:WhatLinksHere/Template:Cpulist for a list.

Here is the list of cpulist sub-templates:

Template arguments

The first argument to the cpulist template, nehalem in the example, defines the layout of the table. Currently, valid arguments here are

  • lake-e For lists of the (Skylake-SP/F/W/X and Kaby Lake-X) generation of processors, including fields for burst frequency
  • skylake For lists of the Skylake, Kabylake, Coffeelake, etc generation of processors, including GPU field
  • silvermont For lists of the latest (Silvermont/Airmont) generation of low-power processors, including fields for sdp and burst frequency
  • haswell: For lists of the latest (Haswell/Broadwell) generation of processors, showing only the fields that are known to date
  • bridge-e: For lists of the previous (Sandy Bridge/Ivy Bridge) generation of processors, showing only the fields that are known to date
  • bridge: For lists of the previous (Sandy Bridge/Ivy Bridge) generation of processors, showing only the fields that are known to date
  • sandybridge: For lists of the previous Sandy Bridge processors, currently same format as bridge
  • nehalem: For lists of Intel's previous (Nehalem/Westmere) generation of processors, including fields for 'Turbo' mode, L3 cache and Memory Controller
  • nehgfx: like nehalem, but for chips with integrated graphics capability
  • atom: For lists of low-end Atom processors, currently same format as core
  • atomx3: For lists of Atom processors
  • atomgfx: For lists of Atom processors with integrated graphics
  • core: For lists of Intel's previous generation of processors
  • p6: For lists of Intel's p6 generation of processors
  • p5: For lists of Intel's p5 generation of processors

The second argument is the type of processor, defining default contents for many fields that are identical throughout a series of processors. This argument is optional, valid arguments are currently:

Other arguments are

  • |anchor=: An arbitrary HTML anchor that can be assigned to an entry
  • |model=: The name of the processor
  • |sspec= or |sspec1=|sspec8=: up to 8 Intel sSpec numbers
    • |step1=|step8=: up to 8 stepping names for the above sSpec numbers
  • |freq=: Core frequency, can often be determined by fsb and mult arguments, in MHz or GHz
  • |uncore=: Uncore frequency, in MHz or GHz
  • |turbo=: Turbo frequencies , as increments in clock multiplier
  • |burst=: Burst frequencies , in GHz
  • |igp=: Model of integrated graphics processor
  • |gfxfreq=: clock frequency of the integrated graphics, if applicable
  • |cores=: number of processor cores
    • |threads=: number of processor threads
  • |l1=: size of the Level 1 Cache, in KB
  • |l2=: size of the Level 2 Cache, in KB or MB
  • |l3=: size of the Level 3 Cache, in MB
  • |iobus=: Type and speed of I/O bus interface, may be expressed as one of
    • |fsb=: performance of Front-side bus in MT/s, if applicable
    • |ht=: performance of Hypertransport in MT/s, if applicable
    • |qpi=: performance of Quickpath interface in MT/s, if applicable
    • |dmi=: set to 1 if Direct media interface is in use
  • |mult=: clock multiplier of fsb or base frequency
  • |mem=: memory interface of integrated memory controller, may be expressed as
    • |memspeed=: data rate of integrated memory controller
  • |volt=: core voltage range, usually given as
    • |vmin=: minimum voltage in volts
    • |vmax=: maximum voltage (optional) in volts
  • |tdp= or |tdp1=|tdp8=: Thermal design power in watts
  • |sdp=: Scenario design power in watts
  • |sock= or |sock1=|sock8=: Socket, one of 1567, 1366, 1156, 775, 771, M, P, 956, 478, 479, 603, 604 or some others
  • |date=: release date
  • |part= or |part1=|part8=: part numbers
  • |price=: price in USD at the time of release

A special argument is

  • |links=: If set to any string, wikilinks are added to various units in the table row, usually this is used in the first row of a table