Template:SMART attributes/doc: Difference between revisions

From Australian Enthusiasts Wiki
Created page with "This template accepts any SMART attribute, whether hexadecimal or decimal. To use it, write either: *Hexadecimal: Prefix with 0xNN. For example, {{tlx|SMART attributes|2=0x01..."
 
No edit summary
Line 2: Line 2:


To use it, write either:
To use it, write either:
*Hexadecimal: Prefix with 0xNN. For example, {{tlx|SMART attributes|2=0x01 = Read Error Rate}}.
*Hexadecimal: Prefix with 0xNN. For example, {{tlx|SMART attributes|2=0x01 = Read Error Rate}}. Only attributes up to 0xFE are checked.
*Decimal: No prefix required. For example, {{tlx|SMART attributes|22 = Helium Condition Lower}}. Only attributes up to 254 are checked.
*Decimal: No prefix required. For example, {{tlx|SMART attributes|2=22 = Helium Condition Lower}}. Only attributes up to 254 are checked.
<templatedata>
{
"params": {},
"description": "Displays each SMART attribute, and their names.",
"format": "block"
}
</templatedata>

Revision as of 17:30, 18 January 2022

This template accepts any SMART attribute, whether hexadecimal or decimal.

To use it, write either:

  • Hexadecimal: Prefix with 0xNN. For example, {{SMART attributes|0x01 = Read Error Rate}}. Only attributes up to 0xFE are checked.
  • Decimal: No prefix required. For example, {{SMART attributes|22 = Helium Condition Lower}}. Only attributes up to 254 are checked.

Displays each SMART attribute, and their names.

Template parameters

This template prefers block formatting of parameters.

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