Difference between revisions of "Template:Banner"

m (1 revision imported)
(Tag: 2017 source edit)
 


Banner template with image, title and textfor portal pages

optionalText headingStringSets the padding for the box in pixels. Default is 20.NumberText padding independent from box padding. Default is 0.Numberboxalignitems

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

Default
empty
Example
empty

Template parameters

Parameter Description Type Status
Image name banner-image

Image name, without the File: prefix

Default
empty
Example
empty
Example.png
Auto value
empty
File required
Image width image-width

Width in pixels. Default setting is 200

Default
empty
Example
empty
Auto value
empty
Number optional
Heading banner-title Title title

no description

Default
empty
Example
empty
Auto value
empty
String suggested
Text banner-text

1-3 lines of text

Default
empty
Example
empty
Auto value
empty
Content optional
Background color boxbgcolor Default is grey (#efefef). Replace with any hex value, (e.g. #ffffe6)optional
Section section

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional Padding of the container box boxpadding
Direction direction

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional Content padding contentpadding
Section-id section-id

no description

Default
empty
Example
empty
Auto value
empty
Unknown optional Vertical alignment of the box content
Short quote short quote

no description

Default
empty
Example
start, center
Auto value
empty
String optional Title margin titlemargin
Auto value
empty
Unknown optional

Attachments

Discussions