Template:Capacity unit/doc: Difference between revisions
From Australian Enthusiasts Wiki
No edit summary |
TemplateData changes |
||
| 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 10:41, 15 August 2021
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 |