Jump to content

Template:Card: Difference between revisions

From Swarthmore Knowledge Base
No edit summary
No edit summary
Line 22: Line 22:
{{#tag:react|{{{content}}}|component=Card|variant={{{variant|info}}}|content={{{content}}}}}
{{#tag:react|{{{content}}}|component=Card|variant={{{variant|info}}}|content={{{content}}}}}


{{#tag:react|{{{content}}}123|component=Card|variant={{{variant|info}}}}}
{{#tag:react|{{{content}}}123|component=Card|variant={{{variant|info}}}|content="Hello"}}

Revision as of 20:56, 8 May 2026

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
contentcontent

The text to display inside the card.

Stringrequired
variantvariant

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

Stringoptional