Template:InfoCard/doc
Appearance
| This is a documentation subpage for Template:InfoCard. It contains usage information, categories and other content that is not part of the original Template page. |
| This template uses TemplateStyles: |
The example below sets heading and content to demo parameters, otherwise they would normally not show. It also uses style=background-color:var(--background-color-base);.
{{{heading}}}
{{{subheading}}}
{{{content}}}
{{{heading}}}
{{{content}}}
This template creates a styled information card.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Heading | heading | The card's title. | Content | suggested |
| Content | content 2 | The card's content. | Content | required |
| Footer | footer | Optional footer area. | Content | optional |
| Class(es) | class | Additional CSS class(es) for the whole box. | Line | optional |
| Style | style divstyle | Add CSS style of entire info card. (Style of <div> wrapper of entire card that contains the main parent CSS.
| String | optional |
| Subheading | subheading | The card's subtitle | Content | suggested |
| Title style | headingstyle | CSS style for the title only. Do not put style=" " | String | optional |
| Subtitle style | subheadingstyle | CSS style for the subtitle only. Do not put style=" ". | String | optional |
| Content style | contentstyle | CSS style for the content only. Do not put style=" " | String | optional |
| Foote style | footerstyle | CSS style for the footer only. Do not put style=" " | String | optional |