Difference between revisions of "Template:Infobox Computer Hardware"

From blackwiki
Jump to navigation Jump to search
imported>Thumperward
(split docs)
imported>Thumperward
(convert to {{infobox}}. 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" style="width: 250px;"
+
{{ infobox
| style="background-color: #CCF; text-align: center; font-size: larger; padding: 1px 3px;" colspan="2" | '''{{{name}}}'''
+
| title  = {{{name|<includeonly>{{PAGENAME}}</includeonly>}}}
|-
+
| image  = {{#if:{{{image|}}}|[[Image:{{{image}}}|200px]]}}
{{#if: {{{image|}}}|
+
| caption = {{{caption|}}}
{{!}} colspan="2" style="text-align: center; background-color: #fff;" {{!}} [[Image:{{{image}}}|200px]]<br><small style="line-height: 13px;">{{{caption|}}}</small>
+
 
}}
+
| label1  = Design firm
|-
+
| data1  = {{{designfirm}}}
{{#if: {{{designfirm|}}}|
+
| label2  = Manufacturer
{{!}} '''Designfirm:'''
+
| data2  = {{{manufacturer}}}
{{!}}{{{designfirm}}}
+
| label3  = Introduced
}}
+
| data3  = {{{introduced}}}
|-
+
| label4  = Discontinued
{{#if: {{{manufacturer|}}}|
+
| data4  = {{{discontinued}}}
{{!}} '''Manufacturer:'''
+
| label5  = Cost
{{!}}{{{manufacturer}}}
+
| data5  = {{{cost}}}
}}
+
| label6  = Type
|-
+
| data6  = {{{type}}}
{{#if: {{{introduced|}}}|
+
| label7  = Processor
{{!}} '''Introduced:'''
+
| data7  = {{{processor}}}
{{!}}{{{introduced}}}
+
| label8  = Frequency
}}
+
| data8  = {{{frequency}}}
|-
+
| label9  = Memory
{{#if: {{{discontinued|}}}|
+
| data9  = {{{memory}}}
{{!}} '''Discontinued:'''
+
| label10 = Connection
{{!}}{{{discontinued}}}
+
| data10  = {{{connection}}}
}}
+
| label11 = Ports
|-
+
| data11  = {{{ports}}}
{{#if: {{{cost|}}}|
+
| label12 = Power consumption
{{!}} '''Cost:'''
+
| data12  = {{{power}}}
{{!}}{{{cost}}}
+
| label13 = Weight
}}
+
| data13  = {{{weight}}}
|-
+
| label14 = Dimensions
{{#if: {{{type|}}}|
+
| data14  = {{{dimensions}}}
{{!}} '''Type:'''
+
}}<noinclude>{{documentation}}<!-- please place categories and language links on the /doc page, not here! --></noinclude>
{{!}}{{{type}}}
 
}}
 
|-
 
{{#if: {{{processor|}}}|
 
{{!}} '''Processor:'''
 
{{!}}{{{processor}}}
 
}}
 
|-
 
{{#if: {{{frequency|}}}|
 
{{!}} '''Frequency:'''
 
{{!}}{{{frequency}}}
 
}}
 
|-
 
{{#if: {{{memory|}}}|
 
{{!}} '''Memory:'''
 
{{!}}{{{memory}}}
 
}}
 
|-
 
{{#if: {{{connection|}}}|
 
{{!}} '''Connection:'''
 
{{!}}{{{connection}}}
 
}}
 
|-
 
{{#if: {{{ports|}}}|
 
{{!}} '''Ports:'''
 
{{!}}{{{ports}}}
 
}}
 
|-
 
{{#if: {{{power|}}}|
 
{{!}} '''Power consumption:'''
 
{{!}}{{{power}}}
 
}}
 
|-
 
{{#if: {{{weight|}}}|
 
{{!}} '''Weight:'''
 
{{!}}{{{weight}}}
 
}}
 
|-
 
{{#if: {{{dimensions|}}}|
 
{{!}} '''Dimensions:'''
 
{{!}}{{{dimensions}}}
 
}}
 
|}<noinclude>{{documentation}}<!-- please place categories and language links on the /doc page, not here! --></noinclude>
 

Revision as of 10:20, 7 October 2008

Design firm{{{designfirm}}}
Manufacturer{{{manufacturer}}}
Introduced{{{introduced}}}
Discontinued{{{discontinued}}}
Cost{{{cost}}}
Type{{{type}}}
Processor{{{processor}}}
Frequency{{{frequency}}}
Memory{{{memory}}}
Connection{{{connection}}}
Ports{{{ports}}}
Power consumption{{{power}}}
Weight{{{weight}}}
Dimensions{{{dimensions}}}

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

50px Template documentation[create]