Template:Infobox computer hardware bus/doc

From Wiki.CoreyBlair.US
Jump to navigation Jump to search

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#if: |
         |   {{#ifexist:Template:Infobox computer hardware bus
                  | [[Category:{{#switch:Template |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}

This template is for computer buses. You could probably also use it for network hardware systems such as Ethernet, although a separate infobox for networks might be a better idea. For generic hardware components, see Template:Infobox computer hardware.

Usage

{{{name}}}
{{{fullname}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|{{{alt}}}]]
{{{caption}}}
Year created {{{invent-date}}}
Created by {{{invent-name}}}
Supersedes {{{replaces}}}
Superseded by {{{super-name}}} {{#if:{{{super-date}}}|({{{super-date}}})}}
Width in bits {{{width}}}
{{#switch:
 | i | IPA = No.
| No. }}
of devices
{{{numdev}}}
Speed {{{speed}}}
Style {{#switch:{{{style}}}|s=Serial|p=Parallel|{{{style}}} }}
Hotplugging interface {{{hotplug}}}
External interface {{{external}}}
{{Infobox computer hardware bus
| name        = Bus Name
| fullname    = Full name
| image       = An image to show in the infobox
| image_size  = Size of the image
| alt         = Description of image for those who cannot see the image (see WP:ALT).
| caption     = A caption for the image
| invent-date = Year of Invention
| invent-name = Name of Inventor
| super-name  = What superseded this bus
| super-date  = When this bus was superseded
| replaces    = What this bus superseded
| width       = Width of the bus in bits
| numdev      = Number of simultaneous connected devices
| speed       = Speed of the bus
| style       = 's' for serial, 'p' for Parallel, or plain text
| hotplug     = Does this bus support Hot-Plugging? (default: no)
| external    = Is this bus external? (default: no)
}}

All fields, except 'name' are optional.

See the talk page for some examples which show the full usage of this infobox in a few combinations.