Jump to content

Template:Banner: Difference between revisions

From Swarthmore Knowledge Base
Created page with "<noinclude> <templatedata> { "params": { "variant": { "type": "string", "suggestedvalues": [ "success", "warning", "danger", "info" ] }, "icon": { "type": "string" }, "title": { "type": "string" }, "content": { "type": "unbalanced-wikitext" }, "align": { "suggestedvalues": [ "left", "right", "center" ], "default": "center" } }, "format": "block" } </templatedata> </noinclude> {{#tag:react | |..."
 
No edit summary
Line 34: Line 34:
</templatedata>
</templatedata>
</noinclude>
</noinclude>
{{#tag:react | |  
<div style="width:100%;">{{#tag:react | |  
   component=Card
   component=Card
   |orientation=horizontal
   |orientation=horizontal
   |icon={{{icon|}}}
   |icon={{{icon|}}}
   |align={{{align|}}}
   |align={{{align|center}}}
   |variant={{{variant|}}}
   |variant={{{variant|}}}
   |title={{{title}}}
   |title={{{title}}}
   |content={{{content|}}}
   |content={{{content|}}}
}}
}}</div>

Revision as of 16:13, 19 May 2026

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
variantvariant

no description

Suggested values
success warning danger info
Stringoptional
iconicon

no description

Stringoptional
titletitle

no description

Stringoptional
contentcontent

no description

Unbalanced wikitextoptional
alignalign

no description

Suggested values
left right center
Default
center
Unknownoptional