Difference between revisions of "Template:Device Infobox/Optical Drive"

From Vogons Wiki
Jump to: navigation, search
m (Compare speeds to "0 x" instead of "0" since they aren't numerical with the speed suffix)
(Change defaults from Unknown to "0 x" to avoid "not a number" error)
Line 13: Line 13:
 
{{Device Infobox/Item | DVD read speed | {{#ifeq:{{{Read/DVD|0 x}}} | 0 x | N/A | {{{Read/DVD}}} }} }}
 
{{Device Infobox/Item | DVD read speed | {{#ifeq:{{{Read/DVD|0 x}}} | 0 x | N/A | {{{Read/DVD}}} }} }}
 
{{#set:
 
{{#set:
  | Has CD read speed = {{{Read/CD|Unknown}}}
+
  | Has CD read speed = {{{Read/CD|0 x}}}
  | Has CD-R write speed = {{{Write/CD-R|Unknown}}}
+
  | Has CD-R write speed = {{{Write/CD-R|0 x}}}
  | Has CD-RW write speed = {{{Write/CD-RW|Unknown}}}
+
  | Has CD-RW write speed = {{{Write/CD-RW|0 x}}}
  | Has DVD read speed = {{{Read/DVD|Unknown}}}
+
  | Has DVD read speed = {{{Read/DVD|0 x}}}
 
}}
 
}}
 
<noinclude>
 
<noinclude>

Revision as of 22:25, 17 April 2016

Device Infobox/Optical Drive
There is no image of this device — upload one!
Bus type Unknown
Bus width Unknown
Bus speed Unknown
8-bit ISA compatible? Unknown
PCI 5V tolerant? Unknown
PCI 3.3V tolerant?
Manufacturer Unknown
Chipset Unknown
Connectors Unknown
Requires -5VDC? Unknown
Requires -12VDC? Unknown
Config method Unknown
Optical Drive
Disc count 1
Transport
CD read speed Unknown
CD-R write speed N/A
CD-RW write speed N/A
DVD read speed N/A
Driver Missing download URL

This template is used to populate the Device Infobox with information about a CD/DVD drive. See Matsushita CW-7503 for example use. As this template sits inside an infobox, it can be combined with other templates in the case of multi-function devices.

Valid parameters and examples specific to this infobox are:

Parameter Meaning
Disc count = 1 Number of discs the drive can hold at one time. Typically only 1, although CD-changer systems will have more.
Transport = Tray Text value for the type of disc loading mechanism.
  • Tray - drive ejects a non-removable tray into which the disc is placed
  • Slot - disc is inserted into, and ejected from, a slit in the front of the drive
  • Caddy - disc is placed inside a plastic caddy and the caddy is inserted into the drive

Add others to this list as needed.

Read/CD = 2 x How fast the drive can read CDs. Use 1 x for single speed drives, 2 x for double-speed drives, etc.
Write/CD-R = 4 x How fast the drive can write to CD-R discs at its maximum speed. Use 1 x for single speed writing, 2 x for double-speed writing, etc. For drives that cannot write CD-Rs, use 0 x.
Write/CD-RW = 0 x How fast the drive can write to CD-RW discs at its maximum speed. Use 1 x for single speed writing, 2 x for double-speed writing, etc. For drives that cannot write CD-RWs, use 0 x.
Read/DVD = 16 x How fast the drive can read DVDs. Use 1 x for single speed drives, 2 x for double-speed drives, etc. For drives that cannot read DVDs, use 0 x.

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").