Template:Key: Difference between revisions
From VRChat Wiki
m Reverted edits by Usr 578aa632-439b-4c41-9266-776323ba9ad2 (talk) to last revision by Weisz Tag: Rollback |
move docs and template categories to doc page |
||
| Line 16: | Line 16: | ||
</span> | </span> | ||
}} | }} | ||
<noinclude> | <noinclude> | ||
{{Documentation}} | |||
</noinclude> | </noinclude> | ||
Latest revision as of 04:48, 21 April 2026
{{{1}}}
Documentation
Displays keybinds as rectangle or circle buttons.
Example Usage
{{Key|Ctrl|Control|rect}} will make:
Ctrl
{{Key|A|A|circle}} will make:
A
Template parameters
| Name | Variable | Description |
|---|---|---|
| Text | 1 |
The text to display inside the button |
| Hover-Text | 2 |
(Optional) the full name of the button to show when hovered (defaults to parameter 1) |
| Shape | 3 |
(Optional) shape of the button. rect/circle (defaults to rect) |
For displaying a keybind as a rectangle or circle
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Text | 1 | The text to display inside the button
| String | required |
| Hover-text | 2 | (Optional) the full name of the button to show when hovered (defaults to whatever Text is set to)
| String | suggested |
| Shape | 3 | (Optional) shape of the button. rect/circle (defaults to rect)
| String | suggested |