Template:GLAM/Main navigation/en
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.Parameter | Description | Type | Status | |
---|---|---|---|---|
Menu item | 1 menuitem | The main menu item the page belongs to
| Unknown | optional |
Image | 2 image | Add the image filename including the namespace File: | Unknown | optional |
Banner | 3 banner | Banner page | Unknown | optional |
Class | class | 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.
| Unknown | optional |
Table of contents | TOC | Choose if you wish to display TOC, by default it is hidden
| Unknown | optional |
Title of the highlighted activity | title | Add the name of the activity that this banner highlights | Unknown | optional |
Subtitle | subtitle | no description | Unknown | optional |
Page of the activity | eventpage | Add url or wikilink | Unknown | optional |
Start date | startdate | Start date of an activity. Add a date in ISO format YYYY-MM-DD.
| Unknown | optional |
Start time | starttime | Start time of the activity | Unknown | optional |
End date | enddate | End date of an activity | Unknown | optional |
End time | endtime | End time of the activity | Unknown | optional |
Timezone | timezone | Add the timezone code | Unknown | optional |
Location | location | Add the location of the activity as a string | String | optional |
Text position | textposition | Choose a layout option for the text
| Unknown | optional |
textwidth | textwidth | no description | Unknown | optional |
Text color | textcolor | Add color that goes best with your image
| Unknown | optional |
Background color | background | no description
| Unknown | optional |
Image opacity | opacity | Change the opacity of the text is illegible | Unknown | optional |