Jump to content

Template:Card: Difference between revisions

From Swarthmore Knowledge Base
No edit summary
No edit summary
Tag: Reverted
Line 99: Line 99:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
{{#tag:react | |  
<div style="width:100%;">{{#tag:react | |  
   component=Card
   component=Card
   |orientation={{{orientation|vertical}}}
   |orientation={{{orientation|vertical}}}
Line 107: Line 107:
   |title={{{title}}}
   |title={{{title}}}
   |content={{{content|}}}
   |content={{{content|}}}
}}
}}</div>

Revision as of 16:11, 19 May 2026

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
contentcontent Content Body body

The text to display inside the card.

Unbalanced wikitextoptional
variantvariant Variant type Type

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

Suggested values
success danger info warning brand
Stringoptional
titletitle Title

The title for the card

Stringrequired
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
alignalign

no description

Suggested values
left right center
Stringoptional