Template:Nav: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
<hr style="margin: 1em 0em; clear: both;" /> | <hr style="margin: 1em 0em; clear: both;" /> | ||
<div class="nav items wide {{ #if:{{{theme|}}} | | {{#if:{{{{{theme|}}}|name}} | theme-{{{{{theme|}}}|name}} | }} }}"> | <div class="nav items wide {{ #if:{{{theme|}}} | | {{#if:{{{{{theme|}}}|name}} | theme-{{{{{theme|}}}|name}} | }} }}"> | ||
<div class="box" style="border:1px solid #AAA; | <div class="box" style="border:1px solid #AAA; | ||
border-spacing:0; | border-spacing:0; |
Revision as of 06:59, 7 August 2020
This template is a stub.
Examples:
Required parameters:
- title: Can be text or a link
- 1: Content, consisting of Template:nav-group
Optional parameters:
- buttons: Consists of a buttons template. Is displayed next to title
- theme: What module, functionality, or other theme this nav belongs to, injected as a class. E.g. Aerius gets class "theme-aerius".
- theme-color: The color appropriate for the theme, if no theme is directly provided.