Template:Card: Difference between revisions
No edit summary |
No edit summary |
||
| Line 33: | Line 33: | ||
"description": "The title for the card", | "description": "The title for the card", | ||
"type": "string" | "type": "string" | ||
}, | |||
"withBorder": { | |||
"type": "boolean", | |||
"default": "true" | |||
}, | |||
"href": { | |||
"aliases": [ | |||
"link", | |||
"Href", | |||
"Link", | |||
"linkTo" | |||
], | |||
"type": "url" | |||
}, | |||
"orientation": { | |||
"aliases": [ | |||
"Orientation", | |||
"layout", | |||
"Layout" | |||
], | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"horizontal", | |||
"vertical" | |||
] | |||
}, | |||
"icon": { | |||
"aliases": [ | |||
"Icon" | |||
], | |||
"type": "string", | |||
"suggestedvalues": [ | |||
"academic-cap", | |||
"star", | |||
"command-line", | |||
"pencil", | |||
"gift", | |||
"bank-notes", | |||
"bolt", | |||
"cake", | |||
"calendar", | |||
"computer-desktop", | |||
"device-phone-mobile", | |||
"envelope-open", | |||
"key", | |||
"phone", | |||
"printer", | |||
"question-mark-circle", | |||
"sparkles", | |||
"shield-check", | |||
"shield-exclamation", | |||
"wifi", | |||
"video-camera", | |||
"variable" | |||
] | |||
} | } | ||
}, | }, | ||
| Line 38: | Line 93: | ||
"content", | "content", | ||
"variant", | "variant", | ||
"title" | "title", | ||
"withBorder", | |||
"href", | |||
"orientation", | |||
"icon" | |||
] | ] | ||
} | } | ||
Revision as of 14:39, 12 May 2026
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| content | content Content Body body | The text to display inside the card. | Unbalanced wikitext | required |
| variant | variant Variant type Type | The style variant of the card (e.g., warning, success, info, danger).
| String | optional |
| title | title Title | The title for the card | String | optional |
| withBorder | withBorder | no description
| Boolean | optional |
| href | href link Href Link linkTo | no description | URL | optional |
| orientation | orientation Orientation layout Layout | no description
| String | optional |
| icon | icon Icon | no description
| String | optional |