Template:Capacity unit/doc: Difference between revisions
From Computing Classics Wiki
Created page with " <templatedata> { "params": { "1": { "label": "Capacity unit string", "description": "Displays a capacity unit based on the value of this parameter. Case insensitive...." |
m 3 revisions imported: All kinds of templates for CCW to emulate AEW's old hard drive stock |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
This template displays a capacity unit, along with a wikilink to a relevant [[wikipedia:Wikipedia|Wikipedia]] article. | |||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 5: | Line 5: | ||
"1": { | "1": { | ||
"label": "Capacity unit string", | "label": "Capacity unit string", | ||
"description": "Displays a capacity unit based on the value of this parameter. Case insensitive. Accepts: bytes, kb, mb, gb, tb, pb, eb.", | "description": "Displays a capacity unit based on the value of this parameter. Case insensitive. Accepts: bytes, b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib.", | ||
"example": "tb", | "example": "tb", | ||
"required": true | "required": true | ||
} | } | ||
}, | }, | ||
"description": "Displays a capacity unit given an input." | "description": "Displays a capacity unit given an input.", | ||
"format": "inline" | |||
} | } | ||
</templatedata> | </templatedata> | ||
Latest revision as of 06:13, 24 September 2024
This template displays a capacity unit, along with a wikilink to a relevant Wikipedia article.
Displays a capacity unit given an input.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Capacity unit string | 1 | Displays a capacity unit based on the value of this parameter. Case insensitive. Accepts: bytes, b, kb, kib, mb, mib, gb, gib, tb, tib, pb, pib, eb, eib.
| Unknown | required |