Template:Card: Difference between revisions
No edit summary |
No edit summary |
||
| Line 100: | Line 100: | ||
</noinclude> | </noinclude> | ||
{{#if: {{{href|}}} | {{#if: {{{href|}}} | ||
| [[{{{href}}}|{{#tag:react| |component=Card|orientation={{{orientation|vertical}}}|href={{{href|}}}|icon={{{icon|}}}|variant={{{variant|}}}|title={{{title}}}|content={{{content|}}}}}]] | | [[{{{href}}} | | ||
| {{#tag:react| |component=Card|orientation={{{orientation|vertical}}}|href={{{href|}}}|icon={{{icon|}}}|variant={{{variant|}}}|title={{{title}}}|content={{{content|}}}}} | {{#tag:react | | | ||
component=Card | |||
|orientation={{{orientation|vertical}}} | |||
|href={{{href|}}} | |||
|icon={{{icon|}}} | |||
|variant={{{variant|}}} | |||
|title={{{title}}} | |||
|content={{{content|}}} | |||
}} | |||
]] | |||
| {{#tag:react | | | |||
component=Card | |||
|orientation={{{orientation|vertical}}} | |||
|href={{{href|}}} | |||
|icon={{{icon|}}} | |||
|variant={{{variant|}}} | |||
|title={{{title}}} | |||
|content={{{content|}}} | |||
}} | |||
}} | }} | ||
Revision as of 01:34, 15 May 2026
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| content | content Content Body body | The text to display inside the card. | Unbalanced wikitext | optional |
| variant | variant Variant type Type | The style variant of the card (e.g., warning, success, info, danger).
| String | optional |
| title | title Title | The title for the card | String | required |
| href | href link Href Link linkTo | no description | Unknown | optional |
| orientation | orientation Orientation layout Layout | no description
| String | optional |
| icon | icon Icon | no description
| String | optional |