Content content content
Template:Card/doc
Template page
About this template[edit source]
- Description
Creates a card like navigational element.
Parameter | Description | Type | Status | |
---|---|---|---|---|
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 |
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 |
Footer | footer | The card footer. | Unbalanced wikitext | suggested |
Examples[edit source]
{{Card |header=Header |title=Title |tagline=Tagline |content=Content content content |image=Test-image-preview.jpg |footer=Footer }} {{Card |title=Title |tagline=Tagline |content=Content content content |image=Test-image-preview.jpg }} {{Card |header=Header |title=Link to main page |tagline=Home |content=Content content content |image=Test-image-preview.jpg |target=Main Page }} {{Card |header=Header |title=Title |tagline=Tagline |content=Content content content |image=Test-image-preview.jpg }}
Header
Tagline
Title
Tagline
Title
Content content content
Header
Tagline
Title
Content content content