Template:Button: Difference between revisions
From Space Station 14 Wiki
(remove from unfinished, moved to button templates) |
(added padding based on the corner size) |
||
Line 5: | Line 5: | ||
--><kbd class="template-button" style=" | --><kbd class="template-button" style=" | ||
padding: .2em max(.2em, {{#var:button_bg_clip_pixels}}px); | |||
clip-path: polygon( | clip-path: polygon( | ||
0 0, | 0 0, |
Revision as of 22:49, 18 August 2024
Uses template styles
This template uses template styles found in:
Examples
{{button
↓
Server List
Theming
Not implemented yet.
Button state
Normal
The default.
Pressed
{{button
↓
EnabledFor representing a keyboard or other buttons.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Key | 1 | Select from the list, or use your own.
| Line | required |
Theme | 2 | Theme of the button. Any casing is allowed, including lowercase.
| Line | suggested |