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

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
(Created with copy of current main template)
 
imported>Sardanaphalus
(label/headerstyle)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ infobox
+
{{Infobox
 +
| titlestyle = padding-bottom:0.2em;<!--(to keep title apart from border line)-->
 
| title  = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
 
| title  = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
| image  = {{#if:{{{image|}}}| {{#ifexist:{{{image}}}|[[File:{{{image}}}|{{{img_w|}}}]]| {{{image}}} }} }}
+
| image  = {{#if:{{{image|}}} |{{#ifexist:{{{image}}}|[[File:{{{image}}}|{{{img_w|}}}]]|{{{image}}}}} }}
| caption = {{#if:{{{caption|}}}|{{{caption}}}}}
+
| caption = {{#if:{{{caption|}}} |{{{caption}}}}}
| label1 = Release date
+
| headerstyle = font-size:105%;
| data1  = {{{date|}}} {{{created|}}}
+
| labelstyle = padding-top:0.25em;line-height:1.2em;<!--(modified longitem)-->
| label2 = Codename(s)
+
              padding-right:0.65em;<!--(to ensure sufficient gap between any (long/unwrapped) label and subsequent data on the same line)-->
| data2  = {{{codename|}}}
+
 
| label3 = Model(s)
+
| label2 = Release date
| data3  = {{{model|}}} {{unbulleted list
+
| data2  = {{{date|}}} {{{created|}}}
| {{{model1|}}}
+
| label4 = Codename{{#if:{{{codenames|}}}|s}}
| {{{model2|}}}
+
| data4  = {{{codenames|{{{codename|}}}}}}
| {{{model3|}}}
+
| label6  = Architecture
| {{{model4|}}}
+
|  data6  = {{{architecture|}}}
| {{{model5|}}}
+
| label8 = Models
| {{{model6|}}}
+
| data8  = {{{model|}}} {{unbulleted list |{{{model1|}}} |{{{model2|}}} |{{{model3|}}} |{{{model4|}}} |{{{model5|}}} |{{{model6|}}} |{{{model7|}}} |{{{model8|}}} |{{{model9|}}} |{{{model10|}}} |{{{model11|}}} |{{{model12|}}} |{{{model13|}}} |{{{model14|}}} |{{{model15|}}} }}
| {{{model7|}}}
+
| label10 = [[Multi-core (computing)|Cores]]
| {{{model8|}}}
+
| data10 = {{{cores-nothread|}}} {{{numcores|}}}
| {{{model9|}}}
+
| label12 = Fabrication process {{#if:{{{transistors|}}}{{{transistors1|}}} |and transistors}}
| {{{model10|}}}
+
| data12 = {{{process|}}} {{{fab|}}} {{{transistors|}}} {{unbulleted list |{{{transistors1|}}} |{{{transistors2|}}} |{{{transistors3|}}} |{{{transistors4|}}} |{{{transistors5|}}} |{{{transistors6|}}} |{{{transistors7|}}} |{{{transistors8|}}} |{{{transistors9|}}} |{{{transistors10|}}} |{{{transistors11|}}} |{{{transistors12|}}} |{{{transistors13|}}} |{{{transistors14|}}} |{{{transistors15|}}} }}
| {{{model11|}}}
+
 
| {{{model12|}}}
+
| header14 = {{#if:{{{entry|}}}{{{midrange|}}}{{{highend|}}}{{{enthusiast|}}} |[[Video card|Card]]s}}
| {{{model13|}}}
+
| label16 = Entry-level
| {{{model14|}}}
+
| data16 = {{{entry|}}}
| {{{model15|}}}
+
| label18 = Mid-range
}}
+
| data18 = {{{midrange|}}}
| label4  = [[Multi-core (computing)|Cores]]
+
| label20 = High-end
| data4  = {{{cores-nothread|}}} {{{numcores|}}}
+
| data20 = {{{highend|}}}
| label5  = Transistors<br>Fabrication
+
| label22 = Enthusiast
| data5  = {{{process|}}} {{{transistors|}}} {{{fab|}}} {{unbulleted list
+
| data22 = {{{enthusiast|}}}
| {{{transistors1|}}}
+
 
| {{{transistors2|}}}
+
| header24 = {{#if:{{{d3dversion|}}}{{{openclversion|}}}{{{openglversion|}}} |[[Rendering (computer graphics)|Rendering]] support}}
| {{{transistors3|}}}
+
| label26 = [[Direct3D]]
| {{{transistors4|}}}
+
data26 = {{{d3dversion|}}}
| {{{transistors5|}}}
+
| label28 = [[OpenCL]]
| {{{transistors6|}}}
+
data28 = {{{openclversion|}}}
| {{{transistors7|}}}
+
| label30 = [[OpenGL]]
| {{{transistors8|}}}
+
data30 = {{{openglversion|}}}
| {{{transistors9|}}}
+
 
| {{{transistors10|}}}
+
| header32 = {{#if:{{{predecessor|}}}{{{variant|}}}{{{successor|}}} |History}}
| {{{transistors11|}}}
+
| label34 = Predecessor
| {{{transistors12|}}}
+
data34 = {{{predecessor|}}}
| {{{transistors13|}}}
+
| label36 = Variant
| {{{transistors14|}}}
+
data36 = {{{variant|}}}
| {{{transistors15|}}}
+
| label38 = Successor
}}
+
data38 = {{{successor|}}}
| label6  = Entry-level cards
+
 
| data6  = {{{entry|}}}
+
}}<noinclude>{{Documentation}}</noinclude>
| label7  = Mid-range cards
 
| data7  = {{{midrange|}}}
 
| label8  = High-end cards
 
| data8  = {{{highend|}}}
 
| label9  = Enthusiast cards
 
| data9  = {{{enthusiast|}}}
 
| label10  = Architecture
 
| data10  = {{{architecture|}}}
 
| label11 = [[Direct3D]] support
 
| data11 = {{{d3dversion|}}}
 
| label12 = [[OpenCL]] support
 
| data12 = {{{openclversion|}}}
 
| label13 = [[OpenGL]] support
 
| data13 = {{{openglversion|}}}
 
| label14 = Predecessor
 
| data14 = {{{predecessor|}}}
 
| label15 = Variant
 
| data15 = {{{variant|}}}
 
| label16 = Successor
 
| data16 = {{{successor|}}}
 
}}<noinclude>{{documentation}}</noinclude>
 

Latest revision as of 12:15, 12 June 2014

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