Difference between revisions of "Template:Device Infobox/Begin"

From Vogons Wiki
Jump to: navigation, search
(Remove 'device type')
(Add AGP speed)
Line 7: Line 7:
 
{{Infobox Item | Bus speed | [[Bus speed::{{#if:{{{Bus speed|}}}|{{{Bus speed}}}|Unknown}}]] }}
 
{{Infobox Item | Bus speed | [[Bus speed::{{#if:{{{Bus speed|}}}|{{{Bus speed}}}|Unknown}}]] }}
  
{{#ifeq:{{{Bus type}}}{{{Bus width}}}|ISA16-bit|
+
{{#ifeq:{{{Bus type|ISA}}}{{{Bus width|16-bit}}}|ISA16-bit|
 
   {{Infobox Item | 8-bit ISA compatible? | [[Is 8-bit ISA compatible::{{#if:{{{8-bit ISA compatible|}}}|{{{8-bit ISA compatible}}}|Unknown}}]] }}
 
   {{Infobox Item | 8-bit ISA compatible? | [[Is 8-bit ISA compatible::{{#if:{{{8-bit ISA compatible|}}}|{{{8-bit ISA compatible}}}|Unknown}}]] }}
 
}}
 
}}
Line 14: Line 14:
 
{{#ifeq:{{{Bus type}}}{{{Bus width}}}|ISA8-bit|[[Is 8-bit ISA compatible::Yes| <!-- the space character before this comment is required to hide the value (don't want "yes" appearing in the middle of nowhere) -->]]}}
 
{{#ifeq:{{{Bus type}}}{{{Bus width}}}|ISA8-bit|[[Is 8-bit ISA compatible::Yes| <!-- the space character before this comment is required to hide the value (don't want "yes" appearing in the middle of nowhere) -->]]}}
  
{{#ifeq:{{{Bus type}}}|PCI|
+
{{#ifeq:{{{Bus type|PCI}}}|PCI|
 
   {{Infobox Item | PCI 5V tolerant? | [[Is PCI 5V tolerant::{{#if:{{{PCI 5V|}}}|{{{PCI 5V}}}|Unknown}}]] }}
 
   {{Infobox Item | PCI 5V tolerant? | [[Is PCI 5V tolerant::{{#if:{{{PCI 5V|}}}|{{{PCI 5V}}}|Unknown}}]] }}
 
   {{Infobox Item | PCI 3.3V tolerant? | [[Is PCI 3.3V tolerant::{{#if:{{{PCI 3.3V|}}}|{{{PCI 3.3V}}}|Unknown}}]] }}
 
   {{Infobox Item | PCI 3.3V tolerant? | [[Is PCI 3.3V tolerant::{{#if:{{{PCI 3.3V|}}}|{{{PCI 3.3V}}}|Unknown}}]] }}
 +
}}
 +
 +
{{#ifeq:{{{Bus type|AGP}}}|AGP|
 +
  {{Infobox Item | AGP speed | [[Has AGP speed::{{{AGP speed|Unknown}}}]] }}
 
}}
 
}}
  
Line 60: Line 64:
 
|-
 
|-
 
| PCI 3.3V = ''Value'' || PCI only: Will the card work in 3.3 VDC slots? || '''Yes''', '''No''' or '''Unknown'''
 
| PCI 3.3V = ''Value'' || PCI only: Will the card work in 3.3 VDC slots? || '''Yes''', '''No''' or '''Unknown'''
 +
|-
 +
| AGP speed = ''Value'' || AGP only: Max AGP speed the device supports || '''1x''', '''2x''', '''4x''', '''8x''' or '''Unknown'''
 
|-
 
|-
 
| Manufacturer = ''Value'' || Company name of manufacturer || Be consistent so all cards with the same manufacturer are grouped together
 
| Manufacturer = ''Value'' || Company name of manufacturer || Be consistent so all cards with the same manufacturer are grouped together

Revision as of 17:38, 13 February 2016

This template is used to build a more specific infobox for particular types of devices. See Template:Ethernet Infobox for example use.

Valid parameters and examples are:

Parameter/example Purpose Valid values
Image = Image.jpg Photo of the device Use the default name wherever possible (i.e. do not use this option unless you have to). If there are characters that cannot be used in a filename (e.g. a forward slash), try to find a Unicode equivalent to use instead (e.g. mathematical division slash) which are allowed in filenames and look the same.
Bus type = Value Card interface The bus type is a text field containing only one of the following permitted values:
  • Expansion cards
    • ISA - original ISA bus
    • EISA - IBM's extended ISA bus (VLB cards are often mistakenly called EISA, make sure it really is EISA!)
    • VLB - VESA Local Bus
    • PCI - original PCI (not PCI Express)
    • AGP
    • PCIe - PCI Express
  • Drives
    • IDE - standard IDE drives
    • SCSI - devices connected to the SCSI bus
    • PC Floppy - standard floppy drives with Shugart 34-pin interface
      • Shugart 50-pin - older PC-compatible floppy interface for 8" drives
    • USB - devices that connect to USB
  • CPUs
    • FSB - Intel Front Side Bus

Other buses should be added to this list as needed. If a device is available with more than one bus type, a different page should be created for each version of the device, as technically those cards are slightly different models.

If a card has multiple bus connections (e.g. some POST cards support both PCI and ISA on different edges of the card) then pick the oldest one, and list the others in the article text using code similar to this:

This card also has a [[Bus type::PCI]] connector.
Bus width = Value Width of bus The bus type is a text field containing only one of the following permitted values, which vary depending on the bus type:
  • Expansion cards
    • ISA: 8-bit, 16-bit
    • VLB: 32-bit (VLB 1.0), 64-bit (VLB 2.0)
    • PCI: 32-bit, 64-bit
    • AGP: 32-bit
    • PCIe: x1, x2, x4, x8, x16 - size of connector on the card, make a note in the article if the card is electrically less than this
  • Drives
    • PC Floppy: 1-bit (only one read and one write line)
    • IDE: 16-bit (PIO), 32-bit (UDMA)
    • SCSI: 8-bit (narrow SCSI), 16-bit (wide SCSI)
  • General
    • USB: 1-bit (only one read and one write lane)
Bus speed = Value Rated maximum bus speed of device Values depend on the bus type:
  • ISA: 8 MHz
  • VLB: 40 MHz (VLB 1.0), 50 MHz (VLB 2.0)
  • PCI: 33 MHz, 66 MHz, 133 MHz
  • AGP: 66 MHz
  • PCIe: ? - should be a way here of distinguishing between PCIe 1.0, 2.0, 3.0, etc.
8-bit ISA compatible = Value 16-bit ISA only: Does the card work in an 8-bit slot? Yes, No or Unknown
PCI 5V = Value PCI only: Will the card work in 5 VDC slots? Yes, No or Unknown
PCI 3.3V = Value PCI only: Will the card work in 3.3 VDC slots? Yes, No or Unknown
AGP speed = Value AGP only: Max AGP speed the device supports 1x, 2x, 4x, 8x or Unknown
Manufacturer = Value Company name of manufacturer Be consistent so all cards with the same manufacturer are grouped together
Chipset = Value Primary card chipset Be consistent so all cards with the same chipset are grouped together. If there is more than one large chip, try to pick the biggest or the one most related to network processes.
Compatible with = Value Generic interfaces that can be used to control this card Valid values depend on the device type, see the device-specific infobox page for a list.
Connectors = Value Which connectors are on the card? Comma separated list of Has connector elements. Valid values depend on the device type, see the device-specific infobox page for a list.
Extra fields = Value Additional infobox fields for more specific infoboxes to use Zero or more whitespace-separated instances of Template:Infobox Item.
Requires -5VDC = Value Does the card require -5V present to function correctly? Yes, No or Unknown. PCI and newer slots do not supply 5V so this should always be set to No for those devices.
Requires -12VDC = Value Does the card require -12V present to function correctly? Yes, No or Unknown
Config = Value Configuration method used to set card resources (addresses, IRQ, etc.) Comma separated list, one or more of:
  • [[Config method::Jumpers]] (some or all resources are set via physical jumpers on the card)
  • [[Config method::Software]] (some or all resources are set with a manufacturer-provided configuration program)
  • [[Config method::PnP]] (some or all resources are set via the ISA/PCI plug-n-play specification, requiring a PnP BIOS or configuration manager program to be used)
  • [[Config method::None]] (none of the resources can be changed at all)
Driver = Wikilink Link to latest driver download Avoid multiple links - if it is important to have multiple downloads, put them in a 'downloads' section in the article. Example: Driver = [http://example.com/example.zip example.zip]
IsInfoboxPage = Value Internal use only, do not use This value is set to Y on infobox pages to avoid the infoboxes themselves being added to categories like 'missing images'.

Default values are shown if the parameter is omitted, so do not use any parameters unless the value is known (most of the defaults say "unknown")