Template:Card/doc
Template page
More actions
Card component of the main page.
TemplateData
Card component of the main page
Parameter | Description | Type | Status | |
---|---|---|---|---|
HTML class | class | HTML class(es) added to the container | String | optional |
Background image | image | Background image of the card
| File | optional |
Background image position | imagePosition | Position of the background image in the card
| String | optional |
Background image width | imageWidth | Width of the background image
| Number | optional |
Label | label | Label of the card
| String | optional |
Title | title | Title text of the card
| String | optional |
Caption | caption | Caption text of the card
| String | optional |
Content | content | HTML or wikitext used as content of the card | Content | optional |
Link | link | Page name of the card that is linked to
| Page name | optional |
After image content | afterImage | HTML or wikitext used as content of the card. It is only used on cards with background image | Content | optional |