Difference between revisions of "Template:Infobox Computer Hardware External"

From blackwiki
Jump to navigation Jump to search
imported>Mike Peel
imported>RussBot
m (Robot: Fixing double-redirect -"Template:Infobox computer hardware generic" +"Template:Infobox computer hardware")
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width: 250px;"
+
#REDIRECT [[Template:Infobox computer hardware]]
| style="background-color: #CCF; text-align: center; font-size: larger; padding: 1px 3px;" colspan="2" | '''{{{name}}}'''
 
|-
 
{{#if: {{{image|}}}|
 
{{!}} colspan="2" style="text-align: center; background-color: #fff;" {{!}} [[Image:{{{image}}}|200px]]<br><small style="line-height: 13px;">{{{caption|}}}</small>
 
}}
 
|-
 
{{#if: {{{invent-date|}}}|
 
{{!}} '''Date Invented:'''
 
{{!}}{{{invent-date}}}
 
}}
 
|-
 
{{#if: {{{invent-name|}}}|
 
{{!}} '''Invented By:'''
 
{{!}}{{{invent-name}}}
 
}}
 
|-
 
{{#if: {{{super-name|}}}|
 
{{!}} '''Superseded By:'''
 
{{!}}{{{super-name}}} {{ #if: {{{super-date|}}} | ({{{super-date}}}) }}
 
}}
 
|-
 
{{#if: {{{conn|}}}|
 
{{!}} colspan="2" {{!}}
 
'''Connects to:'''
 
''{{{conn}}}'' via {{ #if: {{{via2|}}} |one of <ul style="margin: 0px; margin-left: 1.2em;">
 
<li>{{{via1}}}
 
<li>{{{via2}}}
 
{{#if: {{{via3|}}}|<li>{{{via3}}} }}
 
{{#if: {{{via4|}}}|<li>{{{via4}}} }}
 
{{#if: {{{via5|}}}|<li>{{{via5}}} }} </ul> | ''{{{via1|?}}}'' }}
 
}}
 
|-
 
{{#if: {{{class1|}}}|
 
{{ #if: {{{class2|}}} | {{!}} colspan="2" {{!}} '''{{{class-name|Product Classes}}}:'''
 
<ul style="margin: 0px; margin-left: 1.2em;">
 
<li>{{{class1}}}
 
<li>{{{class2}}}
 
{{#if: {{{class3|}}}|<li>{{{class3}}} }}
 
{{#if: {{{class4|}}}|<li>{{{class4}}} }}
 
{{#if: {{{class5|}}}|<li>{{{class5}}} }}</ul> | {{!}} '''{{{class-name|Product Classes}}}:'''
 
{{!}} {{{class1}}} }}
 
}}
 
|-
 
{{ #if: {{{manuf1|}}}|
 
{{ #if: {{{manuf2|}}} | {{!}} colspan="2" {{!}} '''Common Manufacturers:'''
 
<ul style="margin: 0px; margin-left: 1.2em;">
 
<li>{{{manuf1}}}
 
<li>{{{manuf2}}}
 
{{#if: {{{manuf3|}}}|<li>{{{manuf3}}} }}
 
{{#if: {{{manuf4|}}}|<li>{{{manuf4}}} }}
 
{{#if: {{{manuf5|}}}|<li>{{{manuf5}}} }}</ul> | {{!}} '''Manufacturer:'''
 
{{!}} {{{manuf1}}} }}
 
}}
 
|-
 
| colspan="2" style="font-size: smaller; text-align: center; padding: 0px; line-height: 11px;" | Note: This infomation is based around common device configurations and is not comprehensive
 
|}<noinclude>
 
{{esoteric}}
 
 
 
This is for external hardware such as screens, keyboards, mice, joysticks, printers, scanners, modems etc.
 
 
 
== Usage ==
 
<pre>
 
{{Infobox Computer Hardware External
 
| name        = Device Name.
 
| image      = An image to show in the infobox.
 
| caption    = A caption for the image.
 
| invent-date = Date of Invention.
 
| invent-name = Name of Inventor.
 
| super-name  = What superseded this device
 
| super-date  = When this device was superseded
 
| conn        = What the device connects to.
 
| via1        = Possible interface for connection. (range 1-5)
 
| class-name  = Name of the subclassing method.
 
| class1      = First value in subclassing. (range 1-5)
 
| manuf1      = Common manufacturers of the device. (range 1-5)
 
}}
 
</pre>
 
All fields, except 'name' are optional.
 
 
 
The numbered attributes mean that there is allowance for multiples.
 
 
 
See the talk page for some examples which show the full usage of this infobox in a few combinations.
 
 
 
[[Category:Computing infobox templates|Computer Hardware External]]
 
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
 
</noinclude>
 

Latest revision as of 10:25, 8 October 2008