More languages
More actions
No edit summary |
No edit summary |
||
Line 15: | Line 15: | ||
"type": "string", | "type": "string", | ||
"default": "center" | "default": "center" | ||
}, | |||
"text": { | |||
"description": "The text you want the button to display", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"link": { | |||
"description": "The URL where you want the button to link", | |||
"type": "string", | |||
"required": true | |||
}, | |||
"color": { | |||
"description": "Choose between red, green, blue, or yellow (default: red)", | |||
"type": "string", | |||
"default": "red" | |||
}, | }, | ||
"top": { | "top": { | ||
Line 26: | Line 41: | ||
"default": "0" | "default": "0" | ||
}, | }, | ||
"width": { | |||
"description": "Specify button width. Expressed in percentage points. Recommended: 20%.", | |||
"type": "number", | |||
"default": "20" | |||
} | |||
} | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> |
Revision as of 15:43, 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 |
text | text | The text you want the button to display | String | required |
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 |
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 |
width | width | Specify button width. Expressed in percentage points. Recommended: 20%.
| Number | optional |