模板: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 | 沒有描述 | 字串 | 選填 |