Template:Credits/doc: Difference between revisions

From VRChat Wiki
Patroll (talk | contribs)
Add "value" parameter. Move description to TemplateData.
Patroll (talk | contribs)
mNo edit summary
Line 15: Line 15:
"default": "16"
"default": "16"
},
},
"value": {
"2": {
"label": "Value",
"label": "Value",
"description": "Value displayed next to the icon, so it can be used as a currency. Line break between the icon and text is prevented.",
"description": "Value displayed next to the icon, so it can be used as a currency. Line break between the icon and text is prevented.",
Line 26: Line 26:
"paramOrder": [
"paramOrder": [
"1",
"1",
"value"
"2"
]
]
}
}
</templatedata>
</templatedata>

Revision as of 10:42, 11 April 2025

Allows for the credits icon to be utilized in-line, as well as using it as a currency and displaying a value next to without any line breaking.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Size (in pixels)1

Defaults to 16px

Suggested values
16 32 64 128
Default
16
Numberoptional
Value2

Value displayed next to the icon, so it can be used as a currency. Line break between the icon and text is prevented.

Example
420
Stringoptional