Template:Card

From The Museum of Human Achievement

Create a card for use in card walls.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Imageimage

Image URL or filename

Stringoptional
Labellabel

The card label (highlighted heading that overlaps the image).

Stringoptional
Textcontent

The card text

Unbalanced wikitextoptional
Targettarget

The button target URL. The click on the image would take users to the target as well.

Stringoptional
Button textbuttontext

The button text.

Stringoptional
Classclass

The names of CSS classes to apply to the entire card.

Stringoptional
Taglinetagline

A highlighted text line at the top of card body

Stringoptional
Deadlinedeadline

Date in format YYYY-MM-DD (used for auto-ordering elements)

Dateoptional
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)
Example card
Phasellus luctus sem at rhoncus venenatis. Cras feugiat felis vitae interdum volutpat. Suspendisse faucibus tempor eros, vitae maximus odio pretium congue.
Example card with tagline
I am sorted first
Phasellus luctus sem at rhoncus venenatis. Cras feugiat felis vitae interdum volutpat. Suspendisse faucibus tempor eros, vitae maximus odio pretium congue.