Jump to content

Template:Card: Difference between revisions

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

Revision as of 20:54, 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 carad (e.g., warning, success, info, danger).

Stringoptional