Template:Infobox Marvell family: Difference between revisions

From Computing Classics Wiki
No edit summary
m 24 revisions imported: All kinds of templates for CCW to emulate AEW's old hard drive stock
 
(21 intermediate revisions by the same user not shown)
Line 10: Line 10:
     </image>
     </image>
     <group>
     <group>
        <data source="c5_name">
            <label><span class="explain" title="The name of this family in module C5 (usually in uppercase) as well as on the Western Digital Warranty Status checker.">Module C5 name</span></label>
            <default>{{uc:{{{title|{{PAGENAME}} }}}}}</default>
        </data>
        <data source="namesake">
            <label>Namesake</label>
            <default>Unknown</default>
        </data >
        <data source="rn">
            <label>R/N</label>
            <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families with unknown RN]]</includeonly></default>
        </data>
         <data source="form_factor">
         <data source="form_factor">
             <label>Form factor</label>
             <label>Form factor</label>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvel families with unknown form factor]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families 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:Western Digital Marvel families with unknown z-height]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families with unknown z-height]]</includeonly></default>
         </data>
         </data>
     </group>
     </group>
Line 23: Line 35:
         <data source="speed">
         <data source="speed">
             <label>Speed ([[wikipedia:Revolutions per minute|RPM]])</label>
             <label>Speed ([[wikipedia:Revolutions per minute|RPM]])</label>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvel families with unknown speed]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families 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:Western Digital Marvel families with unknown cache]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families 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:Western Digital Marvel families with unknown Advanced Format status]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families 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>Maximum transfer speed (MB/s)</label>
            <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvel families with unknown maxiumum transfer speed]]</includeonly></default>
           <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families with unknown maximum transfer speed]]</includeonly></default>
         </data>
         </data>
     </group>
     </group>
Line 43: Line 55:
         <data source="interface">
         <data source="interface">
             <label>Interface(s)</label>
             <label>Interface(s)</label>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvel families with unknown interface]]</includeonly></default>
            <format>{{#switch: {{lc: {{{interface|}}} }}
                    |sata = [[wikipedia:Serial ATA|SATA]]
                    |pata = [[wikipedia:Parallel ATA|PATA/IDE]]
                    |ide = [[wikipedia:Parallel ATA|PATA/IDE]]
                    |scsi = [[wikipedia:SCSI|]]
                    |sas = [[wikipedia:Serial Attached SCSI|SAS]]
                    |usb = <span class="explain" title="A USB interface is soldered to the drive and it cannot be powered using normal SATA or IDE connectors">Soldered [[wikipedia:Universal Serial Bus|USB]]</span>
                    |{{{interface|}}}
                    }}</format>
             <default>''Currently under investigation''{{NsCatO|Western Digital Marvell families with unknown interface|{{{force_cat|}}}}}</default>
         </data>
         </data>
         <data source="interface_version">
         <data source="interface_version">
             <label>Interface version(s)</label>
             <label>Interface version(s)</label>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvel families with unknown interface version]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families with unknown interface version]]</includeonly></default>
         </data>
         </data>
     </group>
     </group>
Line 54: Line 75:
         <data source="platters">
         <data source="platters">
             <label>Maximum platters</label>
             <label>Maximum platters</label>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvel families with unknown platter count]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families with unknown platter count]]</includeonly></default>
         </data>
         </data>
         <data source="capacity_per_platter">
         <data source="capacity_per_platter">
             <label><span class="explain" title="The capacity that each individual platter in the drive can store.">Capacity per platter</span></label>
             <label><span class="explain" title="The capacity that each individual platter in the drive can store.">Capacity per platter</span></label>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvel families with unknown capacity per platter]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families with unknown capacity per platter]]</includeonly></default>
             <format>{{{capacity_per_platter}}} {{Capacity unit|{{{capacity_per_platter_unit|(None)}}} }}</format>
             <format>{{{capacity_per_platter}}} {{Capacity unit|{{{capacity_per_platter_unit|(None)}}} }}</format>
         </data>
         </data>
Line 64: Line 85:
             <label>Recording method</label>
             <label>Recording method</label>
             <format>{{#switch: {{lc:{{{recording_method|}}} }}
             <format>{{#switch: {{lc:{{{recording_method|}}} }}
             |cmr = [[wikipedia:Perpendicular magnetic recording|CMR]][[Category:Conventional magnetic recording Western Digital Marvel families]]
             |cmr = [[wikipedia:Perpendicular magnetic recording|CMR]][[Category:Conventional magnetic recording Western Digital Marvell families]]
             |pmr = [[wikipedia:Perpendicular magnetic recording|CMR]][[Category:Conventional magnetic recording Western Digital Marvel families]]
             |pmr = [[wikipedia:Perpendicular magnetic recording|CMR]][[Category:Conventional magnetic recording Western Digital Marvell families]]
             |smr = [[wikipedia:Shingled magnetic recording|SMR]][[Category:Shingled magnetic recording Western Digital Marvel families]]
             |smr = [[wikipedia:Shingled magnetic recording|SMR]][[Category:Shingled magnetic recording Western Digital Marvell families]]
             |mamr = [[wikipedia:Microwave-assisted magnetic recording|MAMR]][[Category:Microwave-assisted magnetic recording Western Digital Marvel families]]
             |mamr = [[wikipedia:Microwave-assisted magnetic recording|MAMR]][[Category:Microwave-assisted magnetic recording Western Digital Marvell families]]
             |hamr = [[wikipedia:Heat-assisted magnetic recording|HAMR]][[Category:Heat-assisted magnetic recording Western Digital Marvel families]]
             |hamr = [[wikipedia:Heat-assisted magnetic recording|HAMR]][[Category:Heat-assisted magnetic recording Western Digital Marvell families]]
             |epmr = ePMR[[Category:Energy perpendicular magnetic recording Western Digital Marvel families]]
             |epmr = ePMR[[Category:Energy perpendicular magnetic recording Western Digital Marvell families]]
             |lmr = [[wikipedia:Longitudinal magnetic recording|LMR]][[Category:Longitudinal magnetic recording Western Digital Marvel families]]
             |lmr = [[wikipedia:Longitudinal magnetic recording|LMR]][[Category:Longitudinal magnetic recording Western Digital Marvell families]]
             |<error>Unknown recording method "{{{recording_method|}}}" given.</error>[[Category:Western Digital Marvel families with unrecognised recording method]]}}</format>
             |<error>Unknown recording method "{{{recording_method|}}}" given.</error>[[Category:Western Digital Marvell families with unrecognised recording method]]}}</format>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvel families with unknown recording method]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families with unknown recording method]]</includeonly></default>
        </data>
        <data source="mcu">
           <label><span class="explain" title="Microcontroller Unit">MCU</span> model number</label>
            <default><noinclude>88i-XXXXXX</noinclude></default>
        </data>
        <data source="cross_compat">
           <label><span class="explain" title="Families which are roughly compatible for head and/or PCB swaps between it and this family. This information is provided as a convenience for general reading, not for data recovery purposes. Do not rely on families listed here without corroborating their compatibility with a data recovery technician.">Cross-compatible families</span></label>
            <default>None</default>
         </data>
         </data>
     </group>
     </group>
Line 79: Line 108:
         <data source="released">
         <data source="released">
             <label>First released</label>
             <label>First released</label>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvel families with unknown release year]]</includeonly></default>
             <default>''Currently under investigation''<includeonly>[[Category:Western Digital Marvell families with unknown release year]]</includeonly></default>
         </data>
         </data>
         <data source="discontinued">
         <data source="discontinued">
Line 86: Line 115:
         </data>
         </data>
     </group>
     </group>
</infobox><includeonly>[[Category:Western Digital Marvel families]]{{#if:{{{{form_factor|}}}|{{#switch: {{lc:{{{form_factor}}} }}
    <group layout="horizontal">
             |2.5" = [[Category:2.5" form factor Western Digital Marvel families]]
        <data source="predecessor">
             |2.5 = [[Category:2.5" form factor Western Digital Marvel families]]
            <label>Predecessor</label>
             |3.5" = [[Category:3.5" form factor Western Digital Marvel families]]
        </data>
             |3.5 = [[Category:3.5" form factor Western Digital Marvel families]]
        <data source="successor">
             |1.8" = [[Category:1.8" form factor Western Digital Marvel families]]
            <label>Successor</label>
             |1.8" = [[Category:1.8" form factor Western Digital Marvel families]]
        </data>
             |1.5 = [[Category:1.5" form factor Western Digital Marvel families]]
    </group>
             |1.5" = [[Category:1.5" form factor Western Digital Marvel families]]
    <group layout="horizontal">
             |micro = [[Category:Microdrive Western Digital Marvel families]]
        <data source="capacity_predecessor">
             |microdrive = [[Category:Microdrive Western Digital Marvel families]]
            <label>Capacity predecessor</label>
             |[[Category:Western Digital Marvel families with unrecognised form factor]]}}<noinclude>
            <default>None</default>
</noinclude>}}{{#if:{{{{speed|}}}|[[Category:{{formatnum:{{{speed}}}}} RPM Western Digital Marvel families]]}}<noinclude>
        </data>
</noinclude></includeonly><noinclude>{{Documentation}}<templatedata>
        <data source="capacity_successor">
{
            <label>Capacity successor</label>
"params": {
            <default>None</default>
"recording_method": {
        </data>
"label": "Recording method",
    </group>
"description": "The three, four or similar acronym for the recording. Case insensitive.",
    <group layout="horizontal">
"example": "cmr",
        <data source="hda_predecessor">
"type": "string",
            <label>HDA predecessor</label>
"suggested": true
            <default>None</default>
},
        </data>
"image1": {
        <data source="hda_successor">
"label": "Image 1",
            <label>HDA successor</label>
"description": "File name for the first image on the infobox.",
            <default>None</default>
"example": "TOSHIBA HDWJ110.jpg",
        </data>
"type": "wiki-file-name",
    </group>
"suggested": true
</infobox>{{#invoke:check for deprecated parameters|check
},
|category=[[Category:Western Digital Marvell families using deprecated predecessor or successor parameters|_VALUE_]]
"caption1": {
| predecessor = hda_predecessor
"label": "Image caption 1",
| successor = hda_successor
"description": "An image caption to accompany image 1. Also acts as alt text if not explicity provided.",
}}<includeonly>[[Category:Western Digital Marvell families|{{{title|{{PAGENAME}}}}}]]{{#if:{{{{form_factor|}}}|{{#switch: {{lc:{{{form_factor}}} }}
"example": "Top down view of the hard drive.",
             |2.5" = [[Category:2.5" form factor Western Digital Marvell families]]
"type": "content",
             |2.5 = [[Category:2.5" form factor Western Digital Marvell families]]
"suggested": true
             |3.5" = [[Category:3.5" form factor Western Digital Marvell families]]
},
             |3.5 = [[Category:3.5" form factor Western Digital Marvell families]]
"image_2": {
             |1.8" = [[Category:1.8" form factor Western Digital Marvell families]]
"label": "Image 2",
             |1.8 = [[Category:1.8" form factor Western Digital Marvell families]]
"description": "File name for the second image on the infobox.",
             |1.5" = [[Category:1.5" form factor Western Digital Marvell families]]
"example": "Toshiba HDWJ110 SMART printout.png",
             |1.5 = [[Category:1.5" form factor Western Digital Marvell families]]
"type": "wiki-file-name"
             |micro = [[Category:Microdrive Western Digital Marvell families]]
},
             |microdrive = [[Category:Microdrive Western Digital Marvell families]]
"caption2": {
             |[[Category:Western Digital Marvell families with unrecognised form factor]]}}<noinclude>
"label": "Image caption 2",
</noinclude>}}{{#if:{{{{speed|}}}|[[Category:{{formatnum:{{{speed}}}}} RPM Western Digital Marvell families]]}}<noinclude>
"description": "An image caption to accompany image 2. Also acts as alt text if not explicitly provided.",
</noinclude></includeonly><noinclude>{{Clear}}{{Documentation}}</noinclude>
"type": "content"
},
"platters": {
"label": "Platter count",
"description": "Number of known platters in a hard drive model.",
"example": "7",
"type": "number",
"suggested": true
},
"interface": {
"label": "Interface",
"description": "The acronym for the interface in use (pata, sata, scsi, sas). Case insensitive.",
"example": "sata",
"type": "string",
"suggested": true
},
"form_factor": {
"label": "Form factor",
"description": "The form factor of the hard drive model, expressed in inches (as in, 3.5\").",
"example": "3.5\"",
"required": true
},
"cache": {
"label": "Cache",
"description": "The amount of cache RAM the hard drive contains.",
"example": "64",
"type": "number",
"suggested": true
},
"cache_unit": {
"label": "Cache unit acronym",
"description": "The two letter acronym for the cache capacity's unit. Case insensitive. Do not use binary units.",
"example": "mb",
"suggested": true
},
"capacity_per_platter": {
"label": "Capacity per platter",
"description": "The amount of capacity stored on each platter.",
"example": "1.43",
"suggested": true
},
"capacity_per_platter_unit": {
"label": "Capacity per platter unit acronym",
"description": "The two letter acronym for the capacity's unit. Case insensitive. Do not use binary units.",
"example": "tb",
"type": "string",
"suggested": true
},
"speed": {
"label": "Rotation speed",
"description": "The speed that the hard drive platters rotate at.",
"example": " 5,400",
"suggested": true
},
"af": {
"label": "Advanced Format status",
"description": "Whether the hard drive supports Advanced Format, and if so, what type it supports (512e, or 4Kn)",
"example": "No",
"type": "string",
"suggested": true
},
"released": {
"label": "Date released",
"description": "The year (add more precision if desired) the hard drive model was released.",
"example": "2012",
"type": "number",
"suggested": true
},
"discontinued": {
"label": "Date discontinued",
"description": "The date the model was discontinued.",
"example": "2017",
"type": "number"
},
"max_transfer": {
"label": "Maximum transfer rate",
"description": "The maximum specified transfer rate, in MB/s.",
"example": "180",
"type": "number",
"suggested": true
},
"z-height": {
"label": "z-height",
"description": "The total z-height of the drive in millimetres. Most useful for 2.5\"s, most 3.5\"s are 26.1.",
"example": "9.5",
"type": "number",
"suggested": true
}
},
"description": "Displays information on hard drive models.",
"format": "block",
"paramOrder": [
"image1",
"caption1",
"image_2",
"caption2",
"form_factor",
"z-height",
"speed",
"cache",
"cache_unit",
"af",
"max_transfer",
"interface",
"platters",
"capacity_per_platter",
"capacity_per_platter_unit",
"recording_method",
"released",
"discontinued"
]
}
</templatedata></noinclude>

Latest revision as of 06:13, 24 September 2024

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

This template is designed to be used on Western Digital Marvell family pages or categories. Unlike the public facing WD families (Western Digital Blue Desktop, Western Digital Internal Use and similar), a Marvell family defines more technical details (such as max platters and capacity per platter) and can be shared across the aforementioned public families (e.g. Diablo3s has models in the Blue, Green, Purple, AV-GP and Red families).

TemplateData[edit source]

Displays information on a Western Digital Marvell family.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Titletitle

The title of the infobox.

Default
{{BASEPAGENAME}}
Example
Diablo3s
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 explicitly provided.

Example
Top down view of the hard drive.
Contentsuggested
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
Module C5 namec5_name

The name of this family as seen in Module C5 or the WD Warranty Checker. Usually in all caps, so the infobox usually generates its own, though if the family has spaces, those are not present in the C5 name.

Example
SPYG2
Stringoptional
Namesakenamesake

Possible namesake for this family. While official confirmation from Western Digital is and will likely remain unavailable, one can make a best-effort guess.

Example
[[wikipedia:Lake Tahoe|]], Nevada
Unbalanced wikitextsuggested
Form factorform_factor

The form factor of the hard drive model, expressed in inches (as in, 3.5").

Example
3.5"
Unknownrequired
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.

Example
9.5
Numbersuggested
Rotation speedspeed

The speed that the hard drive platters rotate at.

Example
5,400
Unknownsuggested
Cachecache

The amount of cache RAM the hard drive contains.

Example
64
Numbersuggested
Cache unit acronymcache_unit

The two letter acronym for the cache capacity's unit. Case insensitive. Do not use binary units.

Example
mb
Unknownsuggested
Advanced Format statusaf

Whether the hard drive supports Advanced Format, and if so, what type it supports (512e, or 4Kn)

Example
No
Stringsuggested
Maximum transfer ratemax_transfer

The maximum specified transfer rate, in MB/s.

Example
180
Numbersuggested
Interfaceinterface

The acronym for the interface in use (pata, sata, scsi, sas). Case insensitive.

Example
sata
Stringsuggested
Platter countplatters

The maximum amount of platters this family can ever have. For example, TrailXLB can only ever have one platter, while Diablo3s can have any platter count up to three.

Example
7
Numbersuggested
Capacity per plattercapacity_per_platter

The amount of capacity stored on each platter.

Example
1.43
Unknownsuggested
Capacity per platter unit acronymcapacity_per_platter_unit

The two letter acronym for the capacity's unit. Case insensitive. Do not use binary units.

Example
tb
Stringsuggested
Recording methodrecording_method

The three, four or similar acronym for the recording. Case insensitive.

Example
cmr
Stringsuggested
Cross-compatible familiescross_compat

Families which are roughly compatible for head and/or PCB swaps between it and this family.

Default
None
Example
Marn5 4K and Zephyr
Stringoptional
Date releasedreleased

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

Example
2012
Numbersuggested
Date discontinueddiscontinued

The date the model was discontinued.

Example
2017
Numberoptional
Predecessorpredecessor

The Marvell family that preceded this family (fulfilled similar duties)

Example
[[:Category:Western Digital Marvell Mercury|Mercury]]
Unknownsuggested
Successorsuccessor

The Marvell family that succeeded this family (took over similar duties)

Example
[[:Category:Western Digital Marvell Diablo3s|Diablo3s]]
Unknownoptional

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