Template:Card
Appearance
This documentation is transcluded from Template:Card/doc.
This template renders a generic card component. It is commonly used by other templates and modules.
Usage
Basic
{{Card
|title = Monkopod
|description = Loves rolling down grassy hills and eating soft grass in the summer.
}}
Monkopod
Loves rolling down grassy hills and eating soft grass in the summer.
With thumbnail
{{Card
|title = Monkopod
|description = Loves rolling down grassy hills and eating soft grass in the summer.
|thumbnail = Creo monkopod icon.png
}}
Monkopod
Loves rolling down grassy hills and eating soft grass in the summer.
With internal link
{{Card
|title = Monkopod
|description = Loves rolling down grassy hills and eating soft grass in the summer.
|page = Monkopod
}}
Monkopod
Loves rolling down grassy hills and eating soft grass in the summer.
With external link
{{Card
|title = Monkopod
|description = Loves rolling down grassy hills and eating soft grass in the summer.
|url = https://example.com
}}
Monkopod
Loves rolling down grassy hills and eating soft grass in the summer.
TemplateData
Renders a generic card component
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | Card title | String | suggested |
| Description | description | Card description | String | suggested |
| Thumbnail | thumbnail | Page name without namespace for the file
| File | suggested |
| Icon | icon | Page name without namespace for the icon. Rendered in a smaller size compared to thumbnail.
| File | optional |
| Page | page | Wiki page to link to
| Page name | suggested |
| URL | url | External link to link to
| URL | suggested |