Template:Performance/doc: Difference between revisions
From VRChat Wiki
m Reverted edits by Usr 578aa632-439b-4c41-9266-776323ba9ad2 (talk) to last revision by dorktoast Tag: Rollback |
add categories |
||
| (One intermediate revision by one other user not shown) | |||
| Line 8: | Line 8: | ||
=== Template parameters === | === Template parameters === | ||
{ | <templatedata> | ||
{ | |||
"params": { | |||
"1": { | |||
"label": "Performance Ranking", | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"excellent", | |||
"good", | |||
<noinclude>[[Category:Template | "medium", | ||
"poor", | |||
"verypoor" | |||
], | |||
"default": "medium", | |||
"suggested": true, | |||
"description": "What performance rank icon you want displayed", | |||
"example": "excellent" | |||
}, | |||
"2": { | |||
"label": "Icon size (in pixels)", | |||
"description": "Changes the size of the icon in pixels.", | |||
"type": "number", | |||
"suggestedvalues": [ | |||
"16", | |||
"32", | |||
"64", | |||
"128" | |||
], | |||
"default": "32", | |||
"suggested": true | |||
} | |||
}, | |||
"paramOrder": [ | |||
"1", | |||
"2" | |||
], | |||
"format": "inline", | |||
"description": "Performance ranking icon" | |||
} | |||
</templatedata> | |||
<includeonly>[[Category:Inline templates{{#translation:}}]]</includeonly> | |||
<noinclude>[[Category:Template documentation{{#translation:}}]]</noinclude> | |||
Latest revision as of 04:19, 21 April 2026
Documentation
Allows for the usage of performance icons.
Example Usage
{{performance|excellent|64px}}
will make:
Template parameters
Performance ranking icon
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Performance Ranking | 1 | What performance rank icon you want displayed
| String | suggested |
| Icon size (in pixels) | 2 | Changes the size of the icon in pixels.
| Number | suggested |