Template:Infobox hard drive product family: Difference between revisions

From Australian Enthusiasts Wiki
Add infobox designed for HDD families
 
Remove <default> from common specs
 
(14 intermediate revisions by the same user not shown)
Line 6: Line 6:
         <image source="image1">
         <image source="image1">
             <caption source="caption1"/>
             <caption source="caption1"/>
            <alt source="alt1">
                <default>{{{caption1}}}</default>
            </alt>
         </image>
         </image>
         <image source="image2">
         <image source="image2">
             <caption source="caption2"/>
             <caption source="caption2"/>
            <alt source="alt2">
                <default>{{{caption2}}}</default>
            </alt>
        </image>
        <image source="image3">
            <caption source="caption3"/>
            <alt source="alt3">
                <default>{{{caption3}}}</default>
            </alt>
         </image>
         </image>
         <data source="manufacturer">
         <data source="manufacturer">
             <label>Manufacturer</label>
             <label>Manufacturer</label>
             <default>''Currently under investigation''<includeonly>[[Category:Hard drive model families with unknown manufacturer]]</includeonly></default>
             <default>''Currently under investigation''{{NsCatO|Hard drive product families with unknown manufacturer|{{{force_cat|}}}}}</default>
        </data>
        <data source="purpose">
            <label>Intended purpose</label>
            <format>{{#switch: {{lc:{{{purpose|}}} }}
            |desktop = Desktop PCs{{NsCatO|Hard drive product families designed for desktop PCs|{{{force_cat|}}}}}
            |desktop_performance = High performance desktop PCs{{NsCatO|Hard drive product families designed for desktop PCs|{{{force_cat|}}}}}
            |laptop = Laptop PCs{{NsCatO|Hard drive product families designed for laptop PCs|{{{force_cat|}}}}}
            |nas = [[wikipedia:NAS|Network attached storage (NAS)]] devices{{NsCatO|Hard drive product families designed for NASes|{{{force_cat|}}}}}
            |stb = Set-top boxes (such as DVRs){{NsCatO|Hard drive product families designed for set-top boxes|{{{force_cat|}}}}}
            |surveillance = Surveillance DVRs/NVRs{{NsCatO|Hard drive product families designed for surveillance|{{{force_cat|}}}}}
            |enterprise = Enterprise{{NsCatO|Hard drive product families designed for enterprise|{{{force_cat|}}}}}
            |external = External hard drives{{NsCatO|Hard drive product families designed for external hard drives|{{{force_cat|}}}}}
            |{{{purpose|}}}
            }}
            </format>
            <default>''Currently under investigation''{{NsCatO|Hard drive product families with unknown intended purpose|{{{force_cat|}}}}}</default>
         </data>
         </data>
     </group>
     </group>
Line 19: Line 47:
         <data source="form_factor">
         <data source="form_factor">
             <label>Form factor</label>
             <label>Form factor</label>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown form factor]]</includeonly></default>
         </data>
         </data>
         <data source="z-height">
         <data source="z-height">
             <label>z-height (mm)</label>
             <label>z-height (mm)</label>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown z-height]]</includeonly></default>
         </data>
         </data>
         <data source="capacity">
         <data source="capacity">
             <label>Capacity</label>
             <label>Capacity</label>
             <format>{{{capacity}}} {{Capacity unit|{{{capacity_unit|(None)}}} }}</format>
             <format>{{{capacity}}} {{Capacity unit|{{{capacity_unit|(None)}}} }}</format>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown capacity]]</includeonly></default>
         </data>
         </data>
         <data source="speed">
         <data source="speed">
             <label>Speed ([[wikipedia:Revolutions per minute|RPM]])</label>
             <label>Spindle speed ([[wikipedia:Revolutions per minute|RPM]])</label>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown speed]]</includeonly></default>
         </data>
         </data>
         <data source="cache">
         <data source="cache">
             <label>Cache</label>
             <label>Cache</label>
             <format>{{{cache}}} {{Capacity unit|{{{cache_unit|(None)}}} }}</format>
             <format>{{{cache}}} {{Capacity unit|{{{cache_unit|(None)}}} }}</format>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown cache]]</includeonly></default>
         </data>
         </data>
         <data source="af">
         <data source="af">
             <label><span class="explain" title="Advanced Format is either 512e, to designate 4K sectors on disk with 512B emulated to the host, or 4Kn, to designate 4K sectors both on disk and to host.">Advanced Format?</label>
             <label><span class="explain" title="Advanced Format is either 512e, to designate 4K sectors on disk with 512B emulated to the host, or 4Kn, to designate 4K sectors both on disk and to host.">Advanced Format?</label>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown Advanced Format status]]</includeonly></default>
         </data>
         </data>
         <data source="max_transfer">
         <data source="max_transfer">
             <label>Maximum transfer speed (MB/s)</label>
             <label><span class="explain" title="The maximum sequential sustained transfer speed the drive is capable of, according to the datasheet. Usually this is the initial speed when the drive is completely empty.">Maximum sustained speed (MB/s)</span></label>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown maxiumum transfer speed]]</includeonly></default>
         </data>
         </data>
         <data source="recording_method">
         <data source="recording_method">
             <label>Recording method</label>
             <label>Recording technology</label>
             <format>{{#switch: {{lc:{{{recording_method|}}} }}
             <format>{{#switch: {{lc:{{{recording_method|}}} }}
             |cmr = [[wikipedia:Perpendicular magnetic recording|CMR]][[Category:Conventional magnetic recording hard drive models]]
             |cmr = [[wikipedia:Perpendicular magnetic recording|Conventional magnetic recording (CMR)]]
             |pmr = [[wikipedia:Perpendicular magnetic recording|CMR]][[Category:Conventional magnetic recording hard drive models]]
             |pmr = [[wikipedia:Perpendicular magnetic recording|Conventional magnetic recording (CMR)]]
             |smr = [[wikipedia:Shingled magnetic recording|SMR]][[Category:Shingled magnetic recording hard drive models]]
             |smr = [[wikipedia:Shingled magnetic recording|Shingled magnetic recording (SMR)]]
             |mamr = [[wikipedia:Microwave-assisted magnetic recording|MAMR]][[Category:Microwave-assisted magnetic recording hard drive models]]
             |mamr = [[wikipedia:Microwave-assisted magnetic recording|Microwave-assisted magnetic recording (MAMR)]]
             |hamr = [[wikipedia:Heat-assisted magnetic recording|HAMR]][[Category:Heat-assisted magnetic recording hard drive models]]
             |hamr = [[wikipedia:Heat-assisted magnetic recording|Heat-assisted magnetic recording (HAMR)]]
             |epmr = ePMR[[Category:Energy perpendicular magnetic recording hard drive models]]
             |epmr = Energy-assisted perpendicular magnetic recording
             |lmr = [[wikipedia:Longitudinal magnetic recording|LMR]][[Category:Longitudinal magnetic recording hard drive models]]
             |lmr = [[wikipedia:Longitudinal magnetic recording|Longitudinal magnetic recording (LMR)]]
             |<error>Unknown recording method "{{{recording_method|}}}" given.</error>[[Category:Hard drive models with unrecognised recording method]]}}</format>
             |<error>Unknown recording technology "{{{recording_method|}}}" given.</error>{{NsCatO|Hard drive product families with unrecognised recording technology|{{{force_cat|}}}}} }}</format>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown recording method]]</includeonly></default>
         </data>
         </data>
         <data source="mttf">
         <data source="mttf">
             <label>[[wikipedia:Mean time to failure|MTTF]]</label>
             <label>[[wikipedia:Mean time to failure|MTTF]]</label>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown MTTF]]</includeonly></default>
         </data>
         </data>
         <data source="max_load_cycles">
         <data source="max_load_cycles">
             <label>Maximum load/unload cycles</label>
             <label>Maximum load/unload cycles</label>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown head count]]</includeonly></default>
         </data>
         </data>
         <data source="unrecoverable_error_rate">
         <data source="unrecoverable_error_rate">
             <label>Unrecoverable error rate</label>
             <label>Unrecoverable error rate</label>
            <default>''Currently under investigation''<includeonly>[[Category:Hard drive models with unknown unrecoverable error rate]]</includeonly></default>
         </data>
         </data>
     </group>
     </group>
Line 77: Line 94:
         <data source="released">
         <data source="released">
             <label>Released</label>
             <label>Released</label>
             <default>''Currently under investigation''<includeonly>[[Category:Hard drive model families with unknown release year]]</includeonly></default>
             <default>''Currently under investigation''{{NsCatO|Hard drive product families with unknown release year|{{{force_cat|}}}}}</default>
         </data>
         </data>
         <data source="discontinued">
         <data source="discontinued">
             <label>Discontinued</label>
             <label>Discontinued</label>
             <default>''In production''</default>
             <default>''In production'' {{#if:{{{in_prod_exceptions|}}}|({{{in_prod_exceptions|}}}{{NsCatO|Hard drive product families that have been partially discontinued|{{{force_cat|}}}}})}}</default>
         </data>
         </data>
     </group>
     </group>
Line 89: Line 106:
             <default>None</default>
             <default>None</default>
         </data>
         </data>
         <data source="discontinued">
         <data source="successor">
             <label>Successor</label>
             <label>Successor</label>
             <default>None</default>
             <default>None</default>
         </data>
         </data>
     </group>
     </group>
</infobox>
</infobox><includeonly>{{NsCatO|Hard drive product families|{{{force_cat|}}}}}<noinclude>
</noinclude>{{#if: {{{discontinued|}}}|{{NsCatO|Hard drive product families that have been discontinued|{{{force_cat|}}}}}|{{NsCatO|Hard drive product families in production|{{{force_cat|}}}}}}}</includeonly><noinclude>{{Documentation}}</noinclude>

Latest revision as of 12:40, 6 December 2022

Template documentation (for the above template, sometimes hidden or invisible)

This infobox is designed for hard drive product families which contain one or more models.

Example usage[edit source]

The following code generates this infobox:

{{infobox hard drive product family
|image1 = TOSHIBA HDWR480 top lid and label view.jpg
|caption1 = Top lid of a HDWR480, an example of an X300 family drive.
|image2 = CrystalDiskInfo prinout - TOSHIBA HDWR480.png
|caption2 = CrystalDiskInfo printout of SMART attributes.
|manufacturer = [[Toshiba]]
|form_factor = 3.5"
|z-height = 26.1
|speed = 7,200
|af = 512e
|scterc = Read: Disabled<br>Write: Disabled
|interface = SATA
|unrecoverable_error_rate = <math>1</math> in <math>10^{14}</math>
|released = 2015<br>For later release years see [[Toshiba X300#History|History]]
|in_prod_exceptions = see [[Toshiba X300#Former models|below section]] for exceptions
|predecessor = [[Toshiba MD04ACA]] (initial base family)
}}

TemplateData[edit source]

Displays information on hard drive product families.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

The title at the top of the infobox. This should not be necessary to set, unless the wiki title must for technical reasons be different to the actual name of the family.

Default
{{PAGENAME}}
Stringoptional
Image 1image1

File name for the first image on the infobox.

Example
TOSHIBA HDWJ110.jpg
Filesuggested
Image caption 1caption1

An image caption to accompany image 1. Also acts as alt text if not explicity provided.

Example
Top down view of the hard drive.
Stringsuggested
Alt text 1alt1

Alt text associated with image 1.

Default
{{{caption1}}}
Stringoptional
Image 2image2

File name for the second image on the infobox.

Example
Toshiba HDWJ110 SMART printout.png
Fileoptional
Image caption 2caption2

An image caption to accompany image 2. Also acts as alt text if not explicitly provided.

Contentoptional
Alt text 2alt2

Alt text associated with image 2.

Default
{{{caption2}}}
Stringoptional
Image 3image3

File name for the third image on the infobox.

Example
Toshiba HDWJ110 SMART printout.png
Fileoptional
Image caption 3caption3

An image caption to accompany image 3. Also acts as alt text if not explicitly provided.

Stringoptional
Alt text 3alt3

Alt text associated with image 3.

Default
{{{caption3}}}
Stringoptional
Manufacturermanufacturer

The company who manufactures or manufactured this hard drive product family.

Example
[[Western Digital]]
Stringrequired
Intended purposepurpose

The purpose that this hard drive family was designed for. Use a predefined option (case insensitive) or make your own. Predefined: desktop, desktop_performance, laptop, nas, stb, surveillance, enterprise, external.

Suggested values
desktop desktop_performance laptop nas stb surveillance enterprise external
Example
desktop_performance
Stringrequired
Form factorform_factor

The form factor of the hard drive model, expressed in inches (as in, 3.5"). This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Suggested values
2.5" 3.5" 5.25"
Example
3.5"
Stringoptional
z-heightz-height

The total z-height of the drive in millimetres. Most useful for 2.5"s, most 3.5"s are 26.1. This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Example
9.5
Numberoptional
Capacitycapacity

The total capacity of the hard drive model. Do not include units, and do not use binary capacities (such as 236 instead of 256). This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Example
500
Numberoptional
Capacity unitcapacity_unit

The two- or three- letter acronym for the capacity's unit. Case insensitive. Accepts all parameters that Template:Cache unit accepts. This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Example
gb
Stringoptional
Rotation speedspeed

The speed that the hard drive platters rotate at. This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Example
5,400
Numberoptional
Cachecache

The amount of cache RAM the hard drive contains. This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Example
64
Numberoptional
Cache unitcache_unit

The two- or three- letter acronym for the cache capacity's unit. Case insensitive. Accepts all parameters that Template:Cache unit accepts. This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Example
mb
Stringoptional
Advanced Format statusaf

Whether the hard drive supports Advanced Format, and if so, what type it supports (512e, or 4Kn). This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Example
No
Stringoptional
Maximum sustained transfer ratemax_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. This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Example
180
Numberoptional
Recording methodrecording_method

The three, four or similar acronym for the recording. Case insensitive. This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Suggested values
cmr lmr
Example
cmr
Stringsuggested
Maximum load/unload cyclesmax_load_cycles

Maximum load/unload cycle count published by the manufacture. Specify "N/A" if this is a contact start-stop HDD. This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Example
600,000
Numberoptional
Unrecoverable error rateunrecoverable_error_rate

Unrecoverable error rate specified by the manufacturer. Use math when possible. This parameter, like all other Common specifications parameters, must only be specified if it remains exactly the same across all models.

Example
<math>1</math> in <math>10^14</math>
Auto value
<math>1</math> in <math>10^14</math>
Contentoptional
Date releasedreleased

The year (add more precision if desired/known) the hard drive model was released.

Example
2012
Daterequired
Date discontinueddiscontinued

The year (add more precision if desired/known) the model was discontinued.

Example
2017
Dateoptional
In production exception(s)in_prod_exceptions

Description of models that have been discontinued from an otherwise in production product family. Can list an individual model, or a link to a subsection.

Example
except [[TOSHIBA HDWT150|HDWT150]]
Contentoptional
Predecessorpredecessor

The family (families) that preceded this one.

Example
[[Seagate Barracuda 7200.7]]
Page namesuggested
Successorsuccessor

The family (families) that succeeded this one.

Example
[[Seagate Barracuda 7200.9]]
Page namesuggested
Force categorisationforce_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.

Suggested values
-1 0 1
Example
-1
Numberoptional

Cookies help us deliver our services. By using our services, you agree to our use of cookies.