Template:GLAM/Newsletter navigation

This template provides the header for the GLAM Newsletter pages. The following properties can be changed. //

The image can be changed – The template expects the namespace to be included, so add "File:Filename..." //

Class – You can alter the way the image is positioned. By default, the image is 100% wide and covers the image area. Choose "top" to top-align the image, "bottom" to bottom-align it and "contain" to display all of the image regardless of page scaling. //

TOC – You can display the table of contents, by default it is hidden. //

Top menu item – If this template is placed on a subpage of a main menu item, give the page name of the parent page.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
Menu itemmenuitem

The main menu item the page belongs to

Suggested values
Newsletter About Archives Subscribe Newsroom
Unknownoptional
Image2 image

Add the image filename without the namespace File:

Fileoptional
Classclass

Add a class to position the image to top or bottom instead of middle. You can also change the object-fit property of the image to contain instead of cover.

Suggested values
top bottom contain
Unknownoptional
Table of contentsTOC

Choose if you wish to display TOC, by default it is hidden

Suggested values
Show
Auto value
Unknownoptional
Title of the pagetitle

Title of the page to be displayed on top of the image

Unknownoptional
Subtitlesubtitle

no description

Unknownoptional
Page of the activityeventpage

Add url or wikilink

Unknownoptional
Start datestartdate

Start date of an activity. Add a date in ISO format YYYY-MM-DD.

Example
2024-10-23
Unknownoptional
Start timestarttime

Start time of the activity

Unknownoptional
End dateenddate

End date of an activity

Unknownoptional
End timeendtime

End time of the activity

Unknownoptional
Timezonetimezone

Add the timezone code

Unknownoptional
Locationlocation

Add the location of the activity as a string

Stringoptional
Text positiontextposition

Choose a layout option for the text

Suggested values
start end center space-between
Unknownoptional
textwidthtextwidth

no description

Unknownoptional
Text colortextcolor

Add color that goes best with your image

Suggested values
white black
Default
white
Auto value
white
Unknownoptional
Background colorbackground

no description

Suggested values
black white
Default
black
Auto value
black
Unknownoptional
Image opacityopacity

Change the opacity of the text is illegible

Unknownoptional