Template documentationedit source
This template is a meta template for building menu templates.
Menus are useful for linking to related pages and easing navigation through them. Menus that use this template adapt well to mobile and desktop devices, big and small screens, dark and light mode, print and read mode.
To create a new menu, first read the documentation below and then use the following form:
Examples
Basic
{{Menu | group1 = First group | list1 = * [[First page]] * [[Second page]] * [[Third page]] | group2 = Second group | list2 = * [[Fourth page]] * [[Fifth page]] * [[Sixth page]] | group3 = Third group | list3 = * [[Seventh page]] * [[Eighth page]] * [[Ninth page]] }}
Vertical
Vertical menus usually float near the top right of pages.
{{Menu | vertical = yes | center = yes | title = Title of the collection | group1 = First group | list1 = * [[First page]] * [[Second page]] * [[Third page]] | group2 = Second group | list2 = * [[Fourth page]] * [[Fifth page]] * [[Sixth page]] | group3 = Third group | list3 = * [[Seventh page]] * [[Eighth page]] * [[Ninth page]] }}
Advanced
{{Menu | name = Menu name | logo = Sunhusky.png | logo-link = Category:MOST | logo-size = x90px | image = Create-Joshua-Pearce.png | image-link = Create, Share, and Save Money Using Open-Source Projects | image-size = x90px | group1 = First group | list1 = * [[First page]] * [[Second page]] * [[Third page]] | group2 = Second group | list2 = * [[Fourth page]] * [[Fifth page]] * [[Sixth page]] | group3 = Third group | list3 = * [[Seventh page]] * [[Eighth page]] * [[Ninth page]] }}
See also
- Template:Subpages menu - Generic menu for displaying the subpages of a page
- MediaWiki:TemplateMenu.js - JavaScript code run when this template is found
- Category:Menu templates - Templates that use this meta template
- Category:Meta templates - Other meta templates
Template data
Use this meta template to build navigation menus.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Vertical | vertical | Give the menu a vertical format
| Boolean | optional |
Center | center | Center the content of the menu
| Boolean | optional |
Collapse | collapse | Collapse the menu by default
| Boolean | optional |
Progress bar | progress-bar | Enable the progress bar
| Boolean | optional |
Progress buttons | progress-buttons | Enable the Start / Previous / Next buttons
| Boolean | optional |
Download button | download-button | Enable the "Download all as PDF" button
| Boolean | optional |
Name | name | Name of the menu
| String | optional |
Title | title | Title of the menu, usually linked to the main page of the collection
| String | optional |
Subtitle | subtitle | Subtitle of the menu | String | optional |
Text | text | Free-form text after the subtitle but before the links | String | optional |
Logo | logo | Logo above the title
| File | optional |
Logo size | logo-size | Size of the logo
| String | optional |
Logo link | logo-link | Link of the logo
| Page | optional |
Image | image | Image below the title and subtitle
| File | optional |
Image size | image-size | Size of the image
| String | optional |
Image link | image-link | Link of the image
| Page | optional |
Certificate | certificate | Name of the certificate template that generates the certificate when the user reaches the last page of the menu
| Template | optional |