Jump to content

Template:Card

From Swarthmore Knowledge Base
Revision as of 21:36, 7 May 2026 by Aruethe2 (talk | contribs) (Created page with "<noinclude> <templatedata> { "params": { "content": { "description": "The text to display inside the card.", "type": "string", "required": true }, "variant": { "description": "The style variant of the carad (e.g., warning, success, info, danger).", "type": "string" } }, "paramOrder": [ "content", "variant" ] } </templatedata> </noinclude> {{#tag:react|{{{content}}}|component=Card|variant={{{variant|info}}}|content="{{{content}}}"}}")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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