Template:Infobox hard drive/doc: Difference between revisions
→TemplateData: More updates |
TemplateData upgrade |
||
| Line 88: | Line 88: | ||
}, | }, | ||
"capacity_unit": { | "capacity_unit": { | ||
"label": "Capacity unit | "label": "Capacity unit", | ||
"description": "The two letter acronym for the capacity's unit. Case insensitive. | "description": "The two- or three- letter acronym for the capacity's unit. Case insensitive. Accepts all parameters that Template:Cache unit accepts.", | ||
"example": "gb", | "example": "gb", | ||
"type": "string", | "type": "string", | ||
| Line 125: | Line 125: | ||
"label": "Image 2", | "label": "Image 2", | ||
"description": "File name for the second image on the infobox.", | "description": "File name for the second image on the infobox.", | ||
"example": "Toshiba HDWJ110 SMART printout.png", | |||
"type": "wiki-file-name" | |||
}, | |||
"image3": { | |||
"label": "Image 3", | |||
"description": "File name for the third image on the infobox.", | |||
"example": "Toshiba HDWJ110 SMART printout.png", | "example": "Toshiba HDWJ110 SMART printout.png", | ||
"type": "wiki-file-name" | "type": "wiki-file-name" | ||
| Line 195: | Line 201: | ||
"description": "The form factor of the hard drive model, expressed in inches (as in, 3.5\").", | "description": "The form factor of the hard drive model, expressed in inches (as in, 3.5\").", | ||
"example": "3.5\"", | "example": "3.5\"", | ||
"required": true | "required": true, | ||
"type": "string" | |||
}, | }, | ||
"family": { | "family": { | ||
| Line 212: | Line 219: | ||
}, | }, | ||
"cache_unit": { | "cache_unit": { | ||
"label": "Cache unit | "label": "Cache unit", | ||
"description": "The two letter acronym for the cache capacity's unit. Case insensitive. | "description": "The two- or three- letter acronym for the cache capacity's unit. Case insensitive. Accepts all parameters that Template:Cache unit accepts.", | ||
"example": "mb", | "example": "mb", | ||
"suggested": true | "suggested": true, | ||
"type": "string" | |||
}, | }, | ||
"capacity_per_platter": { | "capacity_per_platter": { | ||
| Line 221: | Line 229: | ||
"description": "The amount of capacity stored on each platter.", | "description": "The amount of capacity stored on each platter.", | ||
"example": "1.43", | "example": "1.43", | ||
"suggested": true | "suggested": true, | ||
"type": "number" | |||
}, | }, | ||
"capacity_per_platter_unit": { | "capacity_per_platter_unit": { | ||
"label": "Capacity per platter unit | "label": "Capacity per platter unit", | ||
"description": "The two letter acronym for the capacity's unit. Case insensitive. | "description": "The two- or three- letter acronym for the capacity's unit. Case insensitive. Accepts all parameters that Template:Cache unit accepts. Accepts all parameters that Template:Cache unit accepts, but this should not be used with binary units normally.", | ||
"example": "tb", | "example": "tb", | ||
"type": "string", | "type": "string", | ||
| Line 234: | Line 243: | ||
"description": "The speed that the hard drive platters rotate at.", | "description": "The speed that the hard drive platters rotate at.", | ||
"example": " 5,400", | "example": " 5,400", | ||
"suggested": true | "suggested": true, | ||
"type": "number" | |||
}, | }, | ||
"apm": { | "apm": { | ||
| Line 254: | Line 264: | ||
"description": "Whether the hard drive supports Automatic Acoustic Management (AAM).", | "description": "Whether the hard drive supports Automatic Acoustic Management (AAM).", | ||
"example": "No", | "example": "No", | ||
"suggested": true | "suggested": true, | ||
"type": "string" | |||
}, | }, | ||
"trim": { | "trim": { | ||
| Line 333: | Line 344: | ||
"type": "string", | "type": "string", | ||
"suggested": true | "suggested": true | ||
}, | |||
"caption3": { | |||
"label": "Image caption 3", | |||
"description": "An image caption to accompany image 3. Also acts as alt text if not explicitly provided.", | |||
"type": "string" | |||
}, | |||
"alt1": { | |||
"label": "Alt text 1", | |||
"description": "Alt text associated with image 1.", | |||
"default": "{{{caption1}}}", | |||
"type": "string" | |||
}, | |||
"alt2": { | |||
"label": "Alt text 2", | |||
"description": "Alt text associated with image 2.", | |||
"default": "{{{caption2}}}", | |||
"type": "string" | |||
}, | |||
"alt3": { | |||
"label": "Alt text 3", | |||
"description": "Alt text associated with image 3.", | |||
"default": "{{{caption3}}}", | |||
"type": "string" | |||
} | } | ||
}, | }, | ||
| Line 340: | Line 374: | ||
"image1", | "image1", | ||
"caption1", | "caption1", | ||
"alt1", | |||
"image2", | "image2", | ||
"caption2", | "caption2", | ||
"alt2", | |||
"image3", | |||
"caption3", | |||
"alt3", | |||
"manufacturer", | "manufacturer", | ||
"family", | "family", | ||
Revision as of 10:54, 15 August 2021
| This is a documentation subpage for Template:Infobox hard drive. It contains usage information, categories and other content that is not part of the original template page. |
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 HDWD240 top-down view.jpg
|caption1 = Top-down view of a HDWD240.
|image2 = File:Toshiba HDWD240 CDI SMART printout.png
|caption2 = CrystalDiskInfo printout of SMART attributes.
|manufacturer = [[Toshiba]]
|family = [[Toshiba P300]]/[[Toshiba DT02]]
|form_factor = 3.5"
|z-height = 26.1 mm
|speed = 5,400
|capacity = 4
|capacity_unit = tb
|af = 512e
|max_transfer = 176.4 (from DT02ABA400)
|ncq = Yes
|apm = Yes
|aam = Yes
|trim = No
|scterc = Read: Disabled<br>Write: Disabled
|interface = SATA
|interface_version = SATA 3.3 (600 MB/s)
|command_set = ACS-3 Revision 5
|platters = 2
|heads = 4
|capacity_per_platter = 2
|capacity_per_platter_unit = tb
|recording_method = smr
|cache = 128
|cache_unit = mb
|mttf = None
|max_load_cycles = 600,000
|unrecoverable_error_rate = <math>1</math> in <math>10^{14}</math>
|released = 2019
}}
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/Drive family | platform | The platform name (such as a WD Marvel 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 total capacity of the hard drive model. Do not include units, and 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 |
| Advanced Format status | af | Whether the hard drive supports Advanced Format, and if so, what type it supports (512e, or 4Kn)
| String | suggested |
| Maximum transfer rate | max_transfer | The maximum specified transfer rate, in MB/s.
| Number | suggested |
| 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 | suggested |
| 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 |
| TRIM? | trim | Whether the hard drive supports the TRIM command. Only specify "No" if the drive is SMR; leave blank otherwise.
| String | optional |
| SCTERC defaults | scterc | The default settings for SCTERC.
| String | suggested |
| Platter count | platters | Number of known platters in a hard drive model.
| Number | suggested |
| Recording head count | heads | Number of recording 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. 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. 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.
| Number | suggested |
| Maximum load/unload cycles | max_load_cycles | Maximum load/unload cycle count published by the manufacture. Specify "N/A" if this is a contact start-stop HDD.
| Number | suggested |
| Unrecoverable error rate | unrecoverable_error_rate | Unrecoverable error rate specified by the manufacturer. Use math when possible.
| Content | suggested |
| KCC/MSIP ID | kcc | An identifier assigned by the KCC (Korean Communications Commission)/MSIP (Ministry for Science, ICT and Future Planning).
| String | suggested |
| KCC 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. | 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 |