Difference between revisions of "Template:Bannerbox"

(Tag: 2017 source edit)
m (Mlink-rodrigue moved page Template:PageBanner to Template:Bannerbox without leaving a redirect: Lokalisation)
 

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

Parameter Description Type Status
Banner image (optional) banner-image

Image name, without the File: prefix

Default
empty
Example
myimage.png
Auto value
empty
Unknown suggested
Image width image-width

Width in pixels. Default setting is 200

Default
200
Example
empty
Auto value
empty
Number suggested
Image alignment imagealign

no description

Default
left
Example
left, right
Auto value
empty
Unknown suggested
Heading banner-title

Box heading

Default
empty
Example
empty
Auto value
empty
String suggested
Heading size titlesize

no description

Default
1.6em
Example
2em, 15px
Auto value
empty
Unknown suggested
Heading color titlecolor

Color of the heading.

Default
#000000
Example
#ffffff
Auto value
empty
Unknown suggested
Text banner-text

1-3 lines of text

Default
empty
Example
empty
Auto value
empty
Content suggested
Text size textsize

no description

Default
1.3em
Example
12px, 1em
Auto value
empty
Unknown suggested
Text color textcolor

no description

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

Padding around text. Default is 10px.

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

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

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

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

Default
#efefef
Example
empty
Auto value
empty
String suggested

Attachments

Discussions