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

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
m (moved Template:ATIGPU to Template:Infobox GPU: genericise)
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)
Line 1: Line 1:
{| class="infobox bordered" style="width: 24em; font-size: 95%;" cellpadding="0"
+
{{ infobox
|-
+
| title  = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}
! colspan="2" style="background-color:#FF0000; font-size: 16px; text-align: center; vertical-align: middle;" | '''{{PAGENAME}}'''
+
| image  = {{#if:{{{image|}}}|[[Image:{{{image}}}|250px]]}}
|-
+
| caption = {{{caption|}}}
{{#if:{{{name<includeonly>|</includeonly>}}}|
+
 
{{!}} colspan="2" style="font-size: 14px; text-align:center; vertical-align: middle;" {{!}} '''{{{name}}}'''
+
| label1  = Codename(s)
{{!}}-
+
| data1  = {{{codename}}}
}}
+
| label2  = Created in year
{{#if:{{{image<includeonly>|</includeonly>}}}|
+
| data2  = {{{created}}}
{{!}} colspan="2" style="font-size: 9px; text-align: center; vertical-align: middle;" {{!}} [[Image:{{{image}}}|250px]]{{#if:{{{caption<includeonly>|</includeonly>}}}|<br />'''{{{caption}}}'''}}
+
| label3  = Release date
{{!}}-
+
| data3  = {{{date}}}
}}
+
| label4  = Entry-level cards
{{#if:{{{codename<includeonly>|</includeonly>}}}|
+
| data4  = {{{entry}}}
! Codename(s)
+
| label5  = Mid-range cards
{{!}} {{{codename}}}
+
| data5  = {{{midrange}}}
{{!}}-
+
| label6  = High-end cards
}}
+
| data6  = {{{highend}}}
{{#if:{{{created<includeonly>|</includeonly>}}}|
+
| label7  = Enthusiast cards
! Created in year
+
| data7  = {{{enthusiast}}}
{{!}} {{{created}}}
+
| label8  = [[Direct3D]] support
{{!}}-
+
| data8  = {{{d3dversion}}}
}}
+
| label9  = Predecessor
{{#if:{{{date<includeonly>|</includeonly>}}}|
+
| data9  = {{{predecessor}}}
! Release date
+
| label10 = Successor
{{!}} {{{date}}}
+
| data10  = {{{successor}}}
{{!}}-
+
}}<noinclude>{{documentation}}</noinclude>
}}
 
{{#if:{{{entry<includeonly>|</includeonly>}}}|
 
! Entry-level cards
 
{{!}} {{{entry}}}
 
{{!}}-
 
}}
 
{{#if:{{{midrange<includeonly>|</includeonly>}}}|
 
! Mid-range cards
 
{{!}} {{{midrange}}}
 
{{!}}-
 
}}
 
{{#if:{{{highend<includeonly>|</includeonly>}}}|
 
! High-end cards
 
{{!}} {{{highend}}}
 
{{!}}-
 
}}
 
{{#if:{{{enthusiast<includeonly>|</includeonly>}}}|
 
! Enthusiast cards
 
{{!}} {{{enthusiast}}}
 
{{!}}-
 
}}
 
{{#if:{{{d3dversion<includeonly>|</includeonly>}}}|
 
! [[Direct3D]] support
 
{{!}} {{{d3dversion}}}
 
{{!}}-
 
}}
 
{{#if:{{{predecessor<includeonly>|</includeonly>}}}|
 
! Predecessor
 
{{!}} {{{predecessor}}}
 
{{!}}-
 
}}
 
{{#if:{{{successor<includeonly>|</includeonly>}}}|
 
! Successor
 
{{!}} {{{successor}}}
 
{{!}}-
 
}}
 
| colspan="2" style="text-align: right; font-size: 9px; vertical-align: middle;" | {{Tnavbar|ATIGPU}}
 
|}<noinclude>
 
{{documentation}}
 
</noinclude>
 

Revision as of 10:12, 26 November 2008

{Template:Name
Codename(s){{{codename}}}
Created in year{{{created}}}
Release date{{{date}}}
Entry-level cards{{{entry}}}
Mid-range cards{{{midrange}}}
High-end cards{{{highend}}}
Enthusiast cards{{{enthusiast}}}
Direct3D support{{{d3dversion}}}
Predecessor{{{predecessor}}}
Successor{{{successor}}}

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