Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Please sign up or log in to edit the wiki.
Template documentation[view][edit][history][purge]
This documentation is transcluded from Template:Card/doc. Changes can be proposed in the talk page.

Creates a card on the page.

TemplateData

Card component of the main page

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
HTML classclass

HTML class(es) added to the container

Stringoptional
Background imageimage

Background image of the card

Example
John Howe - Gollum.jpg
Fileoptional
Background image positionimagePosition

Position of the background image in the card

Suggested values
top bottom
Default
center
Example
top
Stringoptional
Background image widthimageWidth

Width of the background image

Default
400
Example
300
Numberoptional
Labellabel

Label of the card

Example
Article
Stringoptional
Titletitle

Title text of the card

Example
Túrin kills Beleg
Stringoptional
Captioncaption

Caption text of the card

Example
Túrin finally kills Beleg in a prolonged heroic battle.
Stringoptional
Contentcontent

HTML or wikitext used as content of the card

Contentoptional
Linklink

Page name of the card that is linked to

Example
Gollum
Page nameoptional
After image contentafterImage

HTML or wikitext used as content of the card. It is only used on cards with background image

Contentoptional
On this page