More languages
More actions
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
<div class="tpl-button-{{{align|center}}}" style="margin-top:{{{top|0}}}px; margin-bottom:{{{bottom|0}}}px;"> | <div class="tpl-button-{{{align|center}}}" style="margin-top:{{{top|0}}}px; margin-bottom:{{{bottom|0}}}px;"> | ||
<div class="tpl-button tpl-button-{{{color|red}}}"> | <div class="tpl-button tpl-button-{{{color|red}}}" style="width:{{{width|20}}%"> | ||
[[{{{link}}}|{{{text}}}]] | [[{{{link}}}|{{{text}}}]] | ||
</div> | </div> |
Revision as of 15:40, 2 October 2023
No description.
Parameter | Description | Type | Status | |
---|---|---|---|---|
align | align | Choose left, center or right. Always full-width on mobile. Defaults as center.
| String | optional |
top | top | Create empty space above the button (in pixels, integer only)
| Number | optional |
bottom | bottom | Create empty space below the button (in pixels, integer only)
| Number | optional |
link | link | The URL where you want the button to link | String | required |
color | color | Choose between red, green, blue, or yellow (default: red)
| String | optional |
text | text | The text you want the button to display | String | required |