Template:Card: Difference between revisions
No edit summary |
No edit summary |
||
| Line 5: | Line 5: | ||
"content": { | "content": { | ||
"description": "The text to display inside the card.", | "description": "The text to display inside the card.", | ||
"type": " | "type": "unbalanced-wikitext", | ||
"required": true | "required": true, | ||
"aliases": [ | |||
"Content", | |||
"Body", | |||
"body" | |||
] | |||
}, | }, | ||
"variant": { | "variant": { | ||
"description": "The style variant of the card (e.g., warning, success, info, danger).", | "description": "The style variant of the card (e.g., warning, success, info, danger).", | ||
"type": "string", | |||
"aliases": [ | |||
"Variant", | |||
"type", | |||
"Type" | |||
], | |||
"suggestedvalues": [ | |||
"success", | |||
"danger", | |||
"info" | |||
] | |||
}, | |||
"title": { | |||
"aliases": [ | |||
"Title" | |||
], | |||
"description": "The title for the card", | |||
"type": "string" | "type": "string" | ||
} | } | ||
| Line 15: | Line 37: | ||
"paramOrder": [ | "paramOrder": [ | ||
"content", | "content", | ||
"variant" | "variant", | ||
"title" | |||
] | ] | ||
} | } | ||
Revision as of 14:55, 11 May 2026
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| content | content Content Body body | The text to display inside the card. | Unbalanced wikitext | required |
| 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 | optional |