Template:Infobox CPU architecture/doc: Difference between revisions

Content deleted Content added
m See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other
 
(11 intermediate revisions by 7 users not shown)
Line 1:
{{Documentation subpage}}
<!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see [[Wikipedia:Wikidata]]) -->
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 
This template is for CPU [[instruction set architecture]]s.
 
=== Usage ===
<syntaxhighlight lang="wikitext">
<pre>
{{Infobox CPU architecture
| name =
| image =
| image_size =
| alt =
| caption =
| designer =
| bits =
Line 24 ⟶ 31:
| gpr =
| fpr =
| vpr =
}}
</syntaxhighlight>
</pre>
 
=== Description ===
<syntaxhighlight lang="wikitext">
<pre>
{{Infobox CPU architecture
| name = Name of architecture, e.g. x86, SPARC, PowerPC, MIPS, ARM
Line 48 ⟶ 56:
| gpr = Number of general-purpose registers (and size, if not indicated by bits=)
| fpr = Number of floating-point registers (and size, if not indicated by bits=)
| vpr = Number of vector registers (and size, if not indicated by bits=)
}}
</syntaxhighlight>
</pre>
All fields are optional.
 
Line 70 ⟶ 79:
| fpr = 32
}}
<syntaxhighlight lang="wikitext">
<pre>
{{Infobox CPU architecture
| name = SPARC
Line 88 ⟶ 97:
| fpr = 32
}}
</syntaxhighlight>
</pre>
 
=== Parameters ===
Line 111 ⟶ 120:
; gpr: Number of general-purpose registers (and size, if not indicated by bits=)
; fpr: Number of floating-point registers (and size, if not indicated by bits=)
; vpr: Number of vector registers (and size, if not indicated by bits=)
 
=== See also ===
* {{Ltstl|Infobox CPU}} for [[central processing unit]]s
* {{Ltstl|Infobox CPU series}}
* {{tl|Infobox computer hardware bus}} for [[Bus (computing)|computer bus]]es
 
<includeonly>{{Sandbox other||