Template:Card/doc
< Template:Card这是此页面的最新修订,它没有已核准修订。
Use this template to create card-like elements.
Examples
Basic
{{Card
| icon = OOjs UI icon article-ltr.png
| title = Medical skills
| content =
* [[:Category:Medical skills|Browse medical skills]]
* [[:Category:Skills|Browse all skills]]
}}
Medical skills
Grid
To make a grid of cards, use the grid parameter in the first and last cards.
{{Card
| grid = start
| title = Energies
| content =
* [[Solar]]
* [[Wind]]
}}
{{Card
| title = Technologies
| content =
* [[Solar cooker]]
* [[Wind turbines]]
}}
{{Card
| grid = end
| title = Organizations
| content =
* [[Appropedia Foundation]]
* [[Intuitive Foundation]]
}}
Technologies
Organizations
See also
Template data
Use this template to create card-like elements.
| 参数 | 描述 | 类型 | 状态 | |
|---|---|---|---|---|
| Title | title | Title of the card
| 字符串 | 推荐 |
| Content | content | Content of the card
| 内容 | 必需 |
| Icon | icon | Image icon of the card
| 文件 | 推荐 |
| Class | class | Extra CSS class of the card
| 字符串 | 可选 |
| Style | style | Extra CSS for the card
| 字符串 | 可选 |
| ID | id | ID of the card | 字符串 | 可选 |
| Grid | grid | Mark this card as the start or end of a card grid
| 字符串 | 可选 |
| Tooltip | tooltip | 无描述 | 字符串 | 可选 |