Template:Nav: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 8: Line 8:
     margin-left:0px;
     margin-left:0px;
     width:50em;">
     width:50em;">
       <!--{{{header|<div class="header heading" style="background-color:{{{theme-color|}}};">{{{title|[[Overlay]]}}}</div> }}}
       <div class="header heading" style="background-color:{{{theme-color|}}};">{{{title|}}}{{{buttons|}}}</div>
      --><div class="header heading">{{Aerius Module buttons}}</div>
       <div class="wrapper">
       <div class="wrapper">
        {{{1|}}}
        {{clear}}
       </div>
       </div>
   </div>
   </div>
Line 16: Line 17:


<noinclude>
<noinclude>
Example:
{{nav
| title=[[Aerius Module]]
| buttons={{Aerius Module buttons}}
| theme-color=rgb(253, 231, 106)
|
{{nav-group|                                      Group | Model attributes (Aerius Overlay) }}
{{nav-group|postappend=&nbsp;(Aerius Overlay) | Overlay | Calculation year | Nox overlay attribute | Nh3 overlay attribute }}
}}
Required parameters:
Required parameters:
* title: Can be text or a link
* title: Can be text or a link
* heading: Consists of [[Template:nav-heading]] template, replaces title
* 1: Content, consisting of [[Template:nav-group]]
* 1: Content, consisting of [[Template:nav-group]]


Optional parameters:
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: 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.
* theme-color: The color appropriate for the theme.
</noinclude>
</noinclude>

Revision as of 15:09, 5 August 2020


This template is a stub.


Example:



Required parameters:

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.