Jump to content

Template:Card: Difference between revisions

From Swarthmore Knowledge Base
No edit summary
No edit summary
Line 43: Line 43:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
{{#tag:react| |component=Card|variant={{{variant|info}}}|content={{{content}}}}}
{{#tag:react| |component=Card|variant={{{variant|info}}}|title={{{title}}}|content={{{content}}}}}

Revision as of 16:30, 11 May 2026

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