Zuletzt bearbeitet vor 5 Jahren
von Herta, OE4VCC

Banner

Version vom 7. März 2021, 17:42 Uhr von Herta, OE4VCC (Diskussion | Beiträge | Sperren) (1 Version importiert)
(zeigen/verstecken) (Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

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

Add new banner

Vorlagenparameter[Vorlagendaten bearbeiten]

ParameterBeschreibungTypStatus
Banner image (optional)banner-image

Image name, without the File: prefix

Beispiel
myimage.png
Unbekanntvorgeschlagen
Image width (if image is used)image-width

Width in pixels. Default setting is 200

Standard
200
Zahlenwertvorgeschlagen
Image alignmentimagealign

keine Beschreibung

Standard
left
Beispiel
left, right
Unbekanntvorgeschlagen
Heading (optional)banner-title

Box heading

Mehrzeiliger Textvorgeschlagen
Heading sizetitlesize

keine Beschreibung

Standard
1.6em
Beispiel
2em, 15px
Unbekanntvorgeschlagen
Textbanner-text

1-3 lines of text

Wikitextvorgeschlagen
Text sizetextsize

keine Beschreibung

Standard
1.3em
Beispiel
12px, 1em
Unbekanntvorgeschlagen
Background color (optional)boxbgcolor

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

Standard
#efefef
Mehrzeiliger Textvorgeschlagen
Heading colorhcolor

Color of the heading.

Standard
#000000
Beispiel
#ffffff
Unbekanntvorgeschlagen
Text colortextcolor

keine Beschreibung

Standard
#000000
Beispiel
#000000
Unbekanntveraltet
Padding of the container box (optional)boxpadding

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

Standard
0
Beispiel
8
Autowert
Zahlenwertvorgeschlagen
Border (optional)boxborder

adds a border around the box

Beispiel
1px solid #efefef
Unbekanntvorgeschlagen
Content padding (optional)contentpadding

Text padding independent from box padding. Default is 0.

Standard
0
Beispiel
0 0 0 10
Zahlenwertvorgeschlagen
Vertical alignment of the box contentboxalignitems

Box can be top-aligned with value "start" or center-aligned (value "center")

Standard
start
Beispiel
start, center
Mehrzeiliger Textvorgeschlagen
Margin around titletitlemargin

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

Beispiel
0px 0px 0px 0px
Unbekanntvorgeschlagen