Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Card: Difference between revisions

Template page
Created page with "<templatestyles src="Template:Card/styles.css" />{{#invoke:Card|main}} <noinclude>{{Documentation}}</noinclude>"
Tag: 2017 source edit
 
No edit summary
Line 1: Line 1:
<templatestyles src="Template:Card/styles.css" />{{#invoke:Card|main}}
<templatestyles src="Template:Card/styles.css" />
 
{{#tag:div|{{#invoke:Card|main}}}}
<noinclude>{{Documentation}}</noinclude>
<noinclude>{{Documentation}}</noinclude>

Revision as of 09:52, 6 July 2025

Documentation[view] [edit] [history] [purge]

Usage

Various "Card" styles for mainpage boxes.

Creates a styled card with optional icon, title, content, and footer

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Card Typetype

Visual style of the card

Suggested values
default primary success warning destructive
Default
default
Stringsuggested
Iconicon

Emoji or Icon to display in the card header

Example
ðŸŽŪ
Stringoptional
Titletitle

Main title of the card

Stringrequired
Linklink

Page to link the title to

Page nameoptional
Contentcontent

Main content of the card (supports wikitext)

Contentrequired
Footerfooter

Optional footer content

Stringoptional
[view] [edit] [history] [purge]The above documentation is transcluded from Template:Card/doc.
Contents