Template:Capacity unit/doc: Difference between revisions

From Australian Enthusiasts 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...."
 
TemplateData changes
 
(One intermediate revision 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 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.