Jump to content

Template:Wiki Loves Living Heritage/Main navigation/pap

From Meta, a Wikimedia project coordination wiki
This page is a translated version of the page Template:Wiki Loves Living Heritage/Main navigation and the translation is 100% complete.

This template provides the header for the GLAM 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 choosing the class between contain, top aligned, bottom aligned. //

Banner – You can optionally include a banner page with text elements. Create the banner using Template:Wiki Loves Living Heritage/Banner //

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 item1 menuitem

The main menu item the page belongs to

Suggested values
About Projects Community Learn Tools Collaborate Newsletter
Unknownoptional
Image2 image

Add the image filename including the namespace File:

Unknownoptional
Banner3 banner

Banner page

Unknownoptional
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 highlighted activitytitle

Add the name of the activity that this banner highlights

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
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