More actions
Created page with "{{documentation header}} <!-- documentation here --> == Usage == Various "Card" styles for mainpage boxes. <templatedata> { "params": { "type": { "label": "Card Type", "description": "Visual style of the card", "type": "string", "suggestedvalues": [ "default", "primary", "success", "warning", "destructive" ], "default": "default", "suggested": true }, "icon": { "label": "Icon", "description": "Emoji or Icon to displa..." Tag: 2017 source edit  |
(No difference)
|
Latest revision as of 06:55, 6 July 2025
[purge]
This is the documentation page. It should be transcluded into Template:Card. See Template:Documentation for more information.Usage
Various "Card" styles for mainpage boxes.
Creates a styled card with optional icon, title, content, and footer
Parameter | Description | Type | Status | |
---|---|---|---|---|
Card Type | type | Visual style of the card
| String | suggested |
Icon | icon | Emoji or Icon to display in the card header
| String | optional |
Title | title | Main title of the card | String | required |
Link | link | Page to link the title to | Page name | optional |
Content | content | Main content of the card (supports wikitext) | Content | required |
Footer | footer | Optional footer content | String | optional |