跳转到内容

模板:InfoCard/doc

来自天灾之下:危险连接资料站

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.

模板参数

参数描述类型状态
Headingheading

The card's title.

内容推荐
Contentcontent 2

The card's content.

内容必需
Footerfooter

Optional footer area.

内容可选
Class(es)class

Additional CSS class(es) for the whole box.

单行文本可选
Stylestyle divstyle

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

示例值
background-color: var(--background-color-base, #fff);
字符串可选
Subheadingsubheading

The card's subtitle

内容推荐
Title styleheadingstyle

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

字符串可选
Subtitle stylesubheadingstyle

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

字符串可选
Content stylecontentstyle

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

字符串可选
Foote stylefooterstyle

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

字符串可选