Difference between revisions of "Template:Cpulist/doc"

From blackwiki
Jump to navigation Jump to search
imported>Uzume
(+p6)
imported>Uzume
Line 21: Line 21:
 
The first argument to the cpulist template, ''nehalem'' in the example, defines the layout of the table. Currently, valid arguments here are
 
The first argument to the cpulist template, ''nehalem'' in the example, defines the layout of the table. Currently, valid arguments here are
  
* [[Template:cpulist/p6|p6]]: For lists of Intel's p6 generation of processors
 
* [[Template:cpulist/core|core]]: For lists of Intel's previous generation of processors
 
 
* [[Template:cpulist/nehalem|nehalem]]: For lists of Intel's latest generation of processors, including fields for 'Turbo' mode, L3 cache and Memory Controller
 
* [[Template:cpulist/nehalem|nehalem]]: For lists of Intel's latest generation of processors, including fields for 'Turbo' mode, L3 cache and Memory Controller
 
* [[Template:cpulist/nehgfx|nehgfx]]: like nehalem, but for chips with integrated graphics capability
 
* [[Template:cpulist/nehgfx|nehgfx]]: like nehalem, but for chips with integrated graphics capability
 
* [[Template:cpulist/atom|atom]]: For lists of low-end Atom processors, currently same format as ''core''
 
* [[Template:cpulist/atom|atom]]: For lists of low-end Atom processors, currently same format as ''core''
 
* [[Template:cpulist/atomgfx|atomgfx]]: For lists of Atom processors with integrated graphics
 
* [[Template:cpulist/atomgfx|atomgfx]]: For lists of Atom processors with integrated graphics
 +
* [[Template:cpulist/core|core]]: For lists of Intel's previous generation of processors
 +
* [[Template:cpulist/p6|p6]]: For lists of Intel's p6 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
 
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

Revision as of 11:21, 30 May 2010

cpulist is a template for maintaining lists of microprocessors with separate content and markup. Please help to convert Lists of microprocessors to this template, in order to give them all a consisten 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}}
 {{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

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

Template arguments

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

  • nehalem: For lists of Intel's latest 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
  • 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

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

  • model: The name of the processor
  • sspec1: up to four Intel sSpec numbers, as sspec1 through sspec4
  • step1: up to four stepping names for the above sPec numbers, as step1 through step4
  • 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 for Intel Nehalem processors, as increments in clock multiplier
  • gfxfreq: clock frequency of the integrated graphics, if applicable
  • 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: Thermal design power in watts
  • sock: Socket, one of 1567, 1366, 1156, 775, 771, M, P, 956, 478, 479, 603, 604 or some others
  • date: release date
  • part1: part number or order code, up to four, as part1 through part4
  • 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