Difference between revisions of "Template:Infobox graphics processing unit"

From blackwiki
Jump to navigation Jump to search
imported>Nja94
m (Add 'transistors16' for 'Radeon' page.)
 
(54 intermediate revisions by 27 users not shown)
Line 1: Line 1:
{| class="infobox bordered" width="28%" style="font-size: 95%; float: right; overflow: hidden; z-index" cellpadding="0"
+
{{Infobox
|-
+
| titlestyle = padding-bottom:0.2em;<!--(to keep title apart from border line)-->
! colspan="2" style="background-color:#FF0000; font-size: 16px; text-align: center; font-weight: 700; vertical-align: middle;" | {{Pagename}}
+
| title  = {{{name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}
|-
+
| image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{img_w|}}}|alt={{{alt|}}}}}
{{#if:{{{name<includeonly>|</includeonly>}}}|
+
| caption = {{{caption|}}}
<tr><td colspan="2" style="font-size: 14px; text-align:center; font-weight: 700; vertical-align: middle;">{{{name}}}
+
| headerstyle = font-size:105%;
}}
+
| labelstyle = padding-top:0.25em;line-height:1.2em;<!--(modified longitem)-->
|-
+
              padding-right:0.65em;<!--(to ensure sufficient gap between any (long/unwrapped) label and subsequent data on the same line)-->
{{#if:{{{image<includeonly>|</includeonly>}}}|
+
 
<tr><td colspan="2" style="text-align: center; font-size: 9px; vertical-align: middle;"><center>[[Image:{{{image}}}|250px]]</center>
+
| label2  = Release date
{{#if:{{{caption<includeonly>|</includeonly>}}}| '''{{{caption}}}'''
+
|  data2  = {{{date|}}} {{{created|}}}
}}</td></tr>}}
+
| label4  = Codename{{#if:{{{codenames|}}}|s}}
|-
+
|  data4  = {{{codenames|{{{codename|}}}}}}
{{#if:{{{codename<includeonly>|</includeonly>}}}|
+
| label6  = Architecture
! Codename(s)<td width="62%">{{{codename}}}
+
|  data6  = {{{architecture|}}}
}}
+
| label8  = Models
|-
+
|  data8  = {{{model|}}} {{unbulleted list |{{{model1|}}} |{{{model2|}}} |{{{model3|}}} |{{{model4|}}} |{{{model5|}}} |{{{model6|}}} |{{{model7|}}} |{{{model8|}}} |{{{model9|}}} |{{{model10|}}} |{{{model11|}}} |{{{model12|}}} |{{{model13|}}} |{{{model14|}}} |{{{model15|}}} }}
{{#if:{{{created<includeonly>|</includeonly>}}}|
+
| label10 = [[Multi-core (computing)|Cores]]
! Created in year<td>{{{created}}}
+
|  data10 = {{{cores-nothread|}}} {{{numcores|}}}
}}
+
| label12 = Transistors
|-
+
|  data12 = {{{transistors|}}} {{unbulleted list |{{{transistors1|}}} |{{{transistors2|}}} |{{{transistors3|}}} |{{{transistors4|}}} |{{{transistors5|}}} |{{{transistors6|}}} |{{{transistors7|}}} |{{{transistors8|}}} |{{{transistors9|}}} |{{{transistors10|}}} |{{{transistors11|}}} |{{{transistors12|}}} |{{{transistors13|}}} |{{{transistors14|}}} |{{{transistors15|}}} |{{{transistors16|}}} }}
{{#if:{{{entry<includeonly>|</includeonly>}}}|
+
| label13 = Fabrication process
! Entry-level cards<td>{{{entry}}}
+
|  data13 = {{{fab|}}} {{{process|}}}  
}}
+
 
|-
+
| header14 = {{#if:{{{entry|}}}{{{midrange|}}}{{{highend|}}}{{{enthusiast|}}} |[[Video card|Card]]s}}
{{#if:{{{midrange<includeonly>|</includeonly>}}}|
+
| label16 = Entry-level
! Mid-range cards<td>{{{midrange}}}
+
|  data16 = {{{entry|}}}
}}
+
| label18 = Mid-range
|-
+
|  data18 = {{{midrange|}}}
{{#if:{{{highend<includeonly>|</includeonly>}}}|
+
| label20 = High-end
! High-end cards<td>{{{highend}}}
+
|  data20 = {{{highend|}}}
}}
+
| label22 = Enthusiast
|-
+
|  data22 = {{{enthusiast|}}}
{{#if:{{{enthusiast<includeonly>|</includeonly>}}}|
+
 
! Enthusiast cards<td>{{{enthusiast}}}
+
| header24 = {{#if:{{{d3dversion|}}}{{{openclversion|}}}{{{openglversion|}}}{{{mantleapi|}}}{{{vulkanapi|}}} |[[Application programming interface|API]] support}}
}}
+
| label26 = [[Direct3D]]
|-
+
|  data26 = {{{d3dversion|}}}
{{#if:{{{d3dversion<includeonly>|</includeonly>}}}|
+
| label28 = [[OpenCL]]
! [[Direct3D]] support<td>{{{d3dversion}}}
+
|  data28 = {{{openclversion|}}}
}}
+
| label30 = [[OpenGL]]
|-
+
|  data30 = {{{openglversion|}}}
{{#if:{{{predecessor<includeonly>|</includeonly>}}}|
+
| label32 = [[Mantle (API)|Mantle]]
! Predecessor<td>{{{predecessor}}}
+
|  data32 = {{{mantleapi|}}}
}}
+
| label33 = [[Vulkan (API)|Vulkan]]
|-
+
|  data33 = {{{vulkanapi|}}}
{{#if:{{{successor<includeonly>|</includeonly>}}}|
+
 
!Successor<td>{{{successor}}}
+
| header34 = {{#if:{{{predecessor|}}}{{{variant|}}}{{{successor|}}} |History}}
}}
+
| label36 = Predecessor
|-
+
| data36 = {{{predecessor|}}}
| colspan="2" style="text-align: right; font-size: 9px; vertical-align: middle;" | {{Tnavbar|ATIGPU}}
+
| label38 = Variant
|}
+
| data38 = {{{variant|}}}
<noinclude>
+
| label40 = Successor
{{documentation}}
+
|  data40 = {{{successor|}}}
</noinclude>
+
}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 02:25, 5 May 2020

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]
  1. redirect Template:Parameter names example

Usage

All parameters optional other than created and, if image used, img_w (image width).

{{Infobox graphics processing unit
| name           = Official brand name (otherwise defaults to {{PAGENAME}})
| image          = Filename of a product image or logo
| img_w          = Width of image (required if image used)
| caption        = Caption for image (if not a logo)
| date           = Date the GPU series released
| created        = (required) Year when foundation chip developed and/or first produced
| codename [or: codenames] = GPU developmental codename/codenames
| architecture   = 
| model          = Model series
| model1 = ...... | model15 =
| cores-nothread = 
| numcores       = Number of cores
| process        = GPU family's fabrication process
| fab            = Fabrication
| transistors    = 
| transistors1 = ...... | transistors15 = 
| entry          = (Series of) entry-level cards using GPU
| midrange       =  ...........mid-range cards
| highend        =  ...........high-end cards
| enthusiast     =  ...........enthusiast cards
| d3dversion     = Latest supported Direct3D version
| openclversion  = .................OpenCL version
| openglversion  = .................OpenGL version
| mantleapi      = Mantle API
| vulkanapi      = Vulkan API
| predecessor    = 
| variant        = 
| successor      = 
}}

Blank syntax

{{Infobox graphics processing unit
| name = 
| image = 
| img_w = 
| caption = 
| date = 
| created = 
| codename = 
<!--| codenames = -->
| architecture = 
| model = 
<!--| model1 = | model2 = ...... | model15 = -->
| cores-nothread = 
| numcores = 
| process = 
| fab = 
| transistors = 
<!--| transistors1 = ...... | transistors15 = -->
| entry = 
| midrange = 
| highend = 
| enthusiast = 
| d3dversion = 
| openclversion = 
| openglversion = 
| mantleapi = 
| vulkanapi = 
| predecessor = 
| variant = 
| successor = 
}}