No categories assigned

Banner

Revision as of 19:17, 25 June 2020 by Mlink-rodrigue (talk | contribs) (1 revision imported)


Banner template with image, title and text

Template parameters

ParameterDescriptionTypeStatus
Image namebanner-image

Image name, without the File: prefix

Default
empty
Example
empty
Auto value
empty
Fileoptional
Image widthimage-width

Width in pixels. Default setting is 200

Default
empty
Example
empty
Auto value
empty
Numberoptional
Headingbanner-title

Text heading

Default
empty
Example
empty
Auto value
empty
Stringsuggested
Textbanner-text

1-3 lines of text

Default
empty
Example
empty
Auto value
empty
Contentoptional
Background colorboxbgcolor

Default is grey (#efefef). Replace with any hex value, (e.g. #ffffe6)

Default
empty
Example
empty
Auto value
empty
Stringoptional
Padding of the container boxboxpadding

Sets the padding for the box in pixels. Default is 20.

Default
empty
Example
empty
Auto value
empty
Numberoptional
Content paddingcontentpadding

Text padding independent from box padding. Default is 0.

Default
empty
Example
empty
Auto value
empty
Numberoptional
Vertical alignment of the box contentboxalignitems

no description

Default
empty
Example
start, center
Auto value
empty
Stringoptional
Title margintitlemargin

Allows to customize the margin of the title (e.g,. 0px 0px 0px 0px)

Default
empty
Example
empty
Auto value
empty
Unknownoptional

Attachments

Discussions