Edge Rewrite
// HTMLRewriter · presentation

This page was redesigned at the edge.

Cloudflare fetched the original article and streamed it through HTMLRewriter to apply an entirely new visual system without rebuilding the source page.

Jump to content

Template:InfoCard/doc

From Wikipedia, the free encyclopedia

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}}}

{{{content}}}

{{{heading}}}

{{{content}}}

This template creates a styled information card.

Template parameters

ParameterDescriptionTypeStatus
Headingheading 1 title

The card's heading.

Contentsuggested
Contentcontent 2

The card's content.

Contentrequired
Footerfooter

Optional footer area.

Contentoptional
Classclass

Additional CSS class(es) for the entire info card.

Lineoptional
Stylestyle divstyle

Add CSS style of entire info card. (Style of <div> wrapper of entire card that contains the main parent CSS.

Example
background-color: var(--background-color-base, #fff);
Stringoptional
Subheadingsubheading subtitle

The card's subtitle

Contentsuggested
Heading styleheadingstyle titlestyle

CSS style for the heading only. Do not put style=" "

Stringoptional
Subheading stylesubheadingstyle subtitlestyle

CSS style for the subheading only. Automatically nested in style="".

Stringoptional
Content stylecontentstyle

CSS style for the content only. Automatically nested in style="".

Stringoptional
Footer stylefooterstyle

CSS style for the footer only. Automatically nested in style="".

Stringoptional