Template:Infobox Marvell family: Difference between revisions

From Australian Enthusiasts Wiki
m TheDragonFire123 moved page Template:Infobox Marvel family to Template:Infobox Marvell family: Text replacement - "Marvel " to "Marvell "
For some reason Special:ReplaceText didn't do this
Line 16: Line 16:
         <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 27: Line 27:
         <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 maximum 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 56: Line 56:
                     |{{{interface|}}}
                     |{{{interface|}}}
                     }}</format>
                     }}</format>
             <default>''Currently under investigation''{{NsCatO|Western Digital Marvel families with unknown interface|{{{force_cat|}}}}}</default>
             <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 67: Line 67:
         <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 77: Line 77:
             <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>
     </group>
     </group>
Line 92: Line 92:
         <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 109: Line 109:
         </data>
         </data>
     </group>
     </group>
</infobox><includeonly>[[Category:Western Digital Marvel families|{{{title|{{PAGENAME}}}}}]]{{#if:{{{{form_factor|}}}|{{#switch: {{lc:{{{form_factor}}} }}
</infobox><includeonly>[[Category:Western Digital Marvell families|{{{title|{{PAGENAME}}}}}]]{{#if:{{{{form_factor|}}}|{{#switch: {{lc:{{{form_factor}}} }}
             |2.5" = [[Category:2.5" form factor Western Digital Marvel families]]
             |2.5" = [[Category:2.5" form factor Western Digital Marvell families]]
             |2.5 = [[Category:2.5" form factor Western Digital Marvel families]]
             |2.5 = [[Category:2.5" form factor Western Digital Marvell families]]
             |3.5" = [[Category:3.5" form factor Western Digital Marvel families]]
             |3.5" = [[Category:3.5" form factor Western Digital Marvell families]]
             |3.5 = [[Category:3.5" form factor Western Digital Marvel families]]
             |3.5 = [[Category:3.5" form factor Western Digital Marvell families]]
             |1.8" = [[Category:1.8" form factor Western Digital Marvel families]]
             |1.8" = [[Category:1.8" form factor Western Digital Marvell families]]
             |1.8 = [[Category:1.8" form factor Western Digital Marvel families]]
             |1.8 = [[Category:1.8" form factor Western Digital Marvell families]]
             |1.5" = [[Category:1.5" form factor Western Digital Marvel families]]
             |1.5" = [[Category:1.5" form factor Western Digital Marvell families]]
             |1.5 = [[Category:1.5" form factor Western Digital Marvel families]]
             |1.5 = [[Category:1.5" form factor Western Digital Marvell families]]
             |micro = [[Category:Microdrive Western Digital Marvel families]]
             |micro = [[Category:Microdrive Western Digital Marvell families]]
             |microdrive = [[Category:Microdrive Western Digital Marvel families]]
             |microdrive = [[Category:Microdrive Western Digital Marvell families]]
             |[[Category:Western Digital Marvel families with unrecognised form factor]]}}<noinclude>
             |[[Category:Western Digital Marvell families with unrecognised form factor]]}}<noinclude>
</noinclude>}}{{#if:{{{{speed|}}}|[[Category:{{formatnum:{{{speed}}}}} RPM Western Digital Marvel families]]}}<noinclude>
</noinclude>}}{{#if:{{{{speed|}}}|[[Category:{{formatnum:{{{speed}}}}} RPM Western Digital Marvell families]]}}<noinclude>
</noinclude></includeonly><noinclude>{{Clear}}{{Documentation}}</noinclude>
</noinclude></includeonly><noinclude>{{Clear}}{{Documentation}}</noinclude>

Revision as of 13:21, 23 September 2021

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

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.