Template:Infobox CPU/doc: Difference between revisions

Content deleted Content added
No edit summary
Examples: And something that's *not* a PC chip.
 
(28 intermediate revisions by 16 users not shown)
Line 1:
{{Documentation subpage}}
<!-- 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]].
{{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}}
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
{{Parameter names example|name|image|image_size|alt|caption
 
|created|produced-start|produced-end|soldby|designfirm|manuf1|manuf2|manuf3|manuf4|manuf5
This template is for CPUs, SoCs and SiPs. For generic hardware components, see [[Template:Infobox computer hardware]].
{{Missing Information|<br>''one good example'' of this infobox whoulbwould be nice here. But aslongas 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 defindeddefined it is difficult|date=October 2019}}
 
{{Parameter names example|name|hide_subheadings|image|image_size|alt|caption
|createdlaunching|produced-start|produced-end|soldby|designfirm|manuf1|manuf2|manuf3|manuf4|manuf5|manuf6|manuf7|manuf8|manuf9|manuf10
|application|cpuid|code
|slowest|slow-unit|fastest|fast-unit
Line 14 ⟶ 17:
|data-width|address-width|virtual-width
|l1cache|l2cache|l3cache|l4cache||llcache
|size-from|size-to|arch1|microarch|arch|instructions|extensions|numinstructions
|transistors|numcores|amountmemory|gpu|co-processor
|pack1|pack2|pack3|pack4|pack5
|sock1|sock2|sock3|sock4|sock5|sock6|sock7|sock8|sock9
Line 22 ⟶ 25:
|model1|model2|model3|model4|model5|model6|model7|model8|model9
|brand1|brand2|brand3|brand4|brand5|brand6|brand7|brand8|brand9
|variant|predecessor|successor|support status}}
<presyntaxhighlight lang="wikitext" style="overflow: auto;">
{{Infobox CPU
| name =
| image hide_subheadings =
| image_size image =
| alt image_size =
| caption alt =
| caption =
<!----------------- General Info ----------------->
| launching =
| produced-start =
| produced-end =
| createdsoldby = =
| soldby designfirm =
| manuf1 = <!-- manuf1..510 -->
| designfirm =
| cpuid =
| manuf1 = <!-- manuf1..5 -->
| cpuid code =
| 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 =
| microarch arch =
| arch instructions =
| instructions extensions =
| extensions numinstructions =
<!----------- Physical specifications ------------>
| transistors =
| numcores =
| gpu amountmemory =
| 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 =
<!------------------ Succession History ------------------->
| predecessor =
| successor =
<!------------------ Support status ------------------->
| support status =
}}
</syntaxhighlight>
</pre>
{{clear}}
 
== Usage ==
 
<presyntaxhighlight lang="wikitext" style="overflow: auto;">
{{Infobox CPU
| name = <!-- Device Name -->
| hide_subheadings = <!-- Any value here will hide the subheadings -->
| image = An image to show in the infobox
| image_sizeimage = Size of the image (defaults= <!-- An image to 200px)show in the infobox -->
| caption image_size = A<!-- captionSize forof the image (defaults to 200px) -->
| imagealt = An<!-- imageMouse toover showtext infor the infoboximage -->
 
| produced-startcaption = When<!-- productionA begancaption for the image -->
<!----------------- General Info ------------------------------------------------------------------------------------->
| produced-end = When production ended
| launching = <!-- Use if a CPU microarchitecture/series has not yet launched but its official release date is known -->
| created = When was introduction
| arch1produced-start = <!-- When production = Architecturebegan / family Launch date →see talkpage section #ArchitectureDates -->
| soldby = Often, but not always, the same as the designfirm and/or manuf1
| produced-end = <!-- When production ended / Discontinued date →see talkpage section #Dates -->
| designfirm = Often, but not always, the same as manuf1 and/or soldby
| manuf1soldby = (1..5)<!-- CommonOften, manufacturersbut ofnot always, the devicesame as the designfirm and/or manuf1 -->
| cpuiddesignfirm = <!-- Often, but not =always, the same as CPUIDmanuf1 and/or PVRsoldby value-->
| codemanuf1 = <!-- =(1..10) numericalCommon identifiermanufacturers forof the CPUdevice (product code)-->
| l2cachecpuid = Level<!-- CPUID or 2PVR cachevalue size-->
 
| slowestcode = Lowest<!-- maximumnumerical identifier for the CPU clock(product code) -->
<!----------------- Performance -------------------------------------------------------------------------------------->
| fastest = Highest maximum CPU clock
| slow-unitslowest = Unit<!-- forLowest slowmaximum speed.CPU Default:clock GHz-->
| fast-unitfastest = Unit<!-- forHighest fastmaximum speed.CPU Default:clock GHz-->
| fsbslow-slowestunit = Slowest<!-- FSBUnit for slow speed. Default: GHz -->
| fsbfast-fastestunit = Fastest<!-- FSBUnit for fast speed. Default: GHz -->
| fsb-slow-unitslowest = Unit<!-- forSlowest slowFSB speed. Default: MHz-->
| fsb-fast-unitfastest = Unit<!-- forFastest fastFSB speed. Default: MHz-->
| fsb-slow-unit = <!-- Unit for slow speed. Default: MHz -->
| hypertransport-slowest = Slowest HyperTransport speed
| fsb-fast-unit = <!-- Unit for fast speed. Default: MHz -->
| hypertransport-fastest = Fastest HyperTransport speed
| hypertransport-slow-unitslowest = Unit<!-- forSlowest slowHyperTransport speed. Default: GT/s-->
| hypertransport-fast-unitfastest = Unit<!-- forFastest fastHyperTransport speed. Default: GT/s-->
| hypertransport-slow-unit = <!-- Unit for slow speed. Default: GT/s -->
| qpi-slowest = Slowest QPI (QuickPath Interconnect) speed
| hypertransport-fast-unit = <!-- Unit for fast speed. Default: GT/s -->
| qpi-fastest = Fastest QPI speed
| qpi-slow-unitslowest = Unit<!-- forSlowest slowQPI speed.(QuickPath Default:Interconnect) GT/sspeed -->
| qpi-fast-unitfastest = Unit<!-- forFastest fastQPI speed. Default: GT/s-->
| dmiqpi-slowestslow-unit = <!-- =Unit Slowestfor DMIslow (Directspeed. MediaDefault: Interface)GT/s speed-->
| dmiqpi-fastestfast-unit = <!-- =Unit Fastestfor DMIfast speed. Default: GT/s -->
| dmi-slow-unitslowest = Unit<!-- forSlowest slowDMI speed.(Direct Default:Media GT/sInterface) speed -->
| dmi-fast-unitfastest = Unit<!-- forFastest fastDMI speed. Default: GT/s-->
| datadmi-widthslow-unit = <!-- Unit =for Dataslow busspeed. widthDefault: inGT/s bits-->
| addressdmi-widthfast-unit = Address<!-- busUnit widthfor infast bitsspeed. Default: GT/s -->
| virtualdata-width = Virtual<!-- addressData bus width in bits -->
| address-width = <!-- Address bus width in bits -->
 
| l1cachevirtual-width = <!-- Virtual address bus width = Level 1in cachebits size-->
<!-------------------- Cache ----------------------------------------------------------------------------------------->
| l2cache = Level 2 cache size
| l3cachel1cache = <!-- Level 31 cache size -->
| l4cachel2cache = <!-- Level 42 cache size -->
| llcachel3cache = Last<!-- Level 3 cache size -->
| createdl4cache = When<!-- wasLevel introduction4 cache size -->
 
| applicationllcache = Typical<!-- applicationLast (Embedded,Level Mobile,cache Desktop,size Server)-->
<!------- Architecture and classification ---------------------------------------------------------------------------->
| size-from = First fabrication size
| size-toapplication = <!-- Typical application =(Embedded, SecondMobile, fabricationDesktop, sizeServer) -->
| size-from = <!-- First fabrication size -->
| arch1 = Architecture / family →see talkpage section #Architecture
| microarchsize-to = Microarchitecture<!-- Second offabrication thesize CPU-->
| 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 -->
| numinstructions = <!-- Number of instructions -->
 
<!----------- Physical specifications -------------------------------------------------------------------------------->
| transistors = Number of transistors, transistor count
| numcores transistors = <!-- Number of corestransistors, (2transistor forcount dual-core)->
| gpunumcores = <!-- Number of cores =(2 for Integrateddual-core) GPU-->
| co-processoramountmemory = A [[co<!--processor]](s) usedAmount togetherof system RAM for SoC or SiP -->
| pack1gpu = (1..5) Names= <!-- ofIntegrated CPUGPU packages-->
| sock1co-processor = <!-- A = [[co-processor]](1..9s) Names of the sockets that the CPU wasused madetogether for-->
| fastestpack1 = Highest<!-- maximum(1..5) Names of CPU clockpackages -->
 
| core1sock1 = <!-- (1..9) Names of the coressockets that the CPU was made for →see talkpage section "Names (Products, models, variants)"-->
<!--------- Products, models, variants ------------------------------------------------------------------------------->
| pcode1 = (1..9) Product code names →see talkpage section "Names (Products, models, variants)"
| model1core1 = <!-- (1..9) Model names Names of the cores →see talkpage section "Names (Products, models, variants)" -->
| brand1pcode1 = <!-- (1..9) MarketingProduct code names of the CPU →see talkpage section "Names (Products, models, variants)" -->
| variantmodel1 = Variants<!-- (1..9) Model names in the same family and generation →see talkpage section "Names (Products, models, variants)" -->
| brand1 = <!-- (1..9) Marketing names of the CPU -->
 
| pcode1 variant = (1..9) Product code names <!-- Variants in the same family and generation →see talkpage section "Names (Products, models, variants)" -->
| predecessor = What CPU came before
<!------------------ History --------------------------------------------------------------------------------------->
| successor = What CPU came after
| predecessor = <!-- What CPU came before -->
| successor = <!-- What CPU came after -->
<!------------------ Support status --------------------------------------------------------------------------------->
| support status = <!-- Current support status -->
}}
</syntaxhighlight>
</pre>
* All fields, except <code>name</code> are optional
* FollowingThe following '''old parameters''' you should not useare anymoredeprecated:
:{|
| <code>arch1created</code> || →better: <code>archproduced-start</code>, <code>produced--end</code>
|-
| <code>clock</code> || →better: <code>slowest</code>, <code>fastest</code>
|-
Line 181 ⟶ 195:
| <code>cores</code>, <code>cores1</code> || →better: <code>numcores</code>
|-
| <code>socket</code> || →better: <code>sock1</code>...<code>sock9</code><!--
|-
| <code>arch1</code> || →better: <code>arch</code> -->
|}
 
* <code>manuf</code>, <code>core</code>, <code>sock</code>, <code>pack</code>, <code>arch</code>, and <code>microarch</code> 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 ==
* [[Haswell (microarchitecture)]]
* [[Pentium III]]
* [[Intel 80386]]
* [[Athlon#Athlon_Classic_(1999)|AMD Athlon]]
* [[Zen_(first_generation)|AMD Zen (1st Gen)]]
* [[IBM Telum]]
 
== See also ==
* {{tl|Infobox CPU architecture}}
* {{tl|Infobox CPU series}}
* {{tl|Infobox computer hardware}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandboxSandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Computer hardware infobox templates|Cpu]]