Jump to content

Template:Card

From Swarthmore Knowledge Base
Revision as of 14:41, 12 May 2026 by Aweed1 (talk | contribs)

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
contentcontent Content Body body

The text to display inside the card.

Unbalanced wikitextrequired
variantvariant Variant type Type

The style variant of the card (e.g., warning, success, info, danger).

Suggested values
success danger info
Stringoptional
titletitle Title

The title for the card

Stringoptional
withBorderwithBorder

no description

Default
true
Booleanoptional
hrefhref link Href Link linkTo

no description

URLoptional
orientationorientation Orientation layout Layout

no description

Suggested values
horizontal vertical
Stringoptional
iconicon Icon

no description

Suggested values
academic-cap star command-line pencil gift bank-notes bolt cake calendar computer-desktop device-phone-mobile envelope-open key phone printer question-mark-circle sparkles shield-check shield-exclamation wifi video-camera variable
Stringoptional