Template:Capacity unit/doc: Difference between revisions

From Computing Classics 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>

Revision as of 00: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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Capacity unit string1

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
Unknownrequired
Cookies help us deliver our services. By using our services, you agree to our use of cookies.