Template:InfoCard
| This template uses TemplateStyles: |
This template creates a styled information card. Meta-template imported from meta:Template:InfoCard and mw:Template:InfoCard.
Usage
[edit]The only required parameter is |content=. The example below sets the other parameters to {{{heading}}}, {{{subheading}}} and {{{footer}}} to showcase them, as they would otherwise not appear.
{{{heading}}}
{{{subheading}}}
{{{heading}}}
This template creates a styled information card.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Heading | heading 1 title | The card's heading. | Content | suggested |
| Content | content 2 | The card's content. | Content | required |
| Footer | footer | Optional footer area. | Content | optional |
| Class | class | Additional CSS class(es) for the entire info card. | 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 subtitle | The card's subtitle | Content | suggested |
| Heading style | headingstyle titlestyle | CSS style for the heading only. Do not put style=" " | String | optional |
| Subheading style | subheadingstyle subtitlestyle | CSS style for the subheading only. Automatically nested in style="". | String | optional |
| Content style | contentstyle | CSS style for the content only. Automatically nested in style="". | String | optional |
| Footer style | footerstyle | CSS style for the footer only. Automatically nested in style="". | String | optional |