Template:Infobox hard drive
This infobox is designed for hard drive model articles. It shows various hard drive parameters, such as speed, capacity and per-platter capacity.
Examples
This example infobox is generated using the following code:{{infobox hard drive |image1 = TOSHIBA HDWR480 top lid and label view.jpg |caption1 = Top lid of a HDWR480UZSVA. |image2 = CrystalDiskInfo prinout - TOSHIBA HDWR480.png |caption2 = CrystalDiskInfo printout of SMART attributes. |audio1 = TOSHIBA HDWR480 spinup and spindown sounds.wav |audio1_caption = Spinup and spindown sounds of a TOSHIBA HDWR480. |platform = MG08ADA |manufacturer = [[Toshiba]] |family = [[Toshiba X300]]/[[Toshiba X300 Pro]] |form_factor = 3.5" |z-height = 26.1 |speed = 7,200 |capacity = 8 |capacity_unit = tb |cache = 256 |cache_unit = mb |af = 512e |max_transfer = 248 |interface = SATA |interface_version = SATA 3.3 (600 MB/s) |command_set = ACS-3 Revision 5 |apm = Yes |aam = No |ncq = Yes |gpl = Yes |scterc = Read: Disabled<br>Write: Disabled |statistics = Yes |platters = 5 |heads = 10 |capacity_per_platter = 1.6 |capacity_per_platter_unit = tb |recording_method = cmr |mttf = 600,000 hours |max_load_cycles = 300,000 |unrecoverable_error_rate = <math>1</math> in <math>10^{14}</math> |kcc = R-R-T48-MG08ADA400N |pcb = G0049A |released = 2021 |predecessor = [[TOSHIBA HDWR180]] |successor = [[TOSHIBA HDWR780]] }}
For detailed usage information on each parameter, see the TemplateData.
Capacity discrepancy verification
This template verifies whether the following rules are true.
- There cannot be more heads than double the platter count. (2 platters, 4 heads is legal, since , but 2 platters, 6 heads is not legal, since .)
- The total capacity equals the difference between (Platter capacity multiplied by (number of heads divided by 2)) and short-stroked capacity, adjusted for units.
- This is summed up by this mathematical statement: , where C = given capacity, P = platter capacity, h = heads and S = short-stroked capacity.
If one or both of these rules are violated, the page is categorised into Category:Hard drive models with capacity, capacity per platter and short stroked capacity calculation errors, and an error is raised in the Capacity field warning that such a discrepancy was found. Please correct the following fields, preferably by consulting a source such as the RML527 HDD Platter Capacity Database, and check using preview that your edit clears the error.
capacity
andcapacity_unit
capacity_per_platter
andcapacity_per_platter_unit
platters
(if the problem is that there are too few platters for the number of heads)heads
short_stroked_capacity
andshort_stroked_capacity_unit
TemplateData
Displays information on hard drive models.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image 1 | image1 | File name for the first image on the infobox.
| File | suggested |
Image caption 1 | caption1 | An image caption to accompany image 1. Also acts as alt text if not explicity provided.
| Content | suggested |
Alt text 1 | alt1 | Alt text associated with image 1.
| String | optional |
Image 2 | image2 | File name for the second image on the infobox.
| File | optional |
Image caption 2 | caption2 | An image caption to accompany image 2. Also acts as alt text if not explicitly provided. | Content | optional |
Alt text 2 | alt2 | Alt text associated with image 2.
| String | optional |
Image 3 | image3 | File name for the third image on the infobox.
| File | optional |
Image caption 3 | caption3 | An image caption to accompany image 3. Also acts as alt text if not explicitly provided. | String | optional |
Alt text 3 | alt3 | Alt text associated with image 3.
| String | optional |
Manufacturer | manufacturer | The company who manufactures or manufactured this hard drive model.
| Page name | required |
Product family | family | The product family the hard drive model belongs to.
| Page name | suggested |
Platform | platform | The platform name (such as a WD Marvell family).
| String | optional |
Form factor | form_factor | The form factor of the hard drive model, expressed in inches (as in, 3.5").
| String | required |
z-height | z-height | The total z-height of the drive in millimetres. Most useful for 2.5"s, most 3.5"s are 26.1.
| Number | suggested |
Capacity | capacity | The advertised capacity of the hard drive model. Do not include units, as those go in a separate parameter. If the actual user capacity is different to the advertised one, that is reflected in the LBA parameter, not here (e.g. if the HDD model is marketed as 160 GB but its actual capacity is 164, write 160 here). Do not use binary capacities (such as 236 instead of 256).
| Number | suggested |
Capacity unit | capacity_unit | The two- or three- letter acronym for the capacity's unit. Case insensitive. Accepts all parameters that Template:Cache unit accepts.
| String | required |
Rotation speed | speed | The speed that the hard drive platters rotate at.
| Number | suggested |
Cache | cache | The amount of cache RAM the hard drive contains.
| Number | suggested |
Cache unit | cache_unit | The two- or three- letter acronym for the cache capacity's unit. Case insensitive. Accepts all parameters that Template:Cache unit accepts.
| String | suggested |
Maximum sustained transfer rate | max_transfer | The maximum specified transfer rate, in MB/s. Note that some datasheets specify this in Mbits for some reason; for those, provide an MB/s translation as well as the original.
| Number | suggested |
LBAs | lbas | The number of LBAs the hard drive has available. If left blank, this is automatically calculated using the IDEMA formula and the values of capacity, capacity_unit, and either logical_sector_size or af. It should not be necessary to explicitly set this parameter, except when the drive model does not conform to IDEMA formulae. | Number | optional |
Logical C/H/S | chs | If the drive has a specific logical C/H/S, specify it here. Give the parameters in the order of cylinders, heads and sectors, separated by forward slashes.
| String | optional |
User capacity | user_capacity | The amount of user capacity the hard drive has available, in bytes. If left blank, this is automatically calculated using the IDEMA formula and the values of logical_sector_size or af. It should not be necessary to explicitly set this parameter for most IDEMA formulae conforming drives; only use it when the drive model does not conform to IDEMA formulae. | Number | optional |
Advanced Format status | af | Whether the hard drive supports Advanced Format, and if so, what type it supports (512e, or 4Kn). Setting this field will automatically specify the logical_sector_size and physical_sector_size fields to their correct values.
| String | suggested |
Logical sector size | logical_sector_size | The size of each LBA in bytes. If left blank, this is automatically detected from the drive's Advanced Format support. | Number | optional |
Physical sector size | physical_sector_size | The size of each physical sector in bytes. If left blank, this is automatically detected from the drive's Advanced Format support. | Number | optional |
Interface | interface | The acronym for the interface in use (pata, sata, scsi, sas). Case insensitive.
| String | suggested |
Interface version | interface_version | The version of the interface in use, and its speed.
| String | suggested |
Command set | command_set | The command set used for interfacing with the drive.
| String | suggested |
APM? | apm | Whether the hard drive supports Advanced Power Management (APM).
| String | required |
NCQ? | ncq | Whether the hard drive supports Native Command Queing (NCQ).
| String | required |
AAM? | aam | Whether the hard drive supports Automatic Acoustic Management (AAM).
| String | suggested |
GPL? | gpl | Whether the drive supports General Purpose Log.
| String | suggested |
TRIM? | trim | Whether the hard drive supports the TRIM command. Manually specifying "No" is only needed if the drive is SMR; leave blank otherwise.
| String | optional |
SIE? | sie | Whether the hard drive model supports Sanitize Instant Erase (SIE).
| String | optional |
SED algorithm | sed | If supported, defines what algorithm the model uses for self-encryption. Specify "Unknown (supported)" if the drive does support self-encryption, but the algorithm used is not known. Leave blank if the drive does not support it at all.
| String | optional |
SCTERC defaults | scterc | The default settings for SCTERC. Write "Not supported" if the drive does not support SCTERC at all.
| String | suggested |
Device Statistics? | statistics | Whether the device supports Device Statistics.
| String | required |
Platter count | platters | Number of known platters in a hard drive model.
| Number | suggested |
Head count | heads | Number of heads in a hard drive model.
| Number | suggested |
Capacity per platter | capacity_per_platter | The amount of capacity stored on each platter.
| Number | suggested |
Capacity per platter unit | capacity_per_platter_unit | The two- or three- letter acronym for the capacity's unit. Case insensitive. Accepts all parameters that Template:Cache unit accepts, but this should not be used with binary units normally.
| String | suggested |
Recording method | recording_method | The three, four or similar acronym for the recording method. Case insensitive.
| String | suggested |
Mean time to failure | mttf | Mean time to failure published by the manufacturer. Do not use crowd-sourced information such as ST3000DM001s all failing at low hour numbers.
| String | required |
Maximum load/unload cycles | max_load_cycles | Maximum load/unload cycle count published.
| Number | suggested |
Unrecoverable error rate | unrecoverable_error_rate | Unrecoverable error rate specified by the manufacturer. Use math when possible.
| Content | suggested |
KCC/MSIP Authorization Number | kcc | The model's Authorization Number assigned by the KCC (Korean Communications Commission)/MSIP (Ministry for Science, ICT and Future Planning).
| String | suggested |
KCC/MSIP Authorization Number wikitext | kcc_wikitext | Custom wikitext to use for the KCC/MSIP ID parameter. By default, the infobox places the ID given in kcc into a wikilink; use this to disable it if that causes problems or to specify if the drive does not have a KCC or MSIP Authorization Number at all.. | Unbalanced wikitext | optional |
PCB part number(s) | pcb | The part numbers of all known PCBs used by this drive.
| String | suggested |
Date released | released | The year (add more precision if desired/known) the hard drive model was released.
| Date | suggested |
Date discontinued | discontinued | The year (add more precision if desired/known) the model was discontinued.
| Date | optional |
Force categorisation | force_cat | Force automatic categorisation to be suppressed (-1) or always show (1). Leave blank or use any other value to automatically categorise only in mainspace.
| Number | optional |
Predecessor | predecessor | Wikilink or wikilinks to the model best described as the predecessor to the infobox subject.
| Unknown | optional |
Successor | successor | Wikilink or wikilinks to the model best described as the successor to the infobox subject.
| Unknown | optional |