Difference between revisions of "Template:Infobox CPU/doc"

From blackwiki
Jump to navigation Jump to search
imported>W like wiki
imported>Voidxor
 
(7 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
 
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[</nowiki>[[Wikipedia:Wikidata]]<nowiki>]]) -->
 
This template is for CPUs. For generic hardware components, see [[Template:Infobox computer hardware]].
 
This template is for CPUs. For generic hardware components, see [[Template:Infobox computer hardware]].
{{Missing Information|<br>''one good example'' of this infobox whoulb be nice here. But aslong as three [[Template talk:Infobox CPU#Architecture|architecture]]-parameters and the four [[Template talk:Infobox CPU#Names (Products, models, variants)|name]]-parameters are not clearly definded it is difficult|date=October 2019}}
+
{{Missing Information|<br>''one good example'' of this infobox would be nice here. But as long as three [[Template talk:Infobox CPU#Architecture|architecture]]-parameters and the four [[Template talk:Infobox CPU#Names (Products, models, variants)|name]]-parameters are not clearly defined it is difficult|date=October 2019}}
  
 
{{Parameter names example|name|image|image_size|alt|caption
 
{{Parameter names example|name|image|image_size|alt|caption
|created|produced-start|produced-end|soldby|designfirm|manuf1|manuf2|manuf3|manuf4|manuf5
+
|produced-start|produced-end|soldby|designfirm|manuf1|manuf2|manuf3|manuf4|manuf5
 
|application|cpuid|code
 
|application|cpuid|code
 
|slowest|slow-unit|fastest|fast-unit
 
|slowest|slow-unit|fastest|fast-unit
Line 25: Line 25:
 
<pre style="overflow: auto;">
 
<pre style="overflow: auto;">
 
{{Infobox CPU
 
{{Infobox CPU
| name           =  
+
| name =  
| image         =  
+
| image =  
| image_size     =  
+
| image_size =  
| alt           =  
+
| alt =  
| caption       =  
+
| caption =  
 
<!----------------- General Info ----------------->
 
<!----------------- General Info ----------------->
 
| produced-start =  
 
| produced-start =  
| produced-end   =
+
| produced-end =  
| created        =
+
| soldby =  
| soldby         =  
+
| designfirm =  
| designfirm     =  
+
| manuf1 = <!-- manuf1..5 -->
| manuf1         = <!-- manuf1..5 -->
+
| cpuid =  
| cpuid         =  
+
| code =  
| code           =  
 
 
<!----------------- Performance ------------------>
 
<!----------------- Performance ------------------>
| slowest       =  
+
| slowest =  
| fastest       =  
+
| fastest =  
| slow-unit     =  
+
| slow-unit =  
| fast-unit     =  
+
| fast-unit =  
| fsb-slowest   =  
+
| fsb-slowest =  
| fsb-fastest   =  
+
| fsb-fastest =  
| fsb-slow-unit =  
+
| fsb-slow-unit =  
| fsb-fast-unit =  
+
| fsb-fast-unit =  
| hypertransport-slowest   =  
+
| hypertransport-slowest =  
| hypertransport-fastest   =  
+
| hypertransport-fastest =  
 
| hypertransport-slow-unit =  
 
| hypertransport-slow-unit =  
 
| hypertransport-fast-unit =  
 
| hypertransport-fast-unit =  
| qpi-slowest   =  
+
| qpi-slowest =  
| qpi-fastest   =  
+
| qpi-fastest =  
| qpi-slow-unit =  
+
| qpi-slow-unit =  
| qpi-fast-unit =  
+
| qpi-fast-unit =  
| dmi-slowest   =  
+
| dmi-slowest =  
| dmi-fastest   =  
+
| dmi-fastest =  
| dmi-slow-unit =  
+
| dmi-slow-unit =  
| dmi-fast-unit =  
+
| dmi-fast-unit =  
| data-width     =  
+
| data-width =  
| address-width =  
+
| address-width =  
| virtual-width =  
+
| virtual-width =  
<!-------------------- Cache -------------------->
+
<!-------------------- Cache --------------------->
| l1cache       =  
+
| l1cache =  
| l2cache       =  
+
| l2cache =  
| l3cache       =  
+
| l3cache =  
| l4cache       =  
+
| l4cache =  
| llcache       =  
+
| llcache =  
<!------ Architecture and classification -------->
+
<!------- Architecture and classification -------->
| application   =  
+
| application =  
| size-from     =  
+
| size-from =  
| size-to       =  
+
| size-to =  
| arch1         =  
+
| arch1 =  
| microarch     =  
+
| microarch =  
| arch           =  
+
| arch =  
| instructions   =  
+
| instructions =  
| extensions     =  
+
| extensions =  
<!----------- Physical specifications ----------->
+
<!----------- Physical specifications ------------>
| transistors   =
+
| transistors =
| numcores       =  
+
| numcores =  
| gpu           =  
+
| gpu =  
| co-processor   =  
+
| co-processor =  
| pack1         = <!-- pack1..9 -->
+
| pack1 = <!-- pack1..9 -->
| sock1         = <!-- sock1..9 -->
+
| sock1 = <!-- sock1..9 -->
<!--------- Products, models, variants ---------->
+
<!--------- Products, models, variants ----------->
| core1         = <!-- core1..9 -->
+
| core1 = <!-- core1..9 -->
| pcode1         = <!-- pcode1..9 -->
+
| pcode1 = <!-- pcode1..9 -->
| model1         = <!-- model1..9 -->
+
| model1 = <!-- model1..9 -->
| brand1         = <!-- brand1..9 -->
+
| brand1 = <!-- brand1..9 -->
| variant       =  
+
| variant =  
<!------------------  History  ------------------>
+
<!------------------  History  ------------------->
| predecessor   =  
+
| predecessor =  
| successor     =  
+
| successor =  
 
}}
 
}}
 
</pre>
 
</pre>
Line 105: Line 104:
 
| image                    = An image to show in the infobox
 
| image                    = An image to show in the infobox
 
| image_size                = Size of the image (defaults to 200px)
 
| image_size                = Size of the image (defaults to 200px)
 +
| alt                      = Mouse over text for the image
 
| caption                  = A caption for the image
 
| caption                  = A caption for the image
 
+
<!----------------- General Info ------------------------------------------------------------------------------------->
| produced-start            = When production began
+
| produced-start            = When production began / Launch date                            →see talkpage section #Dates
| produced-end              = When production ended
+
| produced-end              = When production ended / Discontinued date                      →see talkpage section #Dates
| created                  = When was introduction
 
 
| soldby                    = Often, but not always, the same as the designfirm and/or manuf1
 
| 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
 
| designfirm                = Often, but not always, the same as manuf1 and/or soldby
Line 115: Line 114:
 
| cpuid                    = CPUID or PVR value
 
| cpuid                    = CPUID or PVR value
 
| code                      = numerical identifier for the CPU (product code)
 
| code                      = numerical identifier for the CPU (product code)
 
+
<!----------------- Performance -------------------------------------------------------------------------------------->
 
| slowest                  = Lowest maximum CPU clock
 
| slowest                  = Lowest maximum CPU clock
 
| fastest                  = Highest maximum CPU clock
 
| fastest                  = Highest maximum CPU clock
Line 139: Line 138:
 
| address-width            = Address bus width in bits
 
| address-width            = Address bus width in bits
 
| virtual-width            = Virtual address bus width in bits
 
| virtual-width            = Virtual address bus width in bits
 
+
<!-------------------- Cache ----------------------------------------------------------------------------------------->
 
| l1cache                  = Level 1 cache size
 
| l1cache                  = Level 1 cache size
 
| l2cache                  = Level 2 cache size
 
| l2cache                  = Level 2 cache size
Line 145: Line 144:
 
| l4cache                  = Level 4 cache size
 
| l4cache                  = Level 4 cache size
 
| llcache                  = Last Level cache size
 
| llcache                  = Last Level cache size
 
+
<!------- Architecture and classification ---------------------------------------------------------------------------->
 
| application              = Typical application (Embedded, Mobile, Desktop, Server)
 
| application              = Typical application (Embedded, Mobile, Desktop, Server)
 
| size-from                = First fabrication size
 
| size-from                = First fabrication size
Line 154: Line 153:
 
| instructions              = Instruction sets (or number of instructions)                →see talkpage section #Architecture
 
| instructions              = Instruction sets (or number of instructions)                →see talkpage section #Architecture
 
| extensions                = Extensions to the instructions
 
| extensions                = Extensions to the instructions
 
+
<!----------- Physical specifications -------------------------------------------------------------------------------->
 
| transistors              = Number of transistors, transistor count
 
| transistors              = Number of transistors, transistor count
 
| numcores                  = Number of cores (2 for dual-core)
 
| numcores                  = Number of cores (2 for dual-core)
Line 161: Line 160:
 
| pack1                    = (1..5) Names of CPU packages
 
| pack1                    = (1..5) Names of CPU packages
 
| sock1                    = (1..9) Names of the sockets that the CPU was made for
 
| 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)"
 
| 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)"
 
| pcode1                    = (1..9) Product code names                  →see talkpage section "Names (Products, models, variants)"
Line 167: Line 166:
 
| brand1                    = (1..9) Marketing names of the CPU
 
| brand1                    = (1..9) Marketing names of the CPU
 
| variant                  = Variants in the same family and generation  →see talkpage section "Names (Products, models, variants)"
 
| variant                  = Variants in the same family and generation  →see talkpage section "Names (Products, models, variants)"
 
+
<!------------------  History  --------------------------------------------------------------------------------------->
 
| predecessor              = What CPU came before
 
| predecessor              = What CPU came before
 
| successor                = What CPU came after
 
| successor                = What CPU came after
Line 173: Line 172:
 
</pre>
 
</pre>
 
* All fields, except <code>name</code> are optional
 
* All fields, except <code>name</code> are optional
* Following '''old parameters''' you should not use anymore:
+
* The following '''parameters''' are deprecated:
 
:{|
 
:{|
 +
| <code>created</code> || →better: <code>produced-start</code>, <code>produced-end</code>
 +
|-
 
| <code>clock</code> || →better: <code>slowest</code>, <code>fastest</code>
 
| <code>clock</code> || →better: <code>slowest</code>, <code>fastest</code>
 
|-
 
|-
Line 188: Line 189:
 
* The numbered attributes mean that there is allowance for multiples.
 
* 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.
 
* See the talk page for some examples which show the full usage of this infobox in a few combinations.
 +
 +
== Examples ==
 +
* [[Haswell (microarchitecture)]]
 +
* [[Pentium III]]
 +
* [[Intel 80386]]
  
 
== See also ==
 
== See also ==
Line 193: Line 199:
 
* {{tl|Infobox computer hardware}}
 
* {{tl|Infobox computer hardware}}
  
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{Sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
[[Category:Computer hardware infobox templates|Cpu]]
 
[[Category:Computer hardware infobox templates|Cpu]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 01:04, 9 February 2021

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