Template:Card
From The Museum of Human Achievement
Create a card for use in card walls.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Image | image | Image URL or filename | String | optional |
| Label | label | The card label (highlighted heading that overlaps the image). | String | optional |
| Text | content | The card text | Unbalanced wikitext | optional |
| Target | target | The button target URL. The click on the image would take users to the target as well. | String | optional |
| Button text | buttontext | The button text. | String | optional |
| Class | class | The names of CSS classes to apply to the entire card. | String | optional |
| Tagline | tagline | A highlighted text line at the top of card body | String | optional |
| Deadline | deadline | Date in format YYYY-MM-DD (used for auto-ordering elements) | Date | optional |
- Example
{{Card
|label=Example card
|content=Phasellus luctus sem at rhoncus venenatis. Cras feugiat felis vitae interdum volutpat. Suspendisse faucibus tempor eros, vitae maximus odio pretium congue.
|target=Main Page
|buttontext=Learn More
|image=Baloons.jpg
}}
{{Card
|label=Example card with tagline
|content=Phasellus luctus sem at rhoncus venenatis. Cras feugiat felis vitae interdum volutpat. Suspendisse faucibus tempor eros, vitae maximus odio pretium congue.
|target=Main Page
|buttontext=Learn More
|tagline=I am sorted first
|deadline={{#time:Y-m-d}}
|image=Opening-3.jpg
}}
- Result (inside the wall wrapper)
Phasellus luctus sem at rhoncus venenatis. Cras feugiat felis vitae interdum volutpat. Suspendisse faucibus tempor eros, vitae maximus odio pretium congue.