「Template:Card/doc」:修訂間差異
Tbpedia>Sophivorus ("text" is no longer an alias for "content") |
小 (导入1个版本:Appropedia Template Card) |
於 2024年3月1日 (五) 23:22 的最新修訂
Use this template to create card-like elements.
Examples
Basic
{{Card | icon = OOjs UI icon article-ltr.svg | 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 | 沒有描述 | 字串 | 選填 |