No categories assigned

Bannerbox

Revision as of 16:59, 8 April 2021 by Mlink-rodrigue (talk | contribs) (Mlink-rodrigue moved page Template:PageBanner to Template:Bannerbox without leaving a redirect: Lokalisation)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template creates an intro banner on a page. The banner should contain an image (optional), a title and 2-3 lines of text.

No description.

Template parameters

ParameterDescriptionTypeStatus
Banner image (optional)banner-image

Image name, without the File: prefix

Default
empty
Example
myimage.png
Auto value
empty
Unknownsuggested
Image widthimage-width

Width in pixels. Default setting is 200

Default
200
Example
empty
Auto value
empty
Numbersuggested
Image alignmentimagealign

no description

Default
left
Example
left, right
Auto value
empty
Unknownsuggested
Headingbanner-title

Box heading

Default
empty
Example
empty
Auto value
empty
Stringsuggested
Heading sizetitlesize

no description

Default
1.6em
Example
2em, 15px
Auto value
empty
Unknownsuggested
Heading colortitlecolor

Color of the heading.

Default
#000000
Example
#ffffff
Auto value
empty
Unknownsuggested
Textbanner-text

1-3 lines of text

Default
empty
Example
empty
Auto value
empty
Contentsuggested
Text sizetextsize

no description

Default
1.3em
Example
12px, 1em
Auto value
empty
Unknownsuggested
Text colortextcolor

no description

Default
#000000
Example
#000000
Auto value
empty
Unknownsuggested
Content padding (optional)contentpadding

Padding around text. Default is 10px.

Default
empty
Example
20px
Auto value
empty
Numbersuggested
Padding of the container box (optional)boxpadding

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

Default
empty
Example
10px
Auto value
Numbersuggested
Background color (optional)boxbgcolor

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

Default
#efefef
Example
empty
Auto value
empty
Stringsuggested

Attachments

Discussions