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

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(convert to {{infobox}} for code clarity and future maintainability. if there are any issues with the code, please let me know and I'll try to fix them ASAP)
imported>Thumperward
(fixes)
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
| title  = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}
+
| title  = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
 
| image  = {{#if:{{{image|}}}|[[Image:{{{image}}}|250px]]}}
 
| image  = {{#if:{{{image|}}}|[[Image:{{{image}}}|250px]]}}
 
| caption = {{{caption|}}}
 
| caption = {{{caption|}}}
  
 
| label1  = Codename(s)
 
| label1  = Codename(s)
| data1  = {{{codename}}}
+
| data1  = {{{codename|}}}
 
| label2  = Created in year
 
| label2  = Created in year
| data2  = {{{created}}}
+
| data2  = {{{created|}}}
 
| label3  = Release date
 
| label3  = Release date
| data3  = {{{date}}}
+
| data3  = {{{date|}}}
 
| label4  = Entry-level cards
 
| label4  = Entry-level cards
| data4  = {{{entry}}}
+
| data4  = {{{entry|}}}
 
| label5  = Mid-range cards
 
| label5  = Mid-range cards
| data5  = {{{midrange}}}
+
| data5  = {{{midrange|}}}
 
| label6  = High-end cards
 
| label6  = High-end cards
| data6  = {{{highend}}}
+
| data6  = {{{highend|}}}
 
| label7  = Enthusiast cards
 
| label7  = Enthusiast cards
| data7  = {{{enthusiast}}}
+
| data7  = {{{enthusiast|}}}
 
| label8  = [[Direct3D]] support
 
| label8  = [[Direct3D]] support
| data8  = {{{d3dversion}}}
+
| data8  = {{{d3dversion|}}}
 
| label9  = Predecessor
 
| label9  = Predecessor
| data9  = {{{predecessor}}}
+
| data9  = {{{predecessor|}}}
 
| label10 = Successor
 
| label10 = Successor
| data10  = {{{successor}}}
+
| data10  = {{{successor|}}}
 
}}<noinclude>{{documentation}}</noinclude>
 
}}<noinclude>{{documentation}}</noinclude>

Revision as of 10:12, 26 November 2008

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

  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 = 
}}