Difference between revisions of "Template:Infobox Disk drive"

From Computer History Wiki
Jump to: navigation, search
m (typo)
 
(20 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
This template is for disk drives, in contains the following
+
This template is for disk drives, its usage is as below, containing the listed optional (other than the 'name') arguments:
  
 
<pre>
 
<pre>
name                =  name of drive
+
{{Infobox Disk drive
image              =  name of wiki image of drive
+
| name                =  name of drive
manufacturer        =     
+
| image              =  name of wiki image of drive
year introduced    =  
+
| imgwidth            =  size of image (default 250px)
year discontinued  =  
+
| caption            =
controller          =  drive controller(s) and their host interface
+
| manufacturer        =     
rpm                =   
+
| year introduced    =  
media              =  type of media drive uses
+
| year discontinued  =  
surfaces            =
+
| controller          =  drive controller(s) and their host
sectors per track   =
+
| interface
words per sector    =
+
| capacity            =
tracks per inch    =  
+
| transfer rate      =  in an appropriate unit (megabits/sec, etc)
density            = in bits per inch
+
| throughput          =  in I/Os per second
transfer rate       = in an appropriate unit (megawords / sec or whatever)
+
| minimum access time =
 +
| average access time =
 +
| maximum access time =
 +
| rpm                =   
 +
| revolution time    =  for 1/2 revolution (average rotational delay)
 +
| one track seek      =
 +
| average seek        =
 +
| maximum seek        =
 +
| head switch        =
 +
| media              =  type of media drive uses
 +
| surfaces            =
 +
| number of heads    =
 +
| tracks              =  tracks per surface
 +
| sectors             =  per track
 +
| words per sector    =
 +
| bytes per sector    =
 +
| tracks per inch    =  
 +
| density            = in bits per inch
 +
| recording method    = mfm, etc. etc.
 +
| start time          =
 +
| stop time          =
 +
| physical size       =
 +
| weight              =
 +
| power consumption  =
 +
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>
 
  
 
<includeonly>
 
<includeonly>
Line 27: Line 50:
 
|-
 
|-
 
{{#if: {{{image|}}} |
 
{{#if: {{{image|}}} |
{{!}} colspan="2" style="text-align:center;" {{!}} [[Image:{{{image}}}|250px| ]]<br>{{{caption}}} }}
+
{{!}} colspan="2" style="text-align:center;" {{!}} [[Image:{{{image}}}|{{{imgwidth|250px}}}| ]]<br>{{{caption}}} }}
 
|-
 
|-
  
Line 50: Line 73:
 
|-
 
|-
  
{{#if: {{{rpm}}} |
+
{{#if: {{{capacity|}}} |
! Revolutions Per Minute:
+
! Capacity:
 +
{{!}} {{{capacity}}} }}
 +
|-
 +
 
 +
{{#if: {{{transfer rate|}}} |
 +
! Transfer Rate:
 +
{{!}} {{{transfer rate}}} }}
 +
|-
 +
 
 +
{{#if: {{{throughput|}}} |
 +
! Throughput:
 +
{{!}} {{{throughput}}} }}
 +
|-
 +
 
 +
{{#if: {{{minimum access time|}}} |
 +
! Minimum Access Time:
 +
{{!}} {{{minimum access time}}} }}
 +
|-
 +
 
 +
{{#if: {{{average access time|}}} |
 +
! Average Access Time:
 +
{{!}} {{{average access time}}} }}
 +
|-
 +
 
 +
{{#if: {{{maximum access time|}}} |
 +
! Maximum Access Time:
 +
{{!}} {{{maximum access time}}} }}
 +
|-
 +
 
 +
{{#if: {{{rpm|}}} |
 +
! Revolutions per Minute:
 
{{!}} {{{rpm}}} }}
 
{{!}} {{{rpm}}} }}
 +
|-
 +
 +
{{#if: {{{revolution time|}}} |
 +
! 1/2 Revolution Time:
 +
{{!}} {{{revolution time}}} }}
 +
|-
 +
 +
{{#if: {{{one track seek|}}} |
 +
! One Track Seek Time:
 +
{{!}} {{{one track seek}}} }}
 +
|-
 +
 +
{{#if: {{{average seek|}}} |
 +
! Average Seek Time:
 +
{{!}} {{{average seek}}} }}
 +
|-
 +
 +
{{#if: {{{maximum seek|}}} |
 +
! Maximum Seek Time:
 +
{{!}} {{{maximum seek}}} }}
 +
|-
 +
 +
{{#if: {{{head switch|}}} |
 +
! Head Switching Time:
 +
{{!}} {{{head switch}}} }}
 
|-
 
|-
  
Line 60: Line 138:
 
|-  
 
|-  
  
{{#if: {{{surfaces}}} |
+
{{#if: {{{surfaces|}}} |
 
! Total Surfaces:
 
! Total Surfaces:
 
{{!}} {{{surfaces}}} }}
 
{{!}} {{{surfaces}}} }}
 
|-
 
|-
  
{{#if: {{{sectors per track}}} |
+
{{#if: {{{number of heads|}}} |
! Sectors Per Track:
+
! Number of Heads:
{{!}} {{{sectors per track}}} }}
+
{{!}} {{{number of heads}}} }}
 
|-
 
|-
  
{{#if: {{{words per sector}}} |
+
{{#if: {{{tracks|}}} |
! Words Per Sector:
+
! Tracks per Surface:
 +
{{!}} {{{tracks}}} }}
 +
|-
 +
 
 +
{{#if: {{{sectors|}}} |
 +
! Sectors per Track:
 +
{{!}} {{{sectors}}} }}
 +
|-
 +
 
 +
{{#if: {{{words per sector|}}} |
 +
! Words per Sector:
 
{{!}} {{{words per sector}}} }}
 
{{!}} {{{words per sector}}} }}
 
|-
 
|-
  
{{#if: {{{tracks per inch}}} |
+
{{#if: {{{bytes per sector|}}} |
! Tracks Per Inch:
+
! Bytes per Sector:
 +
{{!}} {{{bytes per sector}}} }}
 +
|-
 +
 
 +
{{#if: {{{tracks per inch|}}} |
 +
! Tracks per Inch:
 
{{!}} {{{tracks per inch}}} }}
 
{{!}} {{{tracks per inch}}} }}
 
|-
 
|-
  
{{#if: {{{density}}} |
+
{{#if: {{{density|}}} |
 
! Density:
 
! Density:
 
{{!}} {{{density}}} }}
 
{{!}} {{{density}}} }}
 
|-
 
|-
  
{{#if: {{{transfer rate}}} |
+
{{#if: {{{recording method|}}} |
! Transfer Rate:
+
! Recording Method:
{{!}} {{{transfer rate}}} }}
+
{{!}} {{{recording method}}} }}
 +
|-
 +
 
 +
{{#if: {{{start time|}}} |
 +
! Start Time:
 +
{{!}} {{{start time}}} }}
 +
|-
 +
 
 +
{{#if: {{{stop time|}}} |
 +
! Stop Time:
 +
{{!}} {{{stop time}}} }}
 +
|-
 +
 
 +
{{#if: {{{physical size|}}} |
 +
! Physical Size:
 +
{{!}} {{{physical size}}} }}
 +
|-
 +
 
 +
{{#if: {{{weight|}}} |
 +
! Weight:
 +
{{!}} {{{weight}}} }}
 
|-
 
|-
  
 +
{{#if: {{{power consumption|}}} |
 +
! Power Consumption:
 +
{{!}} {{{power consumption}}} }}
 +
|-
  
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
| colspan="2" style="font-size: smaller;" | {{{footnotes|}}}
 
|}
 
|}
[[Category: Disk drive]]
 
 
</includeonly>
 
</includeonly>

Latest revision as of 19:31, 10 February 2024

This template is for disk drives, its usage is as below, containing the listed optional (other than the 'name') arguments:

{{Infobox Disk drive 
| name                =  name of drive
| image               =  name of wiki image of drive
| imgwidth            =  size of image (default 250px)
| caption             =
| manufacturer        =    
| year introduced     = 
| year discontinued   = 
| controller          =  drive controller(s) and their host
| interface
| capacity            =
| transfer rate       =  in an appropriate unit (megabits/sec, etc)
| throughput          =  in I/Os per second
| minimum access time =
| average access time =
| maximum access time =
| rpm                 =  
| revolution time     =  for 1/2 revolution (average rotational delay)
| one track seek      =
| average seek        =
| maximum seek        =
| head switch         =
| media               =  type of media drive uses
| surfaces            =
| number of heads     =
| tracks              =  tracks per surface
| sectors             =  per track
| words per sector    =
| bytes per sector    =
| tracks per inch     = 
| density             = in bits per inch
| recording method    = mfm, etc. etc.
| start time          =
| stop time           =
| physical size       =
| weight              =
| power consumption   =
}}