Template:Card
From Research Computing Website
Code
{{Card |header= |title= |tagline= |content= |center-content= |image= |image-class= |target= }}
Example
{{Card |theme=secondary |title=Title |tagline=Tagline |content=Content content content |image=Vscdev.png }} {{Card |theme=light |title=Title |content=Content content content |image=Vscdev.png |footer=Footer }} {{Card |theme=dark |title=Title |content=Content content content |image=Vscdev.png |image-class=w3-50 |footer=Footer }}
Result

Tagline
Title
Content content content

Title
Content content content

Title
Content content content
Creates a card like navigational element.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Theme | theme | Color scheme. Other Bootstrap classes can be added after the color scheme selection.
| String | required |
Header | header | The card header (the uppermost element). | String | suggested |
Image | image | The card image (below the header, if the latter is present, otherwise the uppermost element). | String | suggested |
Additional image classes | image-class | The names of CSS classes to apply to the image | String | optional |
Image link | target | Alternative link target for the image. If omitted, the link will open the file itself. | String | suggested |
Tagline | tagline | The text element preceeding the title. | String | suggested |
Title | title | In card heading. | String | suggested |
Content | content | Card content body. | Unbalanced wikitext | suggested |
Make content centered? | center-content | Center the content inside the card
| Boolean | optional |
Footer | footer | The card footer. | Unbalanced wikitext | suggested |