Template:Infobox hard drive product family: Difference between revisions

From Computing Classics Wiki
Add infobox designed for HDD families
 
Remove categorisation for defaults
Line 19: Line 19:
         <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>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>Maximum transfer speed (MB/s)</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 method</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|CMR]]
             |pmr = [[wikipedia:Perpendicular magnetic recording|CMR]][[Category:Conventional magnetic recording hard drive models]]
             |pmr = [[wikipedia:Perpendicular magnetic recording|CMR]]
             |smr = [[wikipedia:Shingled magnetic recording|SMR]][[Category:Shingled magnetic recording hard drive models]]
             |smr = [[wikipedia: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|MAMR]]
             |hamr = [[wikipedia:Heat-assisted magnetic recording|HAMR]][[Category:Heat-assisted magnetic recording hard drive models]]
             |hamr = [[wikipedia:Heat-assisted magnetic recording|HAMR]]]
             |epmr = ePMR[[Category:Energy perpendicular magnetic recording hard drive models]]
             |epmr = ePMR
             |lmr = [[wikipedia:Longitudinal magnetic recording|LMR]][[Category:Longitudinal magnetic recording hard drive models]]
             |lmr = [[wikipedia:Longitudinal magnetic recording|LMR]]
             |<error>Unknown recording method "{{{recording_method|}}}" given.</error>[[Category:Hard drive models with unrecognised recording method]]}}</format>
             |<error>Unknown recording method "{{{recording_method|}}}" given.</error>[[Category:Hard drive model families with unrecognised recording method]]}}</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 94: Line 83:
         </data>
         </data>
     </group>
     </group>
</infobox>
</infobox><noinclude>{{Documentation}}</noinclude>

Revision as of 10:09, 8 March 2021

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

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