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 |
||
| (One intermediate revision by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | |||
{{Lua|Module:SMART attributes}} | |||
This template accepts any SMART attribute, whether hexadecimal or decimal. | This template accepts any SMART attribute, whether hexadecimal or decimal. | ||
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> | |||
Latest revision as of 08:50, 30 January 2022
| This is a documentation subpage for Template:SMART attributes. It contains usage information, categories and other content that is not part of the original template page. |
| File:Lua-Logo.svg | This template uses Lua: |
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.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||