Template:Credits/doc: Difference between revisions
From VRChat Wiki
Add "value" parameter. Move description to TemplateData. |
mNo edit summary |
||
| Line 15: | Line 15: | ||
"default": "16" | "default": "16" | ||
}, | }, | ||
" | "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", | ||
" | "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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Size (in pixels) | 1 | Defaults to 16px
| Number | optional |
| Value | 2 | Value displayed next to the icon, so it can be used as a currency. Line break between the icon and text is prevented.
| String | optional |