Keine Kategorien vergeben
PageBanner
-
- vor 4 Jahren zuletzt von MLR bearbeitet
-
-
- Keine Statusinformation
Version vom 18. September 2020, 12:55 Uhr von Mlink-rodrigue (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „ <includeonly><templatestyles src="Banner/styles.css" /><div class="bannerbox" style="align-items:{{{boxalignitems|start}}}; background:{{{boxbgcolor|#efefe…“)
This template creates an intro banner on a page. The banner should contain an image (optional), a title and 2-3 lines of text.
The template files (Template:Banner and Template:Banner/styles.css can be downloaded as part of the template package.
The following parameters can be set in visual editing mode:
Parameter | Beschreibung | Typ | Status | |
---|---|---|---|---|
Image name | banner-image | Image name, without the File: prefix
| Datei | optional |
Image width | image-width | Width in pixels. Default setting is 200
| Nummer | optional |
Heading | banner-title | Text heading
| Zeichenfolge | vorgeschlagen |
Text | banner-text | 1-3 lines of text
| Inhalt | optional |
Background color | boxbgcolor | Default is grey (#efefef). Replace with any hex value, (e.g. #ffffe6)
| Zeichenfolge | optional |
Padding of the container box | boxpadding | Sets the padding for the box in pixels. Default is 20.
| Nummer | optional |
Content padding | contentpadding | Text padding independent from box padding. Default is 0.
| Nummer | optional |
Vertical alignment of the box content | boxalignitems | keine Beschreibung
| Zeichenfolge | optional |
Title margin | titlemargin | Allows to customize the margin of the title (e.g,. 0px 0px 0px 0px)
| Unbekannt | optional |